From coloring-book
Generate a printable, text-free story coloring book PDF from a story idea, with consistent characters and real-landmark backgrounds. Use when the user asks to create a coloring book, coloring pages, or a wordless picture-story PDF. Requires an OpenAI API key.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coloring-book:coloring-bookThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`pipeline.py` and `spec.example.yaml` live in this skill's directory (treat it as
pipeline.py and spec.example.yaml live in this skill's directory (treat it as
read-only — it may be an installed plugin). Everything the pipeline writes —
spec.yaml, .env and the output/ tree — goes in a separate work
directory. Create one for the book (e.g. ~/coloring-book/<title>/), cd into
it, and run the script by its full path from there; the work directory defaults
to the current directory (override with --workdir PATH or $COLORING_BOOK_DIR).
Drive pipeline.py stage by stage. The rule that matters: inspect each stage's
images with Read before running the next stage — a bad character sheet poisons
every page built from it. Fix at the earliest stage.
cd into it. Copy the template:
cp <skill-dir>/spec.example.yaml spec.yaml, then edit spec.yaml..env (in the work directory) with OPENAI_API_KEY=sk-... (gitignored; ask if
missing), or export OPENAI_API_KEY. Test the key with one cheap generation
first — billing_hard_limit_reached or insufficient_quota mean the user must
add credits, so stop and say so.pip install -r <skill-dir>/requirements.txt.Gather story, characters (or invent), style, audience and page count into
spec.yaml (copied from spec.example.yaml). Run stages in order from the work
directory (python3 <skill-dir>/pipeline.py <stage>), reviewing each before the
next. Paths below (output/...) are relative to the work directory:
| Stage | Command | Review before continuing |
|---|---|---|
| 1. Outline | python3 pipeline.py outline | Read output/outline.json. Story beats visual-only? Character descriptions specific enough to repeat verbatim? Every wanted landmark present (the model drops some — re-add in the JSON)? Add per-page landmark fields = exact English Wikipedia article titles. |
| 2. Characters | python3 pipeline.py characters | Read each output/characters/*.png. Same features across poses? Species right? Fix by tightening the description in outline.json, then --only NAME. |
| 3. Landmarks | python3 pipeline.py landmarks | Read each output/landmarks/*.png. Structure recognizable, proportions right? Aerial/map-style photos anchor badly — drop that page's landmark instead. |
| 4. Pages | python3 pipeline.py pages (slow — run in background) | Read every page: no text anywhere; correct character count; each character's signature features present; landmark faithful. Redo one page with --page N. |
| 5. PDF | python3 pipeline.py postprocess && python3 pipeline.py pdf | Deliver output/book.pdf with SendUserFile. |
Each page uses one landmark sheet + one composite character sheet — don't add
more references, or accessories start migrating between characters. When review
finds a problem, edit that page's scene in output/outline.json and rerun
pages --page N:
output/landmarks/photos/<slug>.png, or remove the page's landmark.~$0.07/image at medium quality; a 10-page, 3-character book ≈ $1.50–2 with redos
(~25% of pages need one). Set image_quality: high in spec.yaml for print-gift
quality (~2× cost).
npx claudepluginhub taivop/marketplace --plugin coloring-bookGuides creation of age-appropriate children's book illustrations with styles for 0-12, character design, color theory, visual storytelling, and publishing standards.
Creates original educational comics with multiple art styles, tones, and detailed panel layouts. Supports batch image generation. Activate via prompts like '知识漫画', 'biography comic', or 'tutorial comic'.
Creates educational knowledge comics with configurable art styles, tones, and panel layouts. Supports sequential image generation and partial workflow options.