Token导航 LogoToken导航TokenDH.com
图像处理需要联网github未标认证来源可访问clear审计通过

baoyu-cover-image宝玉封面图

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

466

周安装

20

GitHub Stars

7

下载量

163
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:baoyu-cover-image(宝玉封面图)
来源仓库:https://github.com/jst-well-dan/skill-box
仓库路径:skills/baoyu-cover-image
安装命令:
npx skills add https://github.com/jst-well-dan/skill-box --skill baoyu-cover-image
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/jst-well-dan/skill-box --skill baoyu-cover-image

简介

baoyu-cover-image 用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。

  • 适合根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。
  • 使用时需要确认输入图片、版权来源、输出格式和模型限制。
  • 涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Cover Image Generator

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

Usage

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

# Quick mode: skip confirmation, use auto-selection
/baoyu-cover-image article.md --quick

# Specify dimensions
/baoyu-cover-image article.md --type conceptual --style blueprint
/baoyu-cover-image article.md --text title-subtitle --mood bold

# Visual only (no title text)
/baoyu-cover-image article.md --no-title

# Direct content input
/baoyu-cover-image
[paste content]

# Direct input with options
/baoyu-cover-image --style notion --aspect 1:1 --quick
[paste content]

Options

OptionDescription
--type <name>Cover type: hero, conceptual, typography, metaphor, scene, minimal
--style <name>Cover style (see Style Gallery)
--text <level>Text density: none, title-only, title-subtitle, text-rich
--mood <level>Emotional intensity: subtle, balanced, bold
--aspect <ratio>16:9 (default), 2.35:1, 4:3, 3:2, 1:1, 3:4
--lang <code>Title language (en, zh, ja, etc.)
--no-titleAlias for --text none
--quickSkip confirmation, use auto-selection for missing dimensions

Four Dimensions

DimensionControlsValuesDefault
TypeVisual composition, information structurehero, conceptual, typography, metaphor, scene, minimalauto
StyleVisual aesthetics, colors, technique20 built-in stylesauto
TextText density, information hierarchynone, title-only, title-subtitle, text-richtitle-only
MoodEmotional intensity, visual weightsubtle, balanced, boldbalanced

Dimensions can be freely combined. Example: --type conceptual --style blueprint --text title-only --mood subtle creates a calm technical concept visualization.

Type Gallery

TypeDescriptionBest For
heroLarge visual impact, title overlayProduct launch, brand promotion, major announcements
conceptualConcept visualization, abstract core ideasTechnical articles, methodology, architecture design
typographyText-focused layout, prominent titleOpinion pieces, quotes, insights
metaphorVisual metaphor, concrete expressing abstractPhilosophy, growth, personal development
sceneAtmospheric scene, narrative feelStories, travel, lifestyle
minimalMinimalist composition, generous whitespaceZen, focus, core concepts

Auto Type Selection

When --type is omitted, select based on content signals:

SignalsType
Product, launch, announcement, release, revealhero
Architecture, framework, system, API, technical, modelconceptual
Quote, opinion, insight, thought, headline, statementtypography
Philosophy, growth, abstract, meaning, reflectionmetaphor
Story, journey, travel, lifestyle, experience, narrativescene
Zen, focus, essential, core, simple, pureminimal

Style Gallery

StyleDescription
elegant (default)Refined, sophisticated
blueprintTechnical schematics
bold-editorialMagazine impact
chalkboardChalk on blackboard
dark-atmosphericCinematic dark mode
editorial-infographicVisual storytelling
fantasy-animationGhibli/Disney inspired
flat-doodlePastel, cute shapes
intuition-machineTechnical, bilingual
minimalUltra-clean, zen
natureOrganic, earthy
notionSaaS dashboard
pixel-artRetro 8-bit
playfulFun, whimsical
retroHalftone, vintage
sketch-notesHand-drawn, warm
vector-illustrationFlat vector
vintageAged, expedition
warmFriendly, human
watercolorSoft hand-painted

Style definitions: references/styles/

Auto Style Selection

When --style is omitted, select based on content signals:

