All skills
jimliu avatar

/baoyu-comic

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

Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

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

This session only. Nothing lands on disk.

referencespartial-workflows.md

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

Partial Workflows

Options to run specific parts of the workflow.

Options Summary

Option Steps Executed Output
--storyboard-only 1-3 storyboard.md + characters/
--prompts-only 1-5 + prompts/*.md
--images-only 7-9 + images + PDF
--regenerate N 7 (partial) Specific page(s) + PDF

Using --storyboard-only

Generate storyboard and characters without prompts or images:

/baoyu-comic content.md --storyboard-only

Workflow: Steps 1-3 only (stop after storyboard + characters)

Output:

  • analysis.md
  • storyboard.md
  • characters/characters.md

Use case: Review and edit the storyboard before generating images. Useful for:

  • Getting feedback on the narrative structure
  • Making manual adjustments to panel layouts
  • Defining custom characters

Using --prompts-only

Generate storyboard, characters, and prompts without images:

/baoyu-comic content.md --prompts-only

Workflow: Steps 1-5 (generate prompts, skip images)

Output:

  • analysis.md
  • storyboard.md
  • characters/characters.md
  • prompts/*.md

Use case: Review and edit prompts before image generation. Useful for:

  • Fine-tuning image generation prompts
  • Ensuring visual consistency before committing to generation
  • Making style adjustments at the prompt level

Using --images-only

Generate images from existing prompts (starts at Step 7):

/baoyu-comic comic/topic-slug/ --images-only

Workflow: Skip to Step 7, then 8-9

Prerequisites (must exist in directory):

  • prompts/ directory with page prompt files
  • storyboard.md with style information
  • characters/characters.md with character definitions

Output:

  • characters/characters.png (if not exists)
  • NN-{cover|page}-[slug].png images
  • {topic-slug}.pdf

Use case: Re-generate images after editing prompts. Useful for:

  • Recovering from failed image generation
  • Trying different image generation settings
  • Regenerating after manual prompt edits

Using --regenerate

Regenerate specific pages only:

# Single page
/baoyu-comic comic/topic-slug/ --regenerate 3

# Multiple pages
/baoyu-comic comic/topic-slug/ --regenerate 2,5,8

# Cover page
/baoyu-comic comic/topic-slug/ --regenerate 0

Workflow:

  1. Read existing prompts for specified pages
  2. Regenerate images only for those pages
  3. Regenerate PDF

Prerequisites (must exist):

  • prompts/NN-{cover|page}-[slug].md for specified pages
  • characters/characters.png (for reference)

Output:

  • Regenerated NN-{cover|page}-[slug].png for specified pages
  • Updated {topic-slug}.pdf

Use case: Fix specific pages without regenerating entire comic. Useful for:

  • Fixing a single problematic page
  • Iterating on specific visuals
  • Regenerating pages after prompt edits

Page numbering:

  • 0 = Cover page
  • 1-N = Content pages

Source: SKILL.md on GitHub

1 warning17d5 checks · Risk MEDIUM
  • Gen Agent Trust Hub17d

    This skill is a complex comic creation tool that uses dynamic script execution for PDF merging and environment-aware image generation. It includes logic to discover and run local wrapper scripts by searching directory paths at runtime. While these behaviors are documented as part of its cross-platform support (Codex, Cursor, etc.), the use of dynamic execution from computed paths and the processing of untrusted user content for prompt generation represent notable security surfaces.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer6mo

    2/34 files flagged

  • 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.4
Other metadata
metadata
{
  "openclaw": {
    "homepage": "https://github.com/JimLiu/baoyu-skills#baoyu-comic",
    "requires": {
      "anyBins": [
        "bun",
        "npx"
      ]
    }
  }
}
  • TypeScript
  • comic
  • education
  • knowledge
  • image-generation
  • batch-capable
  • panel-layout
  • art-styles
  • storytelling
  • bun

README badge

README badge for jimliu/baoyu-skills/baoyu-comic

Creates original educational comics with flexible art style and tone combinations, supporting batch image generation and detailed panel layouts. Use when asked to generate knowledge comics, biography comics, tutorial comics, or similar educational visual narratives in styles like ligne-claire, manga, or ink-brush.

Generated from the current SKILL.md.

What art styles and tones does this skill support?
Six art styles (ligne-claire, manga, realistic, ink-brush, chalk, minimalist) and seven tones (neutral, warm, dramatic, romantic, energetic, vintage, action) can be combined. Five named presets (ohmsha, wuxia, shoujo, concept-story, four-panel) bundle specific art+tone combinations with special visual rules.
Can I use my own reference images to guide the comic style?
Yes. Pass reference images via `--ref <files...>` and specify usage mode (direct, style, or palette). Direct mode passes the image to the backend; style and palette modes extract traits and embed them in prompts.
What image backends does this skill work with?
It auto-detects and prioritizes Codex `imagegen`, Cursor `GenerateImage`, or other runtime-native tools. If none are available, it falls back to `baoyu-image-gen` or asks you to choose from installed backends.
Can I regenerate just a few pages instead of the whole comic?
Yes. Use `--regenerate N` to regenerate specific pages (e.g., `--regenerate 3` or `--regenerate 2,5,8`), or `--images-only` to generate images from existing prompts without rebuilding the storyboard.
Does this skill require bun or npm?
It requires either `bun` or `npx` installed. The skill will use `bun` if available; otherwise it falls back to `npx -y bun`.

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