# /baoyu-article-illustrator: Add planned illustrations to a long article

Source: https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-article-illustrator
Skill folder: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator
Pack: Baoyu Skills (https://trendhub.net/skills/jimliu-baoyu-skills)
Works with: Any agent (npx skills), Claude Code, ClawHub / OpenClaw

This skill reads an article, works out its main arguments and decides where pictures would actually help. You confirm the illustration type, density, style and palette, then it writes an outline and a saved prompt per image, generates them in batches and inserts the image links after the right paragraphs in your Markdown.

## When to use it

- A technical post or tutorial is a wall of text and needs diagrams and scenes.
- You want every illustration in an article to share one consistent style.
- You publish regularly and want saved preferences for type, style and output folder.

## How it works

1. **Pre-check preferences**: It loads EXTEND.md, or runs a blocking first-time setup, and stores any reference images you provide.
2. **Analyse the article**: It identifies the content type, two to five core arguments and the positions where a visual adds value, illustrating the idea behind metaphors rather than the literal image.
3. **Confirm settings**: It asks in one batch about preset or type, density, style and palette before going further.
4. **Outline and prompt**: It writes outline.md and a prompt file per illustration with zones, labels drawn from the article's own data, colours, style and aspect ratio.
5. **Generate and insert**: It renders the images through the resolved backend and inserts Markdown image links after the matching paragraphs.

## What it steers the agent away from

- Generic labels; prompts use the article's real figures, terms and quotes.
- Passing ad-hoc inline prompts without saving prompt files first.
- Covering garbled on-image text with overlays instead of regenerating.

## What it can touch

It edits your article file to insert image links, writes outline, prompt and image files to the chosen output folder, and calls an image backend that may cost money.

## Pairs well with

- `/baoyu-cover-image`
- `/baoyu-image-gen`
- `/baoyu-post-to-wechat`

## Questions

### Where are the images saved?

By default in an imgs folder next to the article; EXTEND.md can switch to the same folder, an illustrations folder or an independent directory.

### Can I skip the confirmation step?

Only by saying so explicitly in the request, for example asking it to generate directly; it then states the settings it assumed.