SignalsStyle
Architecture, system designblueprint
Product launch, marketingbold-editorial
Education, tutorialchalkboard
Entertainment, premiumdark-atmospheric
Tech explainer, researcheditorial-infographic
Fantasy, childrenfantasy-animation
Technical docs, bilingualintuition-machine
Personal story, emotionwarm
Zen, focus, essentialminimal
Fun, beginner, casualplayful
Nature, wellness, econature
SaaS, dashboardnotion
Workflow, productivityflat-doodle
Gaming, retro techpixel-art
Knowledge sharingsketch-notes
Creative proposalsvector-illustration
History, explorationvintage
Lifestyle, travelwatercolor
Business, professionalelegant

Text Dimension

ValueTitleSubtitleTagsUse Case
none---Pure visual, no text
title-only✓ (≤8字)--Simple headline (default)
title-subtitle✓ (≤15字)-Title + supporting context
text-rich✓ (2-4)Information-dense

Full guide: references/dimensions/text.md

Auto Text Selection

When --text is omitted, select based on content signals:

SignalsText Level
Visual-only, photography, abstract, artnone
Article, blog, standard covertitle-only
Series, tutorial, technical with contexttitle-subtitle
Announcement, features, multiple points, infographictext-rich

Default: title-only

Mood Dimension

ValueContrastSaturationWeightUse Case
subtleLowMutedLightCorporate, thought leadership
balancedMediumNormalMediumGeneral articles (default)
boldHighVividHeavyAnnouncements, promotions

Full guide: references/dimensions/mood.md

Auto Mood Selection

When --mood is omitted, select based on content signals:

SignalsMood Level
Professional, corporate, thought leadership, academic, luxurysubtle
General, educational, standard, blog, documentationbalanced
Launch, announcement, promotion, event, gaming, entertainmentbold

Default: balanced

Compatibility Matrices

Type × Style

elegantblueprintnotionwarmminimalwatercolorbold-editorialdark-atmospheric
hero✓✓✓✓✓✓✓✓✓✓
conceptual✓✓✓✓✓✓✓✓
typography✓✓✓✓✓✓✓✓✓✓
metaphor✓✓✓✓✓✓
scene✓✓✓✓✓✓
minimal✓✓✓✓✓✓

Type × Text

nonetitle-onlytitle-subtitletext-rich
hero✓✓✓✓
conceptual✓✓✓✓
typography✓✓✓✓
metaphor✓✓
scene✓✓
minimal✓✓✓✓

Type × Mood

subtlebalancedbold
hero✓✓✓✓
conceptual✓✓✓✓
typography✓✓✓✓
metaphor✓✓✓✓
scene✓✓✓✓
minimal✓✓✓✓

✓✓ = highly recommended | ✓ = compatible | ✗ = not recommended

File Structure

Each session creates an independent directory named by content slug:

cover-image/{topic-slug}/
├── source-{slug}.{ext}    # Source files (text, images, etc.)
├── prompts/cover.md       # Generation prompt
└── cover.png              # Output image

Slug Generation:

  1. Extract main topic from content (2-4 words, kebab-case)
  2. Example: "The Future of AI" → future-of-ai

Conflict Resolution: If cover-image/{topic-slug}/ already exists:

  • Append timestamp: {topic-slug}-YYYYMMDD-HHMMSS
  • Example: ai-future exists → ai-future-20260118-143052

Source Files: Copy all sources with naming source-{slug}.{ext}:

  • source-article.md, source-reference.png, etc.
  • Multiple sources supported: text, images, files from conversation

Workflow

Progress Checklist

Copy and track progress:

Cover Image Progress:
- [ ] Step 0: Check preferences (EXTEND.md) ⚠️ REQUIRED if not found
- [ ] Step 1: Analyze content
- [ ] Step 2: Confirm options (4 dimensions) ⚠️ REQUIRED unless --quick or all specified
- [ ] Step 3: Create prompt
- [ ] Step 4: Generate image
- [ ] Step 5: Completion report

Flow

Input → [Step 0: Preferences/Setup] → Analyze → [Confirm: 4 Dimensions] → Prompt → Generate → Complete
                                                      ↓
                                              (skip if --quick or all dimensions specified)

Step 0: Load Preferences (EXTEND.md) ⚠️

Purpose: Load user preferences or run first-time setup. Do NOT skip setup if EXTEND.md not found.

Use Bash to check EXTEND.md existence (priority order):

