baoyu-comic
🤖 AI Summary
**baoyu-comic** generates original knowledge comics by combining flexible art styles with customizable tones. It collects user input via the runtime's built-in question tools (batching when possible) or falls back to numbered plain-text prompts.
How to Install
Claude Code:
git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git && cp baoyu-skills/skills/baoyu-comic ~/.claude/skills/baoyu-comic -r# Knowledge Comic Creator
Create original knowledge comics with flexible art style × tone combinations.
## 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 aspect ratio / dimensions explicitly in the prompt text passed as `description`; (b) it does not accept an output directory — it saves to a tool-managed location, so after generation copy/move the file to the skill's expected output path (e.g., `outputs/.../NN-xxx.png`). Reference images go in `reference_image_paths`.
- **Other runtime-native tools** — if the runtime exposes a different native image tool (e.g., Hermes `image_generate`), use it th
Details
| Category | AI/ML → ml |
| Source | JimLiu/baoyu-skills |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 22.3K |
| Est. per Skill | N/A (shared across 21 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
agentfolio
AgentFolio Role: Autonomous Agent Discovery Guide Use this skill when you want to discover, compare,
seo-fundamentals
SEO Fundamentals Foundational principles for sustainable search visibility. This skill explains how
odoo-qweb-templates
Odoo QWeb Templates Overview QWeb is Odoo's primary templating engine, used for PDF reports, website
behavioral-modes
Behavioral Modes - Adaptive AI Operating Modes Purpose This skill defines distinct behavioral modes
Works Well With
Skills from the same repository — often designed to work together
baoyu-article-illustrator
Article Illustrator Analyze articles, identify illustration positions, generate images with Type × S
baoyu-compress-image
Image Compressor Compresses images using best available tool (sips → cwebp → ImageMagick → Sharp). S
baoyu-cover-image
Cover Image Generator Generate elegant cover images for articles with 5-dimensional customization. U