Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use whe...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install baoyu-article-illustrator或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install baoyu-article-illustrator⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/baoyu-article-illustrator/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: baoyu-article-illustrator description: Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图". version: 1.56.1 metadata: openclaw: homepage: https://github.com/JimLiu/baoyu-skills#baoyu-article-illustrator ---
Analyze articles, identify illustration positions, generate images with Type × Style consistency.
| Dimension | Controls | Examples | |-----------|----------|----------| | Type | Information structure | infographic, scene, flowchart, comparison, framework, timeline | | Style | Visual aesthetics | notion, warm, minimal, blueprint, watercolor, elegant |
Combine freely: --type infographic --style blueprint
Or use presets: --preset tech-explainer → type + style in one flag. See Style Presets.
| Type | Best For | |------|----------| | infographic | Data, metrics, technical | | scene | Narratives, emotional | | flowchart | Processes, workflows | | comparison | Side-by-side, options | | framework | Models, architecture | | timeline | History, evolution |
See references/styles.md for Core Styles, full gallery, and Type × Style compatibility.
- [ ] Step 1: Pre-check (EXTEND.md, references, config)
- [ ] Step 2: Analyze content
- [ ] Step 3: Confirm settings (AskUserQuestion)
- [ ] Step 4: Generate outline
- [ ] Step 5: Generate images
- [ ] Step 6: Finalize
1.5 Load Preferences (EXTEND.md) ⛔ BLOCKING
# macOS, Linux, WSL, Git Bash
test -f .baoyu-skills/baoyu-article-illustrator/EXTEND.md && echo "project"
test -f "${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "xdg"
test -f "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "user"
# PowerShell (Windows)
if (Test-Path .baoyu-skills/baoyu-article-illustrator/EXTEND.md) { "project" }
$xdg = if ($env:XDG_CONFIG_HOME) { $env:XDG_CONFIG_HOME } else { "$HOME/.config" }
if (Test-Path "$xdg/baoyu-skills/baoyu-article-illustrator/EXTEND.md") { "xdg" }
if (Test-Path "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md") { "user" }
| Result | Action | |--------|--------| | Found | Read, parse, display summary | | Not found | ⛔ Run first-time-setup |
Full procedures: references/workflow.md
| Analysis | Output | |----------|--------| | Content type | Technical / Tutorial / Methodology / Narrative | | Purpose | information / visualization / imagination | | Core arguments | 2-5 main points | | Positions | Where illustrations add value |
CRITICAL: Metaphors → visualize underlying concept, NOT literal image.
Full procedures: references/workflow.md
ONE AskUserQuestion, max 4 Qs. Q1-Q2 REQUIRED. Q3 required unless preset chosen.
| Q | 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 | [Recommended], minimal-flat, sci-fi, hand-drawn, editorial, scene, poster, Other — skip if preset chosen | | Q4: Language | When article language ≠ EXTEND.md setting |
Full procedures: references/workflow.md
Save outline.md with frontmatter (type, density, style, image_count) and entries:
## Illustration 1
**Position**: [section/paragraph]
**Purpose**: [why]
**Visual Content**: [what]
**Filename**: 01-infographic-concept-name.png
Full template: references/workflow.md
⛔ BLOCKING: Prompt files MUST be saved before ANY image generation.
Execution strategy: When multiple illustrations have saved prompt files and the task is now plain generation, prefer baoyu-imagine batch mode (build-batch.ts → --batchfile) over spawning subagents. Use subagents only when each image still needs separate prompt iteration or creative exploration.
prompts/NN-{type}-{slug}.md with YAML frontmatter--prompt without saving prompt files firstdirect/style/palette)Full procedures: references/workflow.md
Insert !description after paragraphs. Path computed relative to article file based on output directory setting.
Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style]
Images: X/N generated
Output directory is determined by default_output_dir in EXTEND.md (set during first-time setup):
| default_output_dir | Output Path | Markdown Insert Path | |----------------------|-------------|----------------------| | imgs-subdir (default) | {article-dir}/imgs/ | imgs/NN-{type}-{slug}.png | | same-dir | {article-dir}/ | NN-{type}-{slug}.png | | illustrations-subdir | {article-dir}/illustrations/ | illustrations/NN-{type}-{slug}.png | | independent | illustrations/{topic-slug}/ | illustrations/{topic-slug}/NN-{type}-{slug}.png (relative to cwd) |
All auxiliary files (outline, prompts) are saved inside the output directory:
{output-dir}/
├── outline.md
├── prompts/
│ └── NN-{type}-{slug}.md
└── NN-{type}-{slug}.png
When input is pasted content (no file path), always uses illustrations/{topic-slug}/ with source-{slug}.{ext} saved alongside.
Slug: 2-4 words, kebab-case. Conflict: append -YYYYMMDD-HHMMSS.
| Action | Steps | |--------|-------| | Edit | Update prompt → Regenerate → Update reference | | Add | Position → Prompt → Generate → Update outline → Insert | | Delete | Delete files → Remove reference → Update outline |
| File | Content | |------|---------| | references/workflow.md | Detailed procedures | | references/usage.md | Command syntax | | references/styles.md | Style gallery | | references/style-presets.md | Preset shortcuts (type + style) | | references/prompt-construction.md | Prompt templates | | references/config/first-time-setup.md | First-time setup |
安装 Baoyu Article Illustrator 后,可以对 AI 说这些话来触发它
Help me get started with Baoyu Article Illustrator
Explains what Baoyu Article Illustrator does, walks through the setup, and runs a quick demo based on your current project
Use Baoyu Article Illustrator to analyzes article structure, identifies positions requiring visual a...
Invokes Baoyu Article Illustrator with the right parameters and returns the result directly in the conversation
What can I do with Baoyu Article Illustrator in my design & creative workflow?
Lists the top use cases for Baoyu Article Illustrator, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/baoyu-article-illustrator/ 目录(个人级,所有项目可用),或 .claude/skills/baoyu-article-illustrator/(项目级)。重启 AI 客户端后,用 /baoyu-article-illustrator 主动调用,或让 AI 根据上下文自动发现并使用。
Baoyu Article Illustrator 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Baoyu Article Illustrator 可免费安装使用。请查阅仓库了解许可证信息。
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use whe...
Baoyu Article Illustrator 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Baoyu Article Illustrator
Identifies repetitive steps in your workflow and sets up Baoyu Article Illustrator to handle them automatically