# Check project-level first
test -f .baoyu-skills/baoyu-cover-image/EXTEND.md && echo "project"

# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md" && echo "user"

┌──────────────────────────────────────────────────┬───────────────────┐ │ Path │ Location │ ├──────────────────────────────────────────────────┼───────────────────┤ │.baoyu-skills/baoyu-cover-image/EXTEND.md │ Project directory │ ├──────────────────────────────────────────────────┼───────────────────┤ │ $HOME/.baoyu-skills/baoyu-cover-image/EXTEND.md │ User home │ └──────────────────────────────────────────────────┴───────────────────┘

┌───────────┬───────────────────────────────────────────────────────────────────────────┐ │ Result │ Action │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Found │ Read, parse, display preferences summary (see below) → Continue to Step 1 │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Not found │ ⚠️ MUST run first-time setup (see below) → Then continue to Step 1 │ └───────────┴───────────────────────────────────────────────────────────────────────────┘

Preferences Summary (when EXTEND.md found):

Display loaded preferences:

Preferences loaded from [project/user]:
• Watermark: [enabled/disabled] [content if enabled]
• Type: [preferred_type or "auto"]
• Style: [preferred_style or "auto"]
• Text: [preferred_text or "title-only"]
• Mood: [preferred_mood or "balanced"]
• Aspect: [default_aspect]
• Quick mode: [enabled/disabled]
• Language: [language or "auto"]

First-Time Setup (when EXTEND.md not found):

Language: Use user's input language or saved language preference.

Use AskUserQuestion with ALL questions in ONE call:

Q1: Watermark

header: "Watermark"
question: "Watermark text for generated cover images?"
options:
  - label: "No watermark (Recommended)"
    description: "Clean covers, can enable later in EXTEND.md"

Q2: Preferred Type

header: "Type"
question: "Default cover type preference?"
options:
  - label: "Auto-select (Recommended)"
    description: "Choose based on content analysis each time"
  - label: "hero"
    description: "Large visual impact - product launch, announcements"
  - label: "conceptual"
    description: "Concept visualization - technical, architecture"

Q3: Preferred Style

header: "Style"
question: "Default cover style preference?"
options:
  - label: "Auto-select (Recommended)"
    description: "Choose based on content analysis each time"
  - label: "elegant"
    description: "Refined, sophisticated - professional business"
  - label: "notion"
    description: "SaaS dashboard - productivity/tech content"

Q4: Default Aspect Ratio

header: "Aspect"
question: "Default aspect ratio for cover images?"
options:
  - label: "16:9 (Recommended)"
    description: "Standard widescreen - YouTube, presentations, versatile"
  - label: "2.35:1"
    description: "Cinematic widescreen - article headers, blog posts"
  - label: "1:1"
    description: "Square - Instagram, WeChat, social cards"
  - label: "3:4"
    description: "Portrait - Xiaohongshu, Pinterest, mobile content"

Note: More ratios (4:3, 3:2) available during generation. This sets the default recommendation.

Q5: Quick Mode

header: "Quick"
question: "Enable quick mode by default?"
options:
  - label: "No (Recommended)"
    description: "Confirm dimension choices each time"
  - label: "Yes"
    description: "Skip confirmation, use auto-selection"

Q6: Save Location

header: "Save"
question: "Where to save preferences?"
options:
  - label: "Project (Recommended)"
    description: ".baoyu-skills/ (this project only)"
  - label: "User"
    description: "~/.baoyu-skills/ (all projects)"

After setup: Create EXTEND.md with user choices, then continue to Step 1.

Full setup details: references/config/first-time-setup.md

EXTEND.md Supports: Watermark | Preferred type | Preferred style | Preferred text | Preferred mood | Default aspect ratio | Quick mode | Custom style definitions | Language preference

Schema: references/config/preferences-schema.md

Step 1: Analyze Content

Read source content, save it if needed, and perform analysis.

Actions:

  1. Save source content (if not already a file):

- If user provides a file path: use as-is - If user pastes content: save to source.md in target directory

  1. Read source content
  2. Content analysis:

- Extract: topic, core message, tone, keywords - Identify visual metaphor opportunities - Detect content type (technical/personal/business/creative)

  1. Language detection:

