canghe-comic — Claude Code skill: turn text into knowledge comics
Turns an article or note into a comic: panel layout, characters, generation prompts and a merged PDF. Useful when a topic needs pictures.
npx skills add freestylefly/canghe-skills --skill canghe-comic -a claude-codeWhat canghe-comic does
The skill reads a source text and builds a comic in stages: content analysis, a storyboard split into panels, character definitions, generation prompts, then the pages themselves. A script at scripts/merge-to-pdf.ts merges everything into a PDF. Output lands in comic/{topic-slug}/, with analysis.md, storyboard.md and a characters/ folder sitting next to the images.
Looks are controlled by flags. --art picks the rendering technique: ligne-claire, manga, realistic, ink-brush or chalk. --tone sets the mood, --layout the panel arrangement, --aspect the page ratio. Three presets bundle special rules: --style ohmsha for teaching material, --style wuxia and --style shoujo. Leave the flags out and the skill picks a style from the content signals.
First run is blocked until you complete the setup and save EXTEND.md — step 1.1 will not let you past it. That happens once; afterwards your preferences load automatically. There is a second ordering rule worth knowing: pages are generated against a character reference, so characters/characters.png has to exist first and pages are then produced with --ref. Skip that order and faces drift between panels.
You can also stop partway. --storyboard-only ends at the storyboard, --prompts-only adds the prompts, --images-only renders from an existing prompts directory, and --regenerate N redraws selected pages.
What it helps with
- turn an article or study note into a teaching comic
- break material down into panels and scenes
- produce character definitions and a reference sheet
- write generation prompts for each page
- merge finished pages into a single PDF
Example prompts for the agent
- /canghe-comic posts/turing-story/source.md
- /canghe-comic article.md --art manga --tone warm
- /canghe-comic --prompts-only
How to install canghe-comic
1Skills CLI (Vercel)
npx skills add freestylefly/canghe-skills --skill canghe-comic -a claude-code2Manually: put the files in place
~/.claude/skills/canghe-comic/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/canghe-comic/
1Skills CLI (Vercel)
npx skills add freestylefly/canghe-skills --skill canghe-comic -a codex2Manually: put the files in place
.agents/skills/canghe-comic/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add freestylefly/canghe-skills --skill canghe-comic -a cursor2Manually: put the files in place
.cursor/skills/canghe-comic/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install freestylefly/canghe-skills canghe-comic2Manually: put the files in place
.github/skills/canghe-comic/SKILL.md1Skills CLI (Vercel)
npx skills add freestylefly/canghe-skills --skill canghe-comic -a gemini-cli2Platform CLI
gemini skills install https://github.com/freestylefly/canghe-skills --path skills/canghe-comicManually: put the files in place
.devin/skills/canghe-comic/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add freestylefly/canghe-skills --skill canghe-comic -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about canghe-comic
How do I install canghe-comic in Claude?
Run npx skills add freestylefly/canghe-skills --skill canghe-comic -a claude-code. The skill file then sits at ~/.claude/skills/canghe-comic/SKILL.md.
What does canghe-comic do?
It builds an educational comic from text: analysing the material, writing a storyboard, defining characters, preparing prompts and generating pages, then merging them into a PDF.
Which art styles and tones are available?
Five art styles — ligne-claire, manga, realistic, ink-brush, chalk — and seven tones, among them neutral, warm, dramatic and action. Presets include --style ohmsha, --style wuxia and --style shoujo.