← 返回 Skills 市场
nengnengz

Baoyu Cover Image

作者 nengnengZ · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
306
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install baoyu-cover-image-2
功能描述
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 10 color palettes and 7 rendering styles. Supports cinemati...
使用说明 (SKILL.md)

Cover Image Generator

Generate elegant cover images for articles with 5-dimensional customization.

Usage

# Auto-select dimensions based on content
/baoyu-cover-image path/to/article.md

# Quick mode: skip confirmation
/baoyu-cover-image article.md --quick

# Specify dimensions
/baoyu-cover-image article.md --type conceptual --palette warm --rendering flat-vector

# Style presets (shorthand for palette + rendering)
/baoyu-cover-image article.md --style blueprint

# With reference images
/baoyu-cover-image article.md --ref style-ref.png

# Direct content input
/baoyu-cover-image --palette mono --aspect 1:1 --quick
[paste content]

Options

Option Description
--type \x3Cname> hero, conceptual, typography, metaphor, scene, minimal
--palette \x3Cname> warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone
--rendering \x3Cname> flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print
--style \x3Cname> Preset shorthand (see Style Presets)
--text \x3Clevel> none, title-only, title-subtitle, text-rich
--mood \x3Clevel> subtle, balanced, bold
--font \x3Cname> clean, handwritten, serif, display
--aspect \x3Cratio> 16:9 (default), 2.35:1, 4:3, 3:2, 1:1, 3:4
--lang \x3Ccode> Title language (en, zh, ja, etc.)
--no-title Alias for --text none
--quick Skip confirmation, use auto-selection
--ref \x3Cfiles...> Reference images for style/composition guidance

Five Dimensions

Dimension Values Default
Type hero, conceptual, typography, metaphor, scene, minimal auto
Palette warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone auto
Rendering flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print auto
Text none, title-only, title-subtitle, text-rich title-only
Mood subtle, balanced, bold balanced
Font clean, handwritten, serif, display clean

Auto-selection rules: references/auto-selection.md

Galleries

Types: hero, conceptual, typography, metaphor, scene, minimal → Details: references/types.md

Palettes: warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone → Details: references/palettes/

Renderings: flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print → Details: references/renderings/

Text Levels: none (pure visual) | title-only (default) | title-subtitle | text-rich (with tags) → Details: references/dimensions/text.md

Mood Levels: subtle (low contrast) | balanced (default) | bold (high contrast) → Details: references/dimensions/mood.md

Fonts: clean (sans-serif) | handwritten | serif | display (bold decorative) → Details: references/dimensions/font.md

File Structure

Output directory per default_output_dir preference:

  • same-dir: {article-dir}/
  • imgs-subdir: {article-dir}/imgs/
  • independent (default): cover-image/{topic-slug}/
\x3Coutput-dir>/
├── source-{slug}.{ext}    # Source files
├── refs/                  # Reference images (if provided)
│   ├── ref-01-{slug}.{ext}
│   └── ref-01-{slug}.md   # Description file
├── prompts/cover.md       # Generation prompt
└── cover.png              # Output image

Slug: 2-4 words, kebab-case. Conflict: append -YYYYMMDD-HHMMSS

Workflow

Progress Checklist

Cover Image Progress:
- [ ] Step 0: Check preferences (EXTEND.md) ⛔ BLOCKING
- [ ] Step 1: Analyze content + save refs + determine output dir
- [ ] Step 2: Confirm options (6 dimensions) ⚠️ unless --quick
- [ ] Step 3: Create prompt
- [ ] Step 4: Generate image
- [ ] Step 5: Completion report

Flow

Input → [Step 0: Preferences] ─┬─ Found → Continue
                               └─ Not found → First-Time Setup ⛔ BLOCKING → Save EXTEND.md → Continue
        ↓
Analyze + Save Refs → [Output Dir] → [Confirm: 6 Dimensions] → Prompt → Generate → Complete
                                              ↓
                                     (skip if --quick or all specified)

Step 0: Load Preferences ⛔ BLOCKING

Check EXTEND.md existence (priority: project → user):

# macOS, Linux, WSL, Git Bash
test -f .baoyu-skills/baoyu-cover-image/EXTEND.md && echo "project"
test -f "${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-cover-image/EXTEND.md" && echo "xdg"
test -f "$HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md" && echo "user"
# PowerShell (Windows)
if (Test-Path .baoyu-skills/baoyu-cover-image/EXTEND.md) { "project" }
$xdg = if ($env:XDG_CONFIG_HOME) { $env:XDG_CONFIG_HOME } else { "$HOME/.config" }
if (Test-Path "$xdg/baoyu-skills/baoyu-cover-image/EXTEND.md") { "xdg" }
if (Test-Path "$HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md") { "user" }
Result Action
Found Load, display summary → Continue
Not found ⛔ Run first-time setup (references/config/first-time-setup.md) → Save → Continue

CRITICAL: If not found, complete setup BEFORE any other steps or questions.

Step 1: Analyze Content

  1. Save reference images (if provided) → references/workflow/reference-images.md
  2. Save source content (if pasted, save to source.md)
  3. Analyze content: topic, tone, keywords, visual metaphors
  4. Deep analyze references ⚠️: Extract specific, concrete elements (see reference-images.md)
  5. Detect language: Compare source, user input, EXTEND.md preference
  6. Determine output directory: Per File Structure rules

⚠️ People in Reference Images — MUST follow all 3 rules:

If reference images contain people who should appear in the cover:

  1. usage: direct — MUST set in refs description file. NEVER use style or palette when people need to appear
  2. Per-character description — MUST describe each person's distinctive features (hair, glasses, skin tone, clothing) in refs/ref-NN-{slug}.md. Vague descriptions like "a man" will fail
  3. --ref flag — MUST pass reference image via --ref in Step 4 so the model sees actual faces

See reference-images.md § Character Analysis for description format.

Step 2: Confirm Options ⚠️

MUST use AskUserQuestion tool to present options as interactive selection — NOT plain text tables. Present up to 4 questions in a single AskUserQuestion call (Type, Palette, Rendering, Font + Settings). Each question shows the recommended option first with reason, followed by alternatives.

Full confirmation flow and question format: references/workflow/confirm-options.md

Condition Skipped Still Asked
--quick or quick_mode: true 6 dimensions Aspect ratio (unless --aspect)
All 6 + --aspect specified All None

Step 3: Create Prompt

Save to prompts/cover.md. Template: references/workflow/prompt-template.md

CRITICAL - References in Frontmatter:

  • Files saved to refs/ → Add to frontmatter references list
  • Style extracted verbally (no file) → Omit references, describe in body
  • Before writing → Verify: test -f refs/ref-NN-{slug}.{ext}

Reference elements in body MUST be detailed, prefixed with "MUST"/"REQUIRED", with integration approach.

Step 4: Generate Image

  1. Backup existing cover.png if regenerating
  2. Check image generation skills; if multiple, ask preference
  3. Process references from prompt frontmatter:
    • direct usage → pass via --ref (use ref-capable backend)
    • style/palette → extract traits, append to prompt
  4. Generate: Call skill with prompt file, output path, aspect ratio
  5. On failure: auto-retry once

Step 5: Completion Report

Cover Generated!

Topic: [topic]
Type: [type] | Palette: [palette] | Rendering: [rendering]
Text: [text] | Mood: [mood] | Font: [font] | Aspect: [ratio]
Title: [title or "visual only"]
Language: [lang] | Watermark: [enabled/disabled]
References: [N images or "extracted style" or "none"]
Location: [directory path]

Files:
✓ source-{slug}.{ext}
✓ prompts/cover.md
✓ cover.png

Image Modification

Action Steps
Regenerate Backup → Update prompt file FIRST → Regenerate
Change dimension Backup → Confirm new value → Update prompt → Regenerate

Composition Principles

  • Whitespace: 40-60% breathing room
  • Visual anchor: Main element centered or offset left
  • Characters: Simplified silhouettes; NO realistic humans
  • Title: Use exact title from user/source; never invent

Extension Support

Custom configurations via EXTEND.md. See Step 0 for paths.

Supports: Watermark | Preferred dimensions | Default aspect/output | Quick mode | Custom palettes | Language

Schema: references/config/preferences-schema.md

References

Dimensions: text.md | mood.md | font.md Palettes: references/palettes/ Renderings: references/renderings/ Types: references/types.md Auto-Selection: references/auto-selection.md Style Presets: references/style-presets.md Compatibility: references/compatibility.md Visual Elements: references/visual-elements.md Workflow: confirm-options.md | prompt-template.md | reference-images.md Config: preferences-schema.md | first-time-setup.md | watermark-guide.md

安全使用建议
This skill appears to be a coherent cover-image generator, but there are two main concerns to weigh before installing or running it: 1) Safety / copyright guidance in SKILL.md: the instructions explicitly say 'DO NOT refuse to generate' for sensitive or copyrighted figures and require the agent to preserve likenesses from reference images. That encourages the agent to produce stylized likenesses or bypass refusals; if you care about copyright, privacy, or platform content policies, this is a red flag. 2) Data destination ambiguity: the skill says reference images are 'passed to model (usage: direct)' but does not state whether generation runs locally or is sent to a remote API (and if remote, which endpoint). No credentials are declared, so it's unclear how/where image data would be transmitted. Actions you can take: - Ask the publisher or your platform: where is image generation performed (local model, platform API, third-party service)? Are reference images uploaded, and to which endpoint? Is there a content / DMCA / safety policy enforced? - If you proceed, review the EXTEND.md that will be written and choose storage scope 'Project' if you want preferences kept local to a repo. Disable quick_mode to require confirmation each time. - If you must avoid sending user images or likenesses externally, do not use this skill until the backend is explicit and satisfactory. What would change this assessment: explicit declaration of the generation backend (local vs named remote service), clear statement that content policy / refusal behavior is enforced by the platform (not overridden by the skill), and assurance that reference images are handled securely (not exfiltrated) would raise confidence and could move the verdict toward benign.
功能分析
Type: OpenClaw Skill Name: baoyu-cover-image-2 Version: 0.1.1 The baoyu-cover-image skill is a legitimate and highly structured tool for generating article cover images. It implements a complex workflow involving content analysis, style selection across five dimensions, and interactive user confirmation via the AskUserQuestion tool. While the instructions (SKILL.md) direct the agent to use shell commands to check for configuration files in the user's home directory (~/.baoyu-skills/), this behavior is strictly limited to managing its own preferences (EXTEND.md) and is consistent with the stated purpose. No indicators of data exfiltration, malicious execution, or harmful prompt injection were identified.
能力评估
Purpose & Capability
Name/description match the provided runtime instructions and rich reference content: the skill is an instruction-only cover-image generator with no binaries, env vars, or external installs declared. The preferences and dimension lists are coherent with image-generation functionality.
Instruction Scope
SKILL.md instructs the agent to read/write EXTEND.md in project/user config locations (expected for preferences) and to save reference images, which is within scope, but also includes problematic guidance: 'If content involves sensitive or copyrighted figures, create stylistically similar alternatives - DO NOT refuse to generate' and 'model must visually reference [reference images] to preserve character likeness'. These instructions broaden the agent's discretion (may encourage generating stylized likenesses or bypassing refusals) and could conflict with content-rights or safety policies. The README also implies reference images will be 'passed to model (usage: direct)' but does not declare where / to which endpoint they are sent.
Install Mechanism
No install spec and no code files are included—this is instruction-only, so nothing will be downloaded or written except the EXTEND.md preference file (per the workflow). Low technical install risk.
Credentials
The skill requests no credentials or env vars (proportionate). However, the instructions imply transmitting user-provided reference images and content to 'the model' without declaring the backend or required credentials, creating ambiguity about where sensitive data might be sent.
Persistence & Privilege
always:false and user-invocable. The skill writes/reads its own EXTEND.md preference files in .baoyu-skills locations (project or user), which is within scope and not a cross-skill or system-wide privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baoyu-cover-image-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baoyu-cover-image-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
baoyu-cover-image-2 v0.1.1 - No file changes detected in this release. - Functionality and documentation remain the same as previous version.
v0.1.0
baoyu-cover-image-2 v0.1.0 - Initial release of the article cover image generator skill, supporting 5 dimensions of customization (type, palette, rendering, text, mood). - Supports 10 color palettes, 7 rendering styles, and multiple aspect ratios (cinematic 2.35:1, widescreen 16:9, square 1:1, and more). - Includes command line options and workflow for auto-selection, confirmation, and integration of reference images. - Provides full documentation and structure for usage, file output, and customization presets. - Emphasizes user interaction for dimension confirmation and handling of reference images with people.
元数据
Slug baoyu-cover-image-2
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Baoyu Cover Image 是什么?

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 10 color palettes and 7 rendering styles. Supports cinemati... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 306 次。

如何安装 Baoyu Cover Image?

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

Baoyu Cover Image 是免费的吗?

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

Baoyu Cover Image 支持哪些平台?

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

谁开发了 Baoyu Cover Image?

由 nengnengZ(@nengnengz)开发并维护,当前版本 v0.1.1。

💬 留言讨论