- Detect source content language - Note user's input language (from conversation) - Compare with language preference in EXTEND.md

Step 2: Confirm Options ⚠️

Purpose: Validate all 4 dimensions + aspect ratio.

Skip Conditions:

ConditionSkipped QuestionsStill Asked
--quick flagType, Style, Text, MoodAspect Ratio (unless --aspect specified)
All 4 dimensions + --aspect specifiedAllNone
quick_mode: true in EXTEND.mdType, Style, Text, MoodAspect Ratio (unless --aspect specified)
OtherwiseNoneAll 5 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 4 dimensions):

Quick Mode: Auto-selected dimensions
• Type: [type] ([reason])
• Style: [style] ([reason])
• Text: [text] ([reason])
• Mood: [mood] ([reason])

[Then ask Question 5: Aspect Ratio]

Confirmation Flow (when NOT skipping):

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

Present options using AskUserQuestion:

Question 1: Type (if not specified via --type)

  • Show recommended type based on content analysis + preferred type from EXTEND.md
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"

Question 2: Style (if not specified via --style)

  • Based on selected Type, show compatible styles (✓✓ first from compatibility matrix)
  • Format: [style name] - [why it fits this content]
header: "Style"
question: "Which cover style?"
multiSelect: false
options:
  - label: "[best compatible style] (Recommended)"
    description: "[reason based on type + content]"
  - label: "[style2]"
    description: "[reason]"
  - label: "[style3]"
    description: "[reason]"

Question 3: Text (if not specified via --text)

  • Based on selected Type, show compatible text levels (✓✓ first from compatibility matrix)
header: "Text"
question: "Text density level?"
multiSelect: false
options:
  - label: "title-only (Recommended)"
    description: "Simple headline, ≤8 characters"
  - label: "none"
    description: "Pure visual, no text elements"
  - label: "title-subtitle"
    description: "Title + supporting context"
  - label: "text-rich"
    description: "Title + subtitle + keyword tags"

Question 4: Mood (if not specified via --mood)

  • Based on content analysis, show recommended mood
header: "Mood"
question: "Emotional intensity?"
multiSelect: false
options:
  - label: "balanced (Recommended)"
    description: "Medium contrast and saturation, versatile"
  - label: "subtle"
    description: "Low contrast, muted colors, calm"
  - label: "bold"
    description: "High contrast, vivid colors, dynamic"

Question 5: Aspect Ratio (ALWAYS ask unless --aspect specified via CLI)

Note: Even if user has a preset in EXTEND.md, still ask this question. The preset is shown as the recommended option.

header: "Aspect"
question: "Cover aspect ratio?"
multiSelect: false
options:
  - label: "[user preset or 16:9] (Recommended)"
    description: "[based on preset or default: Standard widescreen, versatile]"
  - label: "2.35:1"
    description: "Cinematic widescreen - article headers, blog posts"
  - label: "4:3"
    description: "Traditional screen - PPT slides, classic displays"
  - label: "3:2"
    description: "Photography ratio - blog articles, Medium posts"
  - label: "1:1"
    description: "Square - Instagram, WeChat moments, social cards"
  - label: "3:4"
    description: "Portrait - Xiaohongshu, Pinterest, mobile-first content"

After response: Proceed to Step 3 with confirmed dimensions.

Step 3: Create Prompt

Save to prompts/cover.md:

# Content Context
Article title: [full original title from source]
Content summary: [2-3 sentence summary of key points and themes]
Keywords: [5-8 key terms extracted from content]

# Visual Design
Cover theme: [2-3 words visual interpretation]
Type: [confirmed type]
Style: [confirmed style]
Text level: [confirmed text level]
Mood: [confirmed mood]
Aspect ratio: [confirmed ratio]
Language: [confirmed language]

# Text Elements
[Based on text level:]
- none: "No text elements"
- title-only: "Title: [max 8 chars headline]"
- title-subtitle: "Title: [headline] / Subtitle: [max 15 chars context]"
- text-rich: "Title: [headline] / Subtitle: [context] / Tags: [2-4 keywords]"

# Mood Application
[Based on mood level:]
- subtle: "Use low contrast, muted colors, light visual weight, calm aesthetic"
- balanced: "Use medium contrast, normal saturation, balanced visual weight"
- bold: "Use high contrast, vivid saturated colors, heavy visual weight, dynamic energy"

