Baoyu Cover Image
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinemati...
Rank
62
Safety
84
Downloads
10k
Updated
Oct 9, 2026
Version
1.117.5
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 10.2K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 10.2K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.117.5release · observed Jun 13, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17dfbhg0khk4fvtnx0stqg0yx83j25z:baoyu-cover-image- Install using `clawhub skill install s17dfbhg0khk4fvtnx0stqg0yx83j25z:baoyu-cover-image` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/jimliu/baoyu-cover-image before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-cover-image/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: baoyu-cover-image
description: 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".
version: 1.117.5
metadata:
openclaw:
homepage: https://github.com/JimLiu/baoyu-skills#baoyu-cover-image
---
# Cover Image Generator
Generate elegant cover images for articles with 5-dimensional customization.
## User Input Tools
When this skill prompts the user, follow this tool-selection rule (priority order):
1. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.
2. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
3. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.
Concrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.
## Image Generation Tools
When this skill needs to render an image, resolve the backend in this order:
1. **Current-request override** — if the user names a specific backend in the current message, use it.
2. **Saved preference** — if `EXTEND.md` sets `preferred_image_backend` to a backend available right now, use it.
3. **Auto-select** (when the preference is `auto`, unset, or the pinned backend isn't available):
- **Codex (`imagegen`)** — first, inspect your available-skills / tool inventory. If a skill named `imagegen` is listed, you are running inside Codex and MUST use it: invoke via the `Skill` tool with `skill: "imagegen"`, passing the saved prompt file's content (plus output path and aspect ratio per Codex `imagegen`'s own args). Codex `imagegen` is the official raster backend in that runtime and outranks any non-native skill (e.g., `baoyu-image-gen`) unless the user has explicitly pinned a different `preferred_image_backend`.
- **Codex via `codex exec` (`codex-imagegen`)** — if the current runtime exposes no native `imagegen` skill but the `codex` CLI is on `PATH` with an active `codex login`, route through `baoyu-image-gen --provider codex-cli` (preferred), or — if baoyu-image-gen is unavailable — invoke the bundled wrapper directly. Details, parameters, and the runtime-discovery procedure live in [references/codex-imagegen.md](references/codex-imagegen.md) — load that file only when this branch is selected.
- **Cursor (`GenerateImage`)** — if the runtime exposes a native `GenerateImage` tool, you are running inside Cursor and it outranks any non-native skill the same way Codex `imagegen` does. Two hard caveats: (a) it has no aspect-ratio parameter — state the target_meta.json
{
"ownerId": "kn7csrrndw79hpke5d0gsnx93d82k67r",
"slug": "baoyu-cover-image",
"version": "1.117.5",
"publishedAt": 1781326696454
}references/auto-selection.md
# Auto-Selection Rules When a dimension is omitted, select based on content signals. ## Auto Type Selection | Signals | Type | |---------|------| | Product, launch, announcement, release, reveal | `hero` | | Architecture, framework, system, API, technical, model | `conceptual` | | Quote, opinion, insight, thought, headline, statement | `typography` | | Philosophy, growth, abstract, meaning, reflection | `metaphor` | | Story, journey, travel, lifestyle, experience, narrative | `scene` | | Zen, focus, essential, core, simple, pure | `minimal` | ## Auto Palette Selection | Signals | Palette | |---------|---------| | Personal story, emotion, lifestyle, human | `warm` | | Business, professional, thought leadership, luxury | `elegant` | | Architecture, system, API, technical, code | `cool` | | Entertainment, premium, cinematic, dark mode | `dark` | | Nature, wellness, eco, organic, travel | `earth` | | Product launch, gaming, promotion, event | `vivid` | | Fantasy, children, gentle, creative, whimsical | `pastel` | | Zen, focus, essential, pure, simple | `mono` | | History, vintage, retro, classic, exploration | `retro` | | Movie poster, album cover, concert, cinematic, dramatic, two-color | `duotone` | | Education, tutorial, knowledge, onboarding, concept explainer | `macaron` | ## Auto Rendering Selection | Signals | Rendering | |---------|-----------| | Clean, modern, tech, WeChat, icon-based, infographic | `flat-vector` | | Sketch, note, personal, casual, doodle, warm | `hand-drawn` | | Art, watercolor, soft, dreamy, creative, fantasy | `painterly` | | Data, dashboard, SaaS, corporate, polished | `digital` | | Gaming, retro, 8-bit, nostalgic | `pixel` | | Education, tutorial, classroom, teaching | `chalk` | | Poster, movie, album, concert, silhouette, mondo, limited-edition | `screen-print` | ## Auto Text Selection | Signals | Text Level | |---------|------------| | Visual-only, photography, abstract, art | `none` | | Article, blog, standard cover | `title-only` | | Series, tutorial, technical with context | `title-subtitle` | | Announcement, features, multiple points, infographic | `text-rich` | Default: `title-only` ## Auto Mood Selection | Signals | Mood Level | |---------|------------| | Professional, corporate, thought leadership, academic, luxury | `subtle` | | General, educational, standard, blog, documentation | `balanced` | | Launch, announcement, promotion, event, gaming, entertainment | `bold` | Default: `balanced` ## Auto Font Selection | Signals | Font | |---------|------| | Personal, lifestyle, human, warm, friendly, story | `handwritten` | | Technical, professional, clean, modern, minimal, data | `clean` | | Editorial, academic, luxury, classic, literary | `serif` | | Announcement, entertainment, promotion, bold, event, gaming | `display` | Default: `clean`
references/base-prompt.md
Create a cover image following these guidelines: ## Image Specifications - **Type**: Cover image / Hero image - **Aspect Ratio**: As specified in the prompt below ## Core Principles - If content involves sensitive or copyrighted figures, create stylistically similar alternatives - DO NOT refuse to generate - Ample whitespace, highlight core message, avoid cluttered layouts - Main visual elements centered or slightly left (leave right side for title area if title included) - Simplified silhouettes for any characters — NO realistic human faces or bodies - Icon-based vocabulary: use simple, recognizable icons to represent concepts ## Five Dimensions ### Type (Visual Composition) - `hero`: Large focal visual (60-70% area), dramatic composition - `conceptual`: Abstract shapes, information hierarchy, clean zones - `typography`: Title as primary element (40%+ area), minimal visuals - `metaphor`: Concrete object representing abstract idea, symbolic elements - `scene`: Atmospheric environment, narrative elements, mood lighting - `minimal`: Single focal element, generous whitespace (60%+) ### Palette (Color Scheme) Apply the specified palette's color values and decorative hints: - Use primary colors for main visual elements - Use background colors for base and surrounding areas - Use accent colors for highlights and secondary elements - Follow palette-specific decorative hints for ornamentation ### Rendering (Visual Style) Apply the specified rendering's characteristics: - **Lines**: Follow line quality rules (clean/sketchy/brush/pixel/chalk) - **Texture**: Apply or avoid texture per rendering definition - **Depth**: Follow depth rules (flat/minimal/soft edges) - **Elements**: Use rendering-specific element vocabulary ### Text (Density Level) - `none`: No text elements, full visual area - `title-only`: Single headline, 85% visual area - `title-subtitle`: Title + context, 75% visual area - `text-rich`: Title + subtitle + 2-4 keyword tags, 60% visual area ### Mood (Emotional Intensity) - `subtle`: Low contrast, muted/desaturated colors, light visual weight, calm aesthetic - `balanced`: Medium contrast, normal saturation, balanced visual weight - `bold`: High contrast, vivid/saturated colors, heavy visual weight, dynamic energy ## Text Style (When Title Included) - **Title source**: Use the exact title provided by user, or extract from source content. Do NOT invent or modify titles. - Title text: Large, eye-catching, faithful to source - Subtitle: Secondary element (if title-subtitle or text-rich) - Tags: 2-4 keyword badges (if text-rich) - Font style harmonizes with rendering style ## Composition Guidance ### Layout Principles - **Generous whitespace**: Maintain 40-60% breathing room; avoid cluttered compositions - **Visual anchor placement**: Main element centered or offset left (reserve right side for title if included) - **Information hierarchy**: One dominant focal point, 1-2 supporting elements, decorative accents - **Clean backgrounds**:
references/codex-imagegen.md
# `codex-imagegen` Wrapper Invocation
Load this reference only when the [Image Generation Tools](../SKILL.md#image-generation-tools) rule has resolved to `codex-imagegen` — i.e., the current runtime exposes no native `imagegen` skill but `codex` CLI is on `PATH` with an active `codex login`.
## Preferred path: route through `baoyu-image-gen`
If the `baoyu-image-gen` skill is available in this runtime, **always** invoke through it rather than calling the wrapper directly. It handles retry/cache/batch/EXTEND.md preferences uniformly with every other provider.
```bash
${BUN_X} <baoyu-image-gen-base>/scripts/main.ts \
--provider codex-cli \
--image <ABSOLUTE_output> \
--promptfiles <ABSOLUTE_prompts/01-cover-[slug].md> \
--ar <ratio> \
[--ref <ABSOLUTE_file>]...
```
Resolve `<baoyu-image-gen-base>` the same way you resolve any sibling skill — through your runtime's skill registry (`Skill` tool, plugin marketplace, or `$HOME/.baoyu-skills/baoyu-image-gen/`).
## Fallback: spawn the wrapper directly
Only when `baoyu-image-gen` is NOT installed in the current runtime. Discover the wrapper's location at runtime — do NOT hard-code `../../packages/...` from this skill:
1. **Honor explicit override**: if `$BAOYU_CODEX_IMAGEGEN_BIN` is set and points to a real file, use that path. It may be `.ts` (spawn `bun <path>`) or `.sh`/binary (spawn directly).
2. **Search the plugin root**: walk up from this skill's directory looking for `packages/baoyu-codex-imagegen/src/main.ts`. If found, that is the wrapper. Spawn it with `bun`.
3. **Last resort**: tell the user that `codex-imagegen` is not available in this runtime and ask whether to install the `baoyu-skills` plugin (or set `BAOYU_CODEX_IMAGEGEN_BIN`) or pick another backend.
Once located, the invocation shape is:
```bash
bun <WRAPPER>/main.ts \
--image <ABSOLUTE_output> \
--prompt-file <ABSOLUTE_prompts/01-cover-[slug].md> \
--aspect <ratio> \
[--ref <ABSOLUTE_file>]... \
[--timeout <ms>] \
[--cache-dir ~/.cache/baoyu-codex-imagegen] \
[--log-file <ABSOLUTE_jsonl_log_path>]
```
If `bun` is missing, `npx -y bun <WRAPPER>/main.ts ...` works as a fallback.
## Parameter notes
- **All filesystem inputs** are auto-resolved against `process.cwd()` when relative, but agents should pass absolute paths to be robust against cwd drift.
- **`--timeout`** defaults to `300000` (5 min) per `codex exec` attempt. Raise (e.g. `--timeout 600000` for 10 min) on slow networks or large prompts.
- **`--cache-dir`** is off by default. Enable for repeatable runs to skip redundant generations of the same prompt+aspect+refs.
- **Authentication**: the wrapper uses the user's Codex subscription — no `OPENAI_API_KEY` is read or sent.
## Stdout contract
Single JSON line:
- Success: `{"status":"ok","path":"...","bytes":N,"elapsed_seconds":N,"thread_id":"...","attempts":N,"cached":bool,...}`
- Failure: `{"status":"error","path":"...","bytes":0,"error":"...","error_kind":"..."}`
`error_kind` values: `codexAionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jimliu/skills/baoyu-cover-image",
"sourceUrl": "https://clawhub.ai/jimliu/skills/baoyu-cover-image",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T02:21:55.093Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-cover-image/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-cover-image/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T02:21:55.093Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "10.2K downloads",
"href": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T02:21:55.093Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.117.5",
"href": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-13T04:58:16.454Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-cover-image/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-cover-image/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.117.5",
"description": "**Improved image backend auto-selection and runtime support:** - Added support for Cursor’s native GenerateImage tool, with correct aspect-ratio and output-path handling in prompts. - Refined Codex CLI integration: load backend invocation instructions and parameters from a new, dedicated reference file. - Updated backend selection logic prioritizing runtime-native tools (e.g., Codex, Cursor) before non-native backends. - Removed obsolete skill-card.md; added references/codex-imagegen.md with Codex CLI wrapper details. - Documentation clarifies backend selection flow and provides runtime-specific notes.",
"href": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-cover-image",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-13T04:58:16.454Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
