baoyu-article-illustrator
它能做什么
它阅读文章,找出最适合放置图片的位置,并创建一组风格统一的图片。它适合希望为作品配上统一插图的作者和编辑。
适用场景
- ✓你想为文章或博客文章添加插图的时候。
- ✓你想要一组共享同一种风格和配色的图片的时候。
- ✓你想要一个同时设定类型、风格和配色的预设的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/baoyu-article-illustrator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用温暖的风格、马卡龙配色为这篇文章添加插图。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体分析文章,找出插图位置,选择信息图、场景图或流程图等类型,并把选定的风格和配色应用于每一张图片。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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}.png
Default 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)
- [ ] Step 4: Generate outline
- [ ] Step 5: Generate prompts
- [ ] Step 6: Generate images (image_generate)
- [ ] Step 7: Finalize
Step 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 `clarif
常见问题
三个维度分别是什么?
类型控制信息结构,风格控制呈现方式,配色控制颜色。
我可以使用预设吗?
可以。技能提供了预设,可以一步同时设定类型、风格和配色。
我可以使用自己的文章文件吗?
可以。你可以提供文件路径,或直接粘贴文章内容。
详情
热度
- GitHub 星标
- 260k
- 排名
- #455
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。