← Back to Skills Marketplace
gxw975

Clawhub Publish 146256

by gxw975 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
226
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install clawhub-publish-146256
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](path/NN-{type}-{slug}.png) after paragraphs.

Article Illustration Complete!
Article: [path] | Type: [type] | Density: [level] | Style: [style]
Images: X/N generated

Output Directory

illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── references/           # if provided
├── outline.md
├── prompts/
└── NN-{type}-{slug}.png

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 and appears to do what it says: analyze articles, save structured prompts, and generate images. Before installing or using it, consider: 1) The agent will read preference files in project and user config locations (.baoyu-skills/.../EXTEND.md). If those files contain sensitive tokens or private data, review them first. 2) Prompt files are required to include article-specific data (numbers, quotes, terms); avoid including PII or secrets in prompts you save. 3) Image generation is delegated to other skills or subagents (e.g., baoyu-image-gen); verify any image-generation skill or service you use separately — they may require API keys or send data to external endpoints. 4) The skill saves outputs into project directories (illustrations/{topic-slug}/); check and version-control those outputs as appropriate. If you do not want an agent to read your home config or create files in your project, do not enable/use this skill.
Capability Analysis
Type: OpenClaw Skill Name: clawhub-publish-146256 Version: 1.0.0 The baoyu-article-illustrator skill is a legitimate tool designed to analyze article content and generate corresponding visual illustrations. It follows a transparent workflow including configuration checks for an EXTEND.md file, user confirmation steps, and structured file management for prompts and images. The shell and PowerShell commands used in skill.md are limited to checking for the existence of its own configuration files in standard locations (e.g., ~/.config/baoyu-skills/) and do not exhibit signs of malicious intent or unauthorized data access.
Capability Assessment
Purpose & Capability
Name/description match the instructions: the SKILL.md is an article-illustration workflow that analyzes content, builds outlines, saves prompts, and generates images. Nothing requested (no env vars, no binaries, no installs) is out-of-scope for an illustration/asset generation helper.
Instruction Scope
Instructions include filesystem reads/writes (project and user config paths: .baoyu-skills/.../EXTEND.md, XDG_CONFIG_HOME, $HOME/.baoyu-skills) and require saving prompt files and generated images into project directories. This is consistent with a preferences-and-artifacts workflow but means the agent will access user/project files and will embed article-specific data (numbers, quotes, terms) into prompts; review for sensitive content before generation.
Install Mechanism
No install spec or code files are present; the skill is instruction-only and writes nothing itself to disk beyond guidance to the agent. This is the lowest-risk install posture.
Credentials
The skill requests no environment variables, credentials, or config paths beyond reading its own EXTEND.md preference files. That access is proportionate to a preference-driven workflow.
Persistence & Privilege
always:false and user-invocable default are used. The skill recommends invoking other components (baoyu-image-gen, subagents) but does not request permanent presence or modify other skills' configs. Be aware that autonomous agent invocation combined with other image-generation skills (which may require API keys) could broaden the blast radius—this skill itself does not request such secrets.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawhub-publish-146256
  3. After installation, invoke the skill by name or use /clawhub-publish-146256
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of baoyu-article-illustrator skill. - Analyzes article structure and identifies positions for visual aids. - Generates illustrations using a Type × Style two-dimensional approach. - Supports workflow steps: pre-check, analyze, confirm settings, generate outline, generate images, finalize. - Includes options for presets, manual type/style selection, and user prompts. - Detailed documentation and templates provided for workflows, prompts, and output structure.
Metadata
Slug clawhub-publish-146256
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Clawhub Publish 146256?

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 226 downloads so far.

How do I install Clawhub Publish 146256?

Run "/install clawhub-publish-146256" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawhub Publish 146256 free?

Yes, Clawhub Publish 146256 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Clawhub Publish 146256 support?

Clawhub Publish 146256 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawhub Publish 146256?

It is built and maintained by gxw975 (@gxw975); the current version is v1.0.0.

💬 Comments