# Composition
Type composition:
- [Type-specific layout and structure]

Visual composition:
- Main visual: [metaphor derived from content meaning]
- Layout: [positioning based on type and aspect ratio]
- Decorative: [style elements that reinforce content theme]

Color scheme: [primary, background, accent from style, adjusted by mood]
Type notes: [key characteristics from type definition]
Style notes: [key characteristics from style definition]

[Watermark section if enabled]

Content-Driven Design:

  • Article title and summary inform the visual metaphor choice
  • Keywords guide decorative elements and symbols
  • The skill controls visual style; the content drives meaning

Type-Specific Composition:

TypeComposition Guidelines
heroLarge focal visual (60-70% area), title overlay on visual, dramatic composition
conceptualAbstract shapes representing core concepts, information hierarchy, clean zones
typographyTitle as primary element (40%+ area), minimal supporting visuals, strong hierarchy
metaphorConcrete object/scene representing abstract idea, symbolic elements, emotional resonance
sceneAtmospheric environment, narrative elements, mood-setting lighting and colors
minimalSingle focal element, generous whitespace (60%+), essential shapes only

Title guidelines (when text level includes title):

  • Max 8 characters, punchy headline
  • Use hooks: numbers, questions, contrasts
  • Match confirmed language

Watermark Application (if enabled in preferences): Add to prompt:

Include a subtle watermark "[content]" positioned at [position]
with approximately [opacity*100]% visibility. The watermark should
be legible but not distracting from the main content.

Reference: references/config/watermark-guide.md

Step 4: Generate Image

Backup Existing Cover (if regenerating): If cover.png already exists in the output directory:

  • Rename to cover-backup-YYYYMMDD-HHMMSS.png

Image Generation Skill Selection:

  1. Check available image generation skills
  2. If multiple skills available, ask user preference
  3. Call selected skill with:

- Prompt file path - Output image path: cover.png - Aspect ratio parameter

On failure: Auto-retry once before reporting error.

Step 5: Completion Report

Cover Generated!

Topic: [topic]
Type: [type name]
Style: [style name]
Text: [text level]
Mood: [mood level]
Aspect: [ratio]
Title: [title text or "visual only"]
Language: [lang]
Watermark: [enabled/disabled]
Location: [directory path]

Files:
✓ source-{slug}.{ext}
✓ prompts/cover.md
✓ cover.png
[✓ cover-backup-{timestamp}.png (if regenerated)]

Image Modification

ActionSteps
RegenerateBackup existing → Update prompt → Regenerate with same settings
Change typeBackup existing → Confirm new type → Update prompt → Regenerate
Change styleBackup existing → Confirm new style → Update prompt → Regenerate
Change textBackup existing → Confirm new text level → Update prompt → Regenerate
Change moodBackup existing → Confirm new mood → Update prompt → Regenerate
Change aspectBackup existing → Confirm new aspect → Update prompt → Regenerate

All modifications automatically backup the existing cover.png before regenerating.

Notes

  • Cover must be readable at small preview sizes
  • Visual metaphors > literal representations
  • Title: max 8 chars, readable, impactful
  • Two confirmation points: Step 0 (first-time setup if no EXTEND.md) + Step 2 (options) - can skip Step 2 with --quick
  • Use confirmed language for title text
  • Maintain watermark consistency if enabled
  • Check compatibility matrices when selecting combinations
  • --no-title is preserved as alias for --text none

References

Dimensions:

  • references/dimensions/text.md - Text density dimension
  • references/dimensions/mood.md - Mood intensity dimension

Styles: references/styles/<name>.md - Style definitions

Config:

  • references/config/preferences-schema.md - EXTEND.md schema
  • references/config/first-time-setup.md - First-time setup flow
  • references/config/watermark-guide.md - Watermark configuration

Extension Support

Custom configurations via EXTEND.md. See Step 0 for paths and supported options.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

27.11%
按下载量换算44

Antigravity

21.95%
按下载量换算36

Claude Code

17.85%
按下载量换算29

Codex

12.34%
按下载量换算20

windsurf

7.76%
按下载量换算13

Gemini CLI

3.37%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills