---
name: baoyu-x-article
description: Research, outline, and write long-form X Articles for Bo Wang. Covers topic research, structured drafting, cover image generation, and publishing via baoyu-post-to-x. Use when Bo asks to "write an X Article", "write a long post", "write about X for X/Twitter", or wants to publish a long-form piece on X.
---

# X Article Writer

Researches, drafts, and publishes long-form X Articles for Bo Wang (@bowang87).

## Bo's Voice & Style

**Before writing anything, read both:**
- `~/.openclaw/workspace/bo-about-me.md` — who Bo is, how he thinks, what he believes
- `~/.openclaw/workspace/bo-anti-ai-writing-style.md` — what you must never produce

Then write. If a sentence would appear on the Never Use List, rewrite it.

Additional principles for X Articles:
- **Authoritative but accessible** — Bo is a computational biology / AI researcher; write for smart non-specialists (curious scientists, tech people, biotech/pharma)
- **Evidence-first** — back claims with real papers, real numbers, real examples
- **Direct** — no hedging, no filler phrases, no AI vocabulary (see SOUL.md anti-patterns)
- **Opinionated** — Bo has strong views on virtual cells, foundation models, drug discovery; the article should have a clear point of view
- **Human** — sounds like a scientist writing, not a blog post generator

## Workflow

### Step 1 — Research
1. `web_search` the topic (recent papers, key references, latest developments)
2. Fetch 2–3 primary sources with `web_fetch` or `exec curl r.jina.ai/...`
3. Check arXiv for relevant preprints if it's a science topic
4. Identify 3–5 key claims that Bo can make with authority

### Step 2 — Outline
Present a structured outline to Bo before writing:
```
Title: ...
Subtitle: (optional)
Sections:
  1. Hook / opening problem
  2. Core concept explained
  3. The technical substance (2–3 sub-sections)
  4. Real-world implications
  5. What's still unsolved / honest caveats
  6. Closing
```
Get approval or revisions before writing the full draft.

### Step 3 — Write the Article
Write the full article in Markdown. Follow X Article format:

```markdown
---
title: "Article Title Here"
---

[Opening paragraph — no header]

## Section Heading

Body text...

## Section Heading

Body text...
```

**Formatting rules:**
- Opening: no header, start with a compelling statement or question
- Headers: `##` for main sections, `###` for sub-sections
- Bold: use sparingly for genuinely key terms/numbers
- Lists: only when genuinely list-like; prefer prose
- Links: inline `[text](url)` for papers and sources
- Length: 1,000–3,000 words (X Article sweet spot)
- No emojis in body text
- End with a specific, non-generic conclusion

### Step 4 — Section Images

Generate images for key sections using `baoyu-image-gen` skill. Target 4–6 images per article, placed at natural visual breaks.

**Image placement rules:**
- Opening: editorial/scene image that matches the emotional hook
- History/timeline sections: infographic or comparison (Type: `timeline` or `comparison`)
- Technical architecture sections: framework diagram (Type: `framework`)
- Process/workflow sections: flowchart or infographic (Type: `infographic`)
- Closing/forward-looking: scene or abstract

**Generation command:**
```bash
export GOOGLE_API_KEY="AIzaSyBM-NVkvNgTD5Jt_l-xhvFaSGCeaMKzB98"
IMGSKILL="/Users/bowang/.openclaw/workspace/skills/baoyu-image-gen"
mkdir -p ~/.openclaw/workspace/illustrations/<article-slug>

bun "${IMGSKILL}/scripts/main.ts" \
  --prompt "<detailed prompt>" \
  --image ~/.openclaw/workspace/illustrations/<article-slug>/NN-<type>-<slug>.png \
  --provider google \
  --model gemini-3.1-flash-image-preview \
  --ar 16:9
```

**Prompting tips:**
- Always specify: subject, style, color palette, background, labels
- For split/comparison images: describe each panel explicitly
- For infographics: list every data element and label to include
- Avoid: "glowing neon" (too stylized), overcrowded multi-element layouts
- For science articles: clean white or dark background, readable labels, minimal decoration
- Verify images with `image` tool; regenerate if cluttered, misleading, or off-topic

**Insert into article Markdown:**
```markdown
![Alt text describing the image](../illustrations/<slug>/NN-<type>-<slug>.png)
```
Place images *before* the paragraph they illustrate, not after.

**Output directory:** `~/.openclaw/workspace/illustrations/<article-slug>/`

### Step 4b — Cover Image
Generate a cover image using `baoyu-image-gen` skill. Suggest:
- 16:9 aspect ratio
- Scientific/abstract visual matching article theme
- No text in image (X Article adds title separately)

### Step 5 — Save & Post
Save the article to:
```
~/.openclaw/workspace/articles/YYYY-MM-DD-<slug>.md
```

Post using baoyu-post-to-x skill:
```bash
SKILL_DIR="/Users/bowang/.openclaw/workspace/skills/baoyu-post-to-x"
bun "${SKILL_DIR}/scripts/x-article.ts" \
  ~/.openclaw/workspace/articles/YYYY-MM-DD-<slug>.md \
  --cover ./cover.jpg
```

Bo must click "Publish" in the Chrome window that opens.

## Article Topics Bo Can Write With Authority

- Virtual cells / computational biology
- scGPT and single-cell foundation models
- AI for drug discovery
- Perturbation biology and causal AI
- Multi-agent systems in science
- Open source AI in biology
- The future of wet lab science

## Reference Articles Saved

See `references/` for past articles and style examples.
