baoyu-article-illustrator
Skill0 starsChanged 3 months agoMITView on GitHub
Article illustrations: type × style × palette consistency.
We split this skill into the rules it gives an agent
8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
If the user asks for a different layout (e.g., images alongside the article, or a illustrations/ subdirectory), honor that.
- Distinctive: line 95
If the user supplies reference images (paths pasted inline, attachments, or a URL):
- Very specific: line 112
Read source (file path → read_file, or pasted text) and write the analysis to {output-dir}/analysis.md using write_file.
- Very specific: line 118
Use the clarify tool. Since clarify handles one question at a time, ask the most important question first.
- Very specific: line 128
Don't ask more than 2-3 clarify questions in a row.
- Distinctive: line 148
BLOCKING: Every illustration must have a saved prompt file before any image is generated — the prompt file is the reproducibility record.
- Distinctive: line 152
Create a prompt file per references/prompt-construction.md.
- Very specific: line 162
Call image_generate(prompt=..., aspect_ratio=...).
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Article Illustrator
Adapted from baoyu-article-illustrator for Hermes Agent's tool ecosystem.
Analyze articles, identify illustration positions, generate images with Type × Style × Palette consistency.
When to Use
Trigger this skill when the user asks to illustrate an article, add images to an article, generate illustrations for content, or uses phrases like "为文章配图", "illustrate article", or "add images". The user provides an article (file path or pasted content) and optionally specifies type, style, palette, or density.
Three Dimensions
| Dimension | Controls | Examples |
| Type | Information structure | infographic, scene, flowchart, comparison, framework, timeline |
| Style | Rendering approach | notion, warm, minimal, blueprint, watercolor, elegant |
| Palette | Color scheme (optional) | macaron, warm, neon — overrides style's default colors |
Combine freely: type=infographic, style=vector-illustration, palette=macaron.
Or use presets: edu-visual → type + style + palette in one shot. See style-presets.md.
Types
| Type | Best For |
infographic | Data, metrics, technical |
scene | Narratives, emotional |
flowchart | Processes, workflows |
comparison | Side-by-side, options |
framework | Models, architecture |
timeline | History, evolution |
Styles
See references/styles.md for Core Styles, the full gallery, and Type × Style compatibility.
Output Structure
{output-dir}/
├── source-{slug}.{ext} # Only for pasted content
├── outline.md
├── prompts/
│ └── NN-{type}-{slug}.md
└── NN-{type}-{slug}.pngDefault output directory:
| Input | Output Directory | Markdown Insert Path |
| Article file path | {article-dir}/imgs/ | imgs/NN-{type}-{slug}.png |
| Pasted content | illustrations/{topic-slug}/ (cwd) | illustrations/{topic-slug}/NN-{type}-{slug}.png |
If the user asks for a different layout (e.g., images alongside the article, or a illustrations/ subdirectory), honor that.
Slug: 2-4 words, kebab-case. Conflict: append -YYYYMMDD-HHMMSS.
Core Principles
- Visualize concepts, not metaphors — if the article uses a metaphor (e.g., "电锯切西瓜"), illustrate the underlying concept, not the literal image.
- Labels use article data — actual numbers, terms, and quotes from the article, not generic placeholders.
- Prompt files are reproducibility records — every illustration must have a saved prompt file under
prompts/before any image is generated. - Strip secrets — scan source content for API keys, tokens, or credentials before writing anything to disk.
Workflow
- [ ] Step 1: Detect reference images (if provided)
- [ ] Step 2: Analyze content
- [ ] Step 3: Confirm settings (clarify tool, one question at a time)
- [ ] Step 4: Generate outline
- [ ] Step 5: Generate prompts
- [ ] Step 6: Generate images (image_generate)
- [ ] Step 7: FinalizeStep 1: Detect Reference Images
If the user supplies reference images (paths pasted inline, attachments, or a URL):
- For each reference, call
vision_analyzewith the path/URL and a question asking for style, palette, composition, and subject. Record the returned description in{output-dir}/references/NN-ref-{slug}.mdviawrite_file. - Do not try to copy the binary via
write_file/read_file— those are text-only. If you want a local copy for the record, useterminal(cp "$src" "{output-dir}/references/NN-ref-{slug}.{ext}"). The skill itself never needs to read the binary; it works off the vision description. - Since
image_generatedoesn't take image inputs, the vision description is what gets embedded in prompts during Step 5.
Full procedures: references/workflow.md.
Step 2: Analyze
| Analysis | Output |
| Content type | Technical / Tutorial / Methodology / Narrative |
| Purpose | information / visualization / imagination |
| Core arguments | 2-5 main points |
| Positions | Where illustrations add value |
Read source (file path → read_file, or pasted text) and write the analysis to {output-dir}/analysis.md using write_file.
Full procedures: references/workflow.md.
Step 3: Confirm Settings
Use the clarify tool. Since clarify handles one question at a time, ask the most important question first. Skip any question whose answer is already present in the user's request.
| Order | Question | Options |
| Q1 | Preset or Type | [Recommended preset], [alt preset], or manual: infographic, scene, flowchart, comparison, framework, timeline, mixed |
| Q2 | Density | minimal (1-2), balanced (3-5), per-section (Recommended), rich (6+) |
| Q3 | Style (skip if preset chosen in Q1) | [Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, poster |
| Q4 | Palette (optional) | Default (style colors), macaron, warm, neon |
| Q5 | Language (only if article language is ambiguous) | article language / user language |
Don't ask more than 2-3 clarify questions in a row. If the user already specified these in their request, skip entirely.
Full procedures: references/workflow.md.
Step 4: Generate Outline → outline.md
Save {output-dir}/outline.md using write_file with frontmatter (type, density, style, palette, image_count) and one entry per illustration:
## Illustration 1
**Position**: [section/paragraph]
**Purpose**: [why]
**Visual Content**: [what to show]
**Filename**: 01-infographic-concept-name.pngFull template: references/workflow.md.
Step 5: Generate Prompts
BLOCKING: Every illustration must have a saved prompt file before any image is generated — the prompt file is the reproducibility record.
For each illustration:
- Create a prompt file per references/prompt-construction.md.
- Save to
{output-dir}/prompts/NN-{type}-{slug}.mdusingwrite_filewith 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.
- Process references (
direct/style/palette) per prompt frontmatter — fordirectusage, embed a textual description of the reference in the prompt (sinceimage_generatedoesn't take reference-image inputs).
Step 6: Generate Images
For each prompt file:
- Call
image_generate(prompt=..., aspect_ratio=...).image_generatereturns a JSON result containing an image URL; it does NOT write to disk and does NOT accept an output path. - Map the prompt's
ASPECTtoimage_generate's enum:16:9→landscape,9:16→portrait,1:1→square. Custom ratios → nearest named aspect. - Download the returned URL to
{output-dir}/NN-{type}-{slug}.pngviaterminal(e.g.curl -sSL -o "{output-dir}/NN-{type}-{slug}.png" "{url}"). - On generation failure, auto-retry once.
Note: the underlying image-generation backend is user-configured (default: FAL FLUX 2 Klein 9B) and is NOT agent-selectable via image_generate. Do not write model names into prompts expecting them to route.
Step 7: Finalize
Insert  after the corresponding paragraph. Alt text: concise description in the article's language.
Report:
Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style] | Palette: [palette or default]
Images: X/N generatedModification
| Action | Steps |
| Edit | Update prompt → Regenerate → Update reference |
| Add | Position → Prompt → Generate → Update outline → Insert |
| Delete | Delete files → Remove reference → Update outline |
References
| File | Content |
| references/workflow.md | Detailed procedures |
| references/usage.md | Invocation examples |
| references/styles.md | Style gallery + Palette gallery |
| references/style-presets.md | Preset shortcuts (type + style + palette) |
| references/prompt-construction.md | Prompt templates |
Pitfalls
- Data integrity is paramount — never summarize, paraphrase, or alter source statistics. "73% increase" stays "73% increase".
- Strip secrets — scan source content for API keys, tokens, or credentials before including in any output file.
- Don't illustrate metaphors literally — visualize the underlying concept.
- Prompt files are mandatory — no image generation without a saved prompt file. The file is what lets you regenerate or switch backends later.
image_generateaspect ratios — the tool supportslandscape,portrait, andsquare. Custom ratios map to the nearest option.image_generatereturns a URL, not a local file — always download viaterminal(curl) before inserting local image paths into the article.- No backend selection from the agent —
image_generateuses whatever model the user configured (default: FAL FLUX 2 Klein 9B). Don't write"use <model> to generate this"into prompts expecting it to route.
Other versions17 projects use a version of this.
Word for word · 2
- andrewalhaj/custom-hermesagent★ 0100% same
- wm2313/my-skills★ 0100% same
Edited · 13
- zephyrwang6/myskill★ 33941% same
- XY121718/baoyu-skills★ 10341% same
- YuppyChen/ai-wechat★ 6533% same
- open-fox/agents★ 5515% same
- ideacco/baoyu-skills-openclaw★ 1434% same
- SpaceZephyr/allSkills★ 1441% same
- tentacle-pro/skills★ 441% same
- dqtx760/skills-manage★ 214% same
- qihangzhang-272/agent-skill-library★ 215% same
- cocyuhao/my-ai-skills-library★ 141% same
3 more not listed
Wrote their own version · 2
- xuanxuan1983/baoyu-xuanyi-skills★ 45same name
- xfstudio/skills★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use baoyu-markdown-to-html, baoyu-image-gen and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zephyrwang6Skillbaoyu-markdown-to-html
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, PlantUML, footnotes, alerts, and infographics. Use when user asks for "markdown to html", "convert md to html", "md转html", or needs styled HTML output from markdown.
Also in 8 projects that use this
xfstudioSkillbaoyu-image-gen
AI image generation with OpenAI and Google APIs. Supports text-to-image, reference images, aspect ratios, and parallel generation (recommended 4 concurrent subagents). Use when user asks to generate, create, or draw images.
Also in 7 projects that use this
zephyrwang6Skillbaoyu-format-markdown
Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beautify article", "add formatting", or improve article layout. Outputs to {filename}-formatted.md.
Also in 6 projects that use this
xfstudioSkillbaoyu-url-to-markdown
Fetch any URL and convert to markdown using Chrome CDP. Supports two modes - auto-capture on page load, or wait for user signal (for pages requiring login). Use when user wants to save a webpage as markdown.
Also in 4 projects that use this
AnthropicSkillxlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Also in 3 projects that use this
AnthropicSkilldocx
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
Also in 3 projects that use this
- +1 more from anthropics
In this repository82 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apple-notesSkill
- apple-remindersSkill
- findmySkill
- imessageSkill
- macos-computer-useSkill
- claude-codeSkill
- codexSkill
- hermes-agentSkill
- kanban-codex-laneSkill
- opencodeSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-comicSkill
- baoyu-infographicSkill
- claude-designSkill
- comfyuiSkill
- ideationSkill
- design-mdSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- p5jsSkill
- pixel-artSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- songwriting-and-ai-musicSkill
- touchdesigner-mcpSkill
- jupyter-live-kernelSkill
- kanban-orchestratorSkill
- kanban-workerSkill
- webhook-subscriptionsSkill
- dogfoodSkill
- himalayaSkill
- minecraft-modpack-serverSkill
- pokemon-playerSkill
- codebase-inspectionSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-pr-workflowSkill
- github-repo-managementSkill
- native-mcpSkill
- gif-searchSkill
- heartmulaSkill
- songseeSkill
- spotifySkill
- youtube-contentSkill
- huggingface-hubSkill
- obsidianSkill
- airtableSkill
- google-workspaceSkill
- linearSkill
- mapsSkill
- nano-pdfSkill
- notionSkill
- ocr-and-documentsSkill
- powerpointSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

