Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .claude/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .agents/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .cursor/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .gemini/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .github/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "baoyu-article-illustrator" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-article-illustrator into .opencode/skills/baoyu-article-illustrator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-article-illustrator", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
baoyu-article-illustrator
GitHub stars
26k
Used in
3 other repos
Token cost
~4.2k tokens
SKILL.md length
1,869 words
Files
37 (incl. references)
Skills in repo
22
Repo updated
First seen
Licence
MIT
At a glance
Reads an article, picks the spots that need visuals, and generates illustrations using a type, style and palette combination for a consistent look.
Works in 6 steps: Pre-check → Analyze → Confirm Settings ⚠️ → …
Adding illustrations to a long article or blog post
SKILL.md covers User Input Tools, Image Generation Tools, Batch Generation Policy and Confirmation Policy, plus 9 more sections
Calls codex
What it does
The agent analyzes the structure of an article, identifies positions that would benefit from a visual, and generates the images by combining three dimensions: type, style and palette. The reference folder holds style files such as blueprint, chalkboard, editorial and elegant, palette files such as macaron, mono-ink, neon and warm, and notes on prompt construction, style presets and first-time setup.
Image rendering goes through a backend chosen in order: one you name in the current request, then a saved preference set in EXTEND.md, then automatic selection. Automatic selection uses Codex's native imagegen skill when it is listed, and otherwise routes through the codex CLI with baoyu-image-gen when a Codex login is active. A separate reference explains the Codex path.
Questions to you go through the runtime's built-in question tool when one exists, batched into one call if possible, and otherwise through a numbered plain-text list that you answer by number.
When your agent uses it
Adding illustrations to a long article or blog post
Choosing a visual style and palette for a set of article images
Generating images for an article inside a Codex session
Example prompts
“Illustrate this article and put an image at each section that needs one.”
“Add blueprint-style illustrations with a neon palette to my post on message queues.”
“Generate images for my draft about remote onboarding and keep the style consistent.”
Requirements
Access to Codex imagegen, or the codex CLI with an active login for baoyu-image-gen
Workflow steps
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1567581. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
codex
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Article Illustrator loads about 4.2k tokens when it runs, and up to ~34k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 1,869 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~69
When it runs· the whole SKILL.md, loaded when a task matches
~4.2k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~34k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/baoyu-article-illustrator/SKILL.md (or your agent's skills folder). This skill also uses 36 other files; get the full folder from GitHub.
name
baoyu-article-illustrator
description
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".
version
1.117.4
Article Illustrator
Analyze articles, identify illustration positions, generate images with Type × Style × Palette consistency.
User Input Tools
When this skill prompts the user, follow this tool-selection rule (priority order):
Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.
Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.
Image Generation Tools
When this skill needs to render an image, resolve the backend in this order:
Current-request override — if the user names a specific backend in the current message, use it.
Saved preference — if EXTEND.md sets preferred_image_backend to a backend available right now, use it.
Auto-select (when the preference is auto, unset, or the pinned backend isn't available):
Codex (imagegen) — first, inspect your available-skills / tool inventory. If a skill named imagegen is listed, you are running inside Codex and MUST use it: invoke via the Skill tool with skill: "imagegen", passing the saved prompt file's content (plus output path and aspect ratio per Codex imagegen's own args). Codex imagegen is the official raster backend in that runtime and outranks any non-native skill (e.g., baoyu-image-gen) unless the user has explicitly pinned a different preferred_image_backend.
Codex via codex exec (codex-imagegen) — if the current runtime exposes no native imagegen skill but the codex CLI is on PATH with an active codex login, route through baoyu-image-gen --provider codex-cli (preferred), or — if baoyu-image-gen is unavailable — invoke the bundled wrapper directly. Details, parameters, and the runtime-discovery procedure live in references/codex-imagegen.md — load that file only when this branch is selected.
Cursor (GenerateImage) — if the runtime exposes a native GenerateImage tool, you are running inside Cursor and it outranks any non-native skill the same way Codex imagegen does. Two hard caveats: (a) it has no aspect-ratio parameter — state the target aspect ratio / dimensions explicitly in the prompt text passed as description; (b) it does not accept an output directory — it saves to a tool-managed location, so after generation copy/move the file to the skill's expected output path (e.g., outputs/.../NN-xxx.png). Reference images go in reference_image_paths.
Other runtime-native tools — if the runtime exposes a different native image tool (e.g., Hermes image_generate), use it the same way.
Otherwise, if exactly one non-native backend is installed (e.g., baoyu-image-gen), use it.
Otherwise (multiple non-native backends with no runtime-native tool), ask the user once — batch with any other initial questions.
If none are available, tell the user and ask how to proceed.
⛔ Never substitute SVG, HTML, canvas, or other code-based rendering for raster image generation. Codex imagegen's own description says it should be used "when the output should be a bitmap asset rather than repo-native code or vector." If you cannot resolve a raster backend via step 3, fall through to step 4 and ask the user — do not silently emit SVG, write inline <svg> markup, or produce HTML/CSS art as a substitute. This applies even if the article/section seems "diagram-like": the consumer skill calling this rule has already decided that a raster image is what it needs.
⛔ Never repair rendered text by painting over a generated bitmap. Do not use ImageMagick, Pillow, Canvas, SVG, HTML/CSS, OCR scripts, or any other programmatic overlay to cover, rewrite, erase, stroke, or replace labels, captions, or any other text inside an already generated illustration. If text is wrong or unclear, regenerate from a corrected prompt, redraw with less or no on-image text, or ask the user which imperfect candidate to keep.
Setting preferred_image_backend: ask forces the step-3 prompt every run regardless of available backends. Users change the pinned backend via the ## Changing Preferences section below.
Prompt file requirement (hard): write each image's full, final prompt to a standalone file under prompts/ (naming: NN-{type}-[slug].md) BEFORE invoking any backend. The backend receives the prompt file (or its content); the file is the reproducibility record and lets you switch backends without regenerating prompts.
Concrete tool names (imagegen, GenerateImage, image_generate, baoyu-image-gen) above are examples — substitute the local equivalents under the same rule.
Batch Generation Policy
After every prompt file for the run has been saved and verified, generate images in batches by default.
Priority order:
Use the chosen backend's native batch / multi-task interface if it exists. Each task must keep its own prompt file, output path, aspect ratio, and direct reference images.
If no native batch interface exists but the runtime can issue parallel tool calls, dispatch up to generation_batch_size images at a time. Default: 4. An explicit user request in the current message, such as --batch-size 4 or "并行4张一起生成", overrides EXTEND.md.
If neither native batch nor parallel tool calls are available, generate sequentially.
Rules:
Never start the first batch until all prompt files for that batch exist on disk.
Retry failed items once without regenerating successful items.
Do not use subagents merely to parallelize image rendering. Use subagents only for separate prompt iteration or creative exploration.
Confirmation Policy
Default behavior: confirm before generation.
Treat explicit skill invocation, a file path, matched signals/presets, and EXTEND.md defaults as recommendation inputs only. None of them authorizes skipping confirmation.
Do not start Step 4 or later until the user completes Step 3.
Skip confirmation only when the current request explicitly says to do so, for example: "直接生成", "不用确认", "跳过确认", "按默认出图", or equivalent wording.
If confirmation is skipped explicitly, state the assumed type / density / style / palette / language / backend in the next user-facing update before generating.
Reference Images
Users may supply reference images via --ref <files...> or by providing file paths / pasting images in conversation. Refs guide style, palette, composition, or subject for specific illustrations.
Full detection, storage, and processing rules are in references/workflow.md (Step 1.0 saves to references/NN-ref-{slug}.{ext}; Step 5.3 processes per-illustration usage direct | style | palette). When the chosen backend supports batch input, direct-usage entries in each prompt file's references: frontmatter should be propagated into its batch payload so backends can pass them through (e.g. baoyu-image-gen accepts ref per task).
Hard gate: this step is mandatory per the Confirmation Policy — Steps 4+ cannot start until the user confirms here (or explicitly opts out with "直接生成" / equivalent wording in the current request).
ONE AskUserQuestion, max 4 Qs. Q1-Q2 REQUIRED. Q3 required unless preset chosen.
⛔ BLOCKING: Prompt files MUST be saved before ANY image generation. This is a hard requirement regardless of which backend is chosen — the prompt file is the reproducibility record.
Save to prompts/NN-{type}-{slug}.md with YAML frontmatter
Prompts MUST use type-specific templates with structured sections (ZONES / LABELS / COLORS / STYLE / ASPECT)
LABELS MUST include article-specific data: actual numbers, terms, metrics, quotes
DO NOT pass ad-hoc inline prompts to --prompt without saving prompt files first
Select the backend via the ## Image Generation Tools rule at the top: use whatever is available; if multiple, ask the user once. Do this once per session before any generation.
codex-imagegen invocation: when the rule resolves to codex-imagegen, see references/codex-imagegen.md for the invocation contract (preferred baoyu-image-gen --provider codex-cli path, runtime wrapper discovery, parameter notes, stdout schema, batch semantics).
Execution strategy: Generate in batches per the ## Batch Generation Policy: backend native batch first, runtime parallel tool calls second, sequential only as fallback. Default batch size is 4 unless EXTEND.md or the current request overrides it.
Process references (direct/style/palette) per prompt frontmatter
Apply watermark if EXTEND.md enabled
Generate from saved prompt files; retry once on failure
Insert  after paragraphs. Path computed relative to article file based on output directory setting.
EXTEND.md lives at the first matching path listed in Step 1.5. Three ways to change it:
Edit directly — open EXTEND.md and change fields. Full schema: references/config/preferences-schema.md.
Reconfigure interactively — delete EXTEND.md (or ask "reconfigure baoyu-article-illustrator preferences" / "重新配置"). The next run re-triggers first-time setup.
Common one-line edits:
preferred_image_backend: auto — default; runtime-native tool wins, falls back to the only installed backend, asks only if multiple non-native are present.
preferred_image_backend: codex-imagegen — pin to Codex's built-in.
preferred_image_backend: baoyu-image-gen — pin to the baoyu-image-gen skill.
preferred_image_backend: ask — confirm backend every run.
generation_batch_size: 4 — default number of images to render concurrently when the runtime supports parallel generation calls.
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in JimLiu/baoyu-skills, which our catalogue first saw on October 7, 2026.
Article Illustrator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations.
Reads an article, picks the spots that need visuals, and generates illustrations using a type, style and palette combination for a consistent look. The agent analyzes the structure of an article, identifies positions that would benefit from a visual, and generates the images by combining three dimensions: type, style and palette. The reference folder holds style files such as blueprint, chalkboard, editorial and elegant, palette files such as macaron, mono-ink, neon and warm, and notes on prompt construction, style presets and first-time setup.
When should I use Article Illustrator?
Article Illustrator fits situations like: adding illustrations to a long article or blog post; choosing a visual style and palette for a set of article images; generating images for an article inside a Codex session.
How do I install Article Illustrator in Claude Code?
Run `npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a claude-code`. Or copy the skill folder (skills/baoyu-article-illustrator in JimLiu/baoyu-skills) into .claude/skills/baoyu-article-illustrator in your project. Claude Code loads it when a task matches its description.
How do I install Article Illustrator in Codex?
Run `npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a codex`. Or copy the skill folder (skills/baoyu-article-illustrator in JimLiu/baoyu-skills) into .agents/skills/baoyu-article-illustrator in your project. Codex loads it when a task matches its description.
Can I use Article Illustrator in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JimLiu/baoyu-skills --skill baoyu-article-illustrator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/baoyu-article-illustrator, .gemini/skills/baoyu-article-illustrator, .github/skills/baoyu-article-illustrator and .opencode/skills/baoyu-article-illustrator in your project.
What does Article Illustrator need to run?
Going by SKILL.md and its folder, Article Illustrator needs the command-line tools its instructions call (codex). Our summary lists: Access to Codex imagegen, or the codex CLI with an active login for baoyu-image-gen.
Does Article Illustrator access the network?
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Is Article Illustrator safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Article Illustrator use?
Article Illustrator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Article Illustrator use?
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 30k tokens, read only when the agent opens those files.
What are the alternatives to Article Illustrator?
Skills that share tags, products or a category with Article Illustrator: Xhs Visual Director (ziguishian/xhs-visual-director-skill, 1.4k stars), Novel Art (suihe1/short-drama-production, 180 stars), Image Director (Jamailar/Beav, 1.8k stars) and InkOS Story Cover Design (Narcooo/inkos, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Article Illustrator?
JimLiu (a GitHub user) maintains it in JimLiu/baoyu-skills, which has 26,455 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 10, 2026.
Source: JimLiu/baoyu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.