← Back to Skills Marketplace
nengnengz

Baoyu Article Illustrator

by nengnengZ · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ Security Clean
200
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install baoyu-article-illustrator-2
Description
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks...
README (SKILL.md)

Article Illustrator

Analyze articles, identify illustration positions, generate images with Type × Style consistency.

Two Dimensions

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.

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, full gallery, and Type × Style compatibility.

Workflow

- [ ] 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

Step 1: Pre-check

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

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

CRITICAL: Metaphors → visualize underlying concept, NOT literal image.

Full procedures: references/workflow.md

Step 3: Confirm Settings ⚠️

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

Step 4: Generate Outline

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

Step 5: Generate Images

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-image-gen batch mode (build-batch.ts--batchfile) over spawning subagents. Use subagents only when each image still needs separate prompt iteration or creative exploration.

  1. For each illustration, create a prompt file per references/prompt-construction.md
  2. Save to prompts/NN-{type}-{slug}.md with YAML frontmatter
  3. Prompts MUST use type-specific templates with structured sections (ZONES / LABELS / COLORS / STYLE / ASPECT)
  4. LABELS MUST include article-specific data: actual numbers, terms, metrics, quotes
  5. DO NOT pass ad-hoc inline prompts to --prompt without saving prompt files first
  6. Select generation skill, process references (direct/style/palette)
  7. Apply watermark if EXTEND.md enabled
  8. Generate from saved prompt files; retry once on failure

Full procedures: references/workflow.md

Step 6: Finalize

Insert ![description]({relative-path}/NN-{type}-{slug}.png) 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

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.

Modification

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 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
Usage Guidance
This skill is internally consistent for generating article illustrations, but it will read and write files on your system: it insists on running a first-time setup and will create/modify EXTEND.md in the project (.baoyu-skills/) or your user config (~/.baoyu-skills/ or $XDG_CONFIG_HOME). It will also create prompts/, references/, and image output directories relative to the article. Before using, decide whether you want preferences stored globally or per-project, and review any EXTEND.md and generated prompt files the skill creates. Because it can write files, run it on non-sensitive projects first to confirm behavior; no network credentials or external installs are requested. If you want to avoid persistent changes, run the skill in a disposable project directory or inspect its created files immediately after a run.
Capability Analysis
Type: OpenClaw Skill Name: baoyu-article-illustrator-2 Version: 0.1.1 The baoyu-article-illustrator-2 skill bundle is a comprehensive tool designed to analyze article content and generate structured image prompts for visual aids. The workflow, detailed across SKILL.md and workflow.md, includes legitimate configuration checks for an EXTEND.md file using standard shell commands (test -f) and follows a transparent process of user confirmation and file management. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the instructions are strictly aligned with the stated purpose of article illustration.
Capability Assessment
Purpose & Capability
Name/description match the behavior: the skill analyzes articles, generates prompt files, and writes/organizes illustration outputs and references. No unexpected credentials, binaries, or unrelated dependencies are requested.
Instruction Scope
Instructions require reading the article and user/config files and writing prompts, reference descriptions, and images under project or user config directories (e.g., .baoyu-skills/..., ~/.config/..., {article-dir}/imgs/). This is coherent with its function, but the workflow enforces a blocking first-time-setup and mandatory saving of EXTEND.md before any analysis — note that the agent will perform filesystem reads/writes in project and home config locations when invoked.
Install Mechanism
No install spec or external downloads; instruction-only skill (no code files to execute) — lowest install risk.
Credentials
The skill requests no environment variables, secrets, or external credentials. It does read/write config files and project files (EXTEND.md, prompts/, references/, output image directories), which is proportionate to an illustration workflow.
Persistence & Privilege
The skill will create and modify files in project and user locations (EXTEND.md, prompts, references, images). always:false (no forced global enable). This file-writing behavior is expected for this tool but is persistent on disk and should be reviewed by the user.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baoyu-article-illustrator-2
  3. After installation, invoke the skill by name or use /baoyu-article-illustrator-2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
baoyu-article-illustrator-2 v0.1.1 - Added detailed references and documentation files: prompt-construction.md, style-presets.md, styles.md, usage.md, workflow.md - Documentation now includes expanded workflow, style guides, and usage instructions for generating article illustrations - No changes to existing functionality; update focuses on reference material and improved onboarding
v0.1.0
baoyu-article-illustrator 0.1.0 - Initial release providing article illustration workflow. - Analyzes article structure, identifies optimal spots for images, and suggests illustration types. - Supports Type × Style approach for visual consistency (e.g., infographic–blueprint). - Interactive workflow: pre-checks, confirms settings with user, generates outline and prompts before image creation. - Output includes organized files: outline, prompts, generated images, with markdown-ready links. - Supports flexible output directories and easy post-generation modification (edit, add, delete). - Comprehensive documentation links for advanced configuration and style presets.
Metadata
Slug baoyu-article-illustrator-2
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Baoyu Article Illustrator?

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks... It is an AI Agent Skill for Claude Code / OpenClaw, with 200 downloads so far.

How do I install Baoyu Article Illustrator?

Run "/install baoyu-article-illustrator-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Baoyu Article Illustrator free?

Yes, Baoyu Article Illustrator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Baoyu Article Illustrator support?

Baoyu Article Illustrator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Baoyu Article Illustrator?

It is built and maintained by nengnengZ (@nengnengz); the current version is v0.1.1.

💬 Comments