← 返回 Skills 市场
gxw975

Clawhub Publish 146256

作者 gxw975 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
226
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-publish-146256
功能描述
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-publish-146256
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-publish-146256 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug clawhub-publish-146256
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Clawhub Publish 146256 是什么?

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 226 次。

如何安装 Clawhub Publish 146256?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-publish-146256」即可一键安装,无需额外配置。

Clawhub Publish 146256 是免费的吗?

是的,Clawhub Publish 146256 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawhub Publish 146256 支持哪些平台?

Clawhub Publish 146256 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawhub Publish 146256?

由 gxw975(@gxw975)开发并维护,当前版本 v1.0.0。

💬 留言讨论