← Back to Skills Marketplace
nengnengz

Baoyu Cover Image

by nengnengZ · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
306
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install baoyu-cover-image-2
Description
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 10 color palettes and 7 rendering styles. Supports cinemati...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baoyu-cover-image-2
  3. After installation, invoke the skill by name or use /baoyu-cover-image-2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug baoyu-cover-image-2
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 306 downloads so far.

How do I install Baoyu Cover Image?

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

Is Baoyu Cover Image free?

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

Which platforms does Baoyu Cover Image support?

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

Who created Baoyu Cover Image?

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

💬 Comments