跳到正文
Skillpedia
图片与图标260k · #455

baoyu-article-illustrator

它能做什么

它阅读文章,找出最适合放置图片的位置,并创建一组风格统一的图片。它适合希望为作品配上统一插图的作者和编辑。

适用场景

  • ✓你想为文章或博客文章添加插图的时候。
  • ✓你想要一组共享同一种风格和配色的图片的时候。
  • ✓你想要一个同时设定类型、风格和配色的预设的时候。

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/baoyu-article-illustrator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/baoyu-article-illustrator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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):

  1. For each reference, call vision_analyze with the path/URL and a question asking for style, palette, composition, and subject. Record the returned description in {output-dir}/references/NN-ref-{slug}.md via write_file.
  2. 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, use terminal (cp "$src" "{output-dir}/references/NN-ref-{slug}.{ext}"). The skill itself never needs to read the binary; it works off the vision description.
  3. Since image_generate doesn'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

常见问题

三个维度分别是什么?

类型控制信息结构,风格控制呈现方式,配色控制颜色。

我可以使用预设吗?

可以。技能提供了预设,可以一步同时设定类型、风格和配色。

我可以使用自己的文章文件吗?

可以。你可以提供文件路径,或直接粘贴文章内容。

详情

作者的原始描述

Article illustrations: type × style × palette consistency.

repo: NousResearch/hermes-agent

热度

GitHub 星标
260k
排名
#455
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能