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.

referencespresetsfour-panel.md

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

four-panel

四格漫画预设 - Minimalist four-panel business allegory comics

Base Configuration

Dimension Value
Art Style minimalist
Tone neutral
Layout four-panel (default)
Aspect 4:3 (landscape)

Equivalent to: --art minimalist --tone neutral --layout four-panel --aspect 4:3

Unique Rules

This preset includes special rules beyond the art+tone combination. When --style four-panel is used, ALL rules below must be applied.

起承转合 Narrative Structure (CRITICAL)

Every comic MUST follow the four-panel 起承转合 structure:

Panel Role Requirements
1 (起 Setup) Introduce the situation Show character(s) in a recognizable context. Establish the "normal" state or problem
2 (承 Development) Build on the setup Add complication, show an attempt, or introduce the concept. Stakes become clearer
3 (转 Turn) The twist or key insight Most important panel. Show the unexpected reversal, contrast, or "aha" moment that makes the allegory work
4 (合 Conclusion) Resolution and takeaway Show the result, consequence, or lesson learned. Can be a visual punchline or summary

CRITICAL: Do NOT deviate from exactly 4 panels. No 5th panel, no title panel, no footer panel within the image.

Single-Page Story Rule (CRITICAL)

  • The entire story is told in ONE page with exactly 4 panels
  • Page count: always 1 (plus optional cover)
  • No multi-page four-panel stories — if content requires more, create multiple separate four-panel comics
  • Storyboard structure: Cover (optional) + 1 page

Accent Color System

  • The image is primarily black-and-white line art
  • Use exactly 1-2 spot colors per strip (default: orange #FF6B35)
  • Rules:
    • Key concept label or object: filled with accent color or outlined in accent
    • Panel 3 (转 Turn) should have the strongest color emphasis
    • Characters remain B&W — color is for concepts/objects/labels only
    • Consistent accent color across all 4 panels (do not switch colors between panels)

Character Design Rules

  • Simplified stick-figure-like characters
  • Distinguish characters through simple props: ties, glasses, hats, briefcases, aprons
  • No detailed faces — dot eyes, line mouth at most
  • Characters should be generic enough to represent archetypes (the manager, the employee, the customer)
  • Maximum 2-3 characters per strip

Text in Panels

  • Chinese text for dialogue and labels (or match source language)
  • Keep text minimal — 1-2 short lines per panel maximum
  • Key concept terms can be highlighted with accent color background
  • No narrator boxes — dialogue and labels only
  • Speech bubbles: simple rectangles or ovals, thin black outline

Optional Title & Caption

  • A brief descriptive title above the 4 panels
  • An optional one-line caption/moral below the panels
  • These are part of the page composition, not separate panels

Character Archetypes (Flexible)

Create simple stick-figure characters based on content. No fixed defaults:

Role Archetype Visual Cues
Protagonist Worker/employee facing a situation Simple figure, minimal distinguishing feature (glasses, tie)
Authority Boss/manager/expert Slightly larger figure, or prop like pointer/clipboard
Object The concept itself Labeled object, icon, or highlighted text with accent color

Prompt Template

When generating image prompts for four-panel comics, include these keywords:

A minimalist, clean line art digital comic strip in a four-panel grid layout (2×2). The style is simplified cartoon illustration with clear black outlines and a minimal color palette of black, white, and specific spot [accent color] for key concepts.

Each panel description should specify:

  • Panel position (Top Left / Top Right / Bottom Left / Bottom Right)
  • Character poses and gestures (simple, stick-figure style)
  • Dialogue text in Chinese (hand-drawn style)
  • Any accent-colored elements (concept labels, key objects)

Quality Markers

  • ✓ Exactly 4 panels in strict 2×2 grid
  • ✓ 起承转合 narrative arc clearly present
  • ✓ 90%+ black-and-white with strategic spot color
  • ✓ Simplified stick-figure characters
  • ✓ Key concept visually highlighted with accent color
  • ✓ Text is minimal and in Chinese (or source language)
  • ✓ Single complete story in one page
  • ✓ Panel 3 delivers a clear "turn" or insight

Best For

Business allegory, management fables, short insights, workplace parables, concept contrasts, social media educational content, quick-read comics

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 3 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.