All skills
jimliu avatar

/baoyu-cover-image

@b0ac523 official
by Jim Liu 宝玉jimliu/baoyu-skills26k stars
2,896

Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

Use this Skill: https://skilld.dev/gh/jimliu/baoyu-skills/baoyu-cover-image

This session only. Nothing lands on disk.

referencesworkflowconfirm-options.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Step 2: Confirm Options

Purpose

Validate all 6 dimensions + aspect ratio.

Skip Conditions

Condition Skipped Questions Still Asked
--quick flag Type, Palette, Rendering, Text, Mood, Font Aspect Ratio (unless --aspect specified)
All 6 dimensions + --aspect specified All None
quick_mode: true in EXTEND.md Type, Palette, Rendering, Text, Mood, Font Aspect Ratio (unless --aspect specified)
Otherwise None All 7 questions

Important: Aspect ratio is ALWAYS asked unless explicitly specified via --aspect CLI flag. User presets in EXTEND.md are shown as recommended option, not auto-selected.

Quick Mode Output

When skipping 6 dimensions:

Quick Mode: Auto-selected dimensions
• Type: [type] ([reason])
• Palette: [palette] ([reason])
• Rendering: [rendering] ([reason])
• Text: [text] ([reason])
• Mood: [mood] ([reason])
• Font: [font] ([reason])

[Then ask Question 7: Aspect Ratio]

Confirmation Flow

Language: Auto-determined (user's input language > saved preference > source language). No need to ask.

Present ALL options in a single AskUserQuestion call (4 questions max).

Skip any question where the dimension is already specified via CLI flag or --style preset.

Q1: Type (skip if --type)

header: "Type"
question: "Which cover type?"
multiSelect: false
options:
  - label: "[auto-recommended type] (Recommended)"
    description: "[reason based on content signals]"
  - label: "hero"
    description: "Large visual impact, title overlay - product launch, announcements"
  - label: "conceptual"
    description: "Concept visualization - technical, architecture"
  - label: "typography"
    description: "Text-focused layout - opinions, quotes"

Q2: Palette (skip if --palette or --style)

header: "Palette"
question: "Which color palette?"
multiSelect: false
options:
  - label: "[auto-recommended palette] (Recommended)"
    description: "[reason based on content signals]"
  - label: "warm"
    description: "Friendly - orange, golden yellow, terracotta"
  - label: "elegant"
    description: "Sophisticated - soft coral, muted teal, dusty rose"
  - label: "cool"
    description: "Technical - engineering blue, navy, cyan"

Q3: Rendering (skip if --rendering or --style)

Show compatible renderings (✓✓ first from compatibility matrix):

header: "Rendering"
question: "Which rendering style?"
multiSelect: false
options:
  - label: "[best compatible rendering] (Recommended)"
    description: "[reason based on palette + type + content]"
  - label: "flat-vector"
    description: "Clean outlines, flat fills, geometric icons"
  - label: "hand-drawn"
    description: "Sketchy, organic, imperfect strokes"
  - label: "digital"
    description: "Polished, precise, subtle gradients"

Q4: Font (skip if --font)

header: "Font"
question: "Which font style?"
multiSelect: false
options:
  - label: "[auto-recommended font] (Recommended)"
    description: "[reason based on content signals]"
  - label: "clean"
    description: "Modern geometric sans-serif - tech, professional"
  - label: "handwritten"
    description: "Warm hand-lettered - personal, friendly"
  - label: "serif"
    description: "Classic elegant - editorial, luxury"
  - label: "display"
    description: "Bold decorative - announcements, entertainment"

Q5: Other Settings (skip if all remaining dimensions already specified)

Combine remaining settings into one question. Include: Output Dir (if no preference + file path input), Text, Mood, Aspect. Show auto-selected values as recommended option. User can accept all or type adjustments via "Other".

When output dir needs asking (no default_output_dir preference + file path input):

header: "Settings"
question: "Output / Text / Mood / Aspect?"
multiSelect: false
options:
  - label: "imgs/ / [auto-text] / [auto-mood] / [preset-aspect] (Recommended)"
    description: "{article-dir}/imgs/, [text reason], [mood reason], [aspect source]"
  - label: "same-dir / [auto-text] / [auto-mood] / [preset-aspect]"
    description: "{article-dir}/, same directory as article"
  - label: "independent / [auto-text] / [auto-mood] / [preset-aspect]"
    description: "cover-image/{topic-slug}/, separate from article"

When output dir already set (preference exists or pasted content):

header: "Settings"
question: "Text / Mood / Aspect?"
multiSelect: false
options:
  - label: "[auto-text] / [auto-mood] / [preset-aspect] (Recommended)"
    description: "Auto-selected: [text reason], [mood reason], [aspect source]"
  - label: "[auto-text] / bold / [preset-aspect]"
    description: "High contrast, vivid — matches [content signal]"
  - label: "[auto-text] / subtle / [preset-aspect]"
    description: "Low contrast, muted — calm, professional"

Note: "Other" (auto-added) allows typing custom combo. Parse /-separated values matching the question format.

After Response

Proceed to Step 3 with confirmed dimensions.

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk MEDIUM
  • Gen Agent Trust Hub16d

    The skill generates article cover images by processing article content and user preferences. It employs dynamic execution patterns by searching for and running external scripts based on runtime discovery and environment variables. It also lacks specific sanitization for article content, making it potentially vulnerable to indirect instructions embedded in processed data.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    33 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b0ac523. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 4 months ago
version
1.117.5
Other metadata
metadata
{
  "openclaw": {
    "homepage": "https://github.com/JimLiu/baoyu-skills#baoyu-cover-image"
  }
}
  • Design
  • cover-image
  • image-generation
  • article
  • prompt-based

README badge

README badge for jimliu/baoyu-skills/baoyu-cover-image

Generates article cover images with 5-dimensional customization (type, palette, rendering, text, mood) supporting cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Combines 11 color palettes and 7 rendering styles for visual variety. Resolves image backends (Codex, Cursor, baoyu-image-gen) and confirms dimensions before rendering.

Generated from the current SKILL.md.

What image backends does this skill support?
It auto-selects in order: Codex `imagegen`, Codex via CLI, Cursor `GenerateImage`, other runtime-native tools, or installed non-native backends like `baoyu-image-gen`. You can override with `--quick` to skip confirmation or pin a preference in `EXTEND.md`.
Does this skill require confirmation before generating?
Yes, by default. It confirms your chosen dimensions, aspect ratio, palette, rendering style, and backend before generation. Pass `--quick` or set `quick_mode: true` in `EXTEND.md` to skip.
What aspect ratios are supported?
16:9 (default), 2.35:1 (cinematic), 1:1 (square), 4:3, 3:2, and 3:4. Specify with `--aspect`.
Can I include reference images to guide the style?
Yes, use `--ref <files...>` to pass reference images. If they contain people who should appear in the cover, the skill will either pass them directly to the model (if supported) or embed character descriptions in the prompt.
What customization dimensions does this offer?
Five dimensions: type (hero, conceptual, typography, metaphor, scene, minimal), palette (11 options including warm, elegant, cool, dark, vivid, etc.), rendering (7 styles including flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print), text level (none, title-only, title-subtitle, text-rich), and mood (subtle, balanced, bold).

Generated from the current SKILL.md. These answers refresh after source changes.