# canghe-comic

Turns an article or note into a comic: panel layout, characters, generation prompts and a merged PDF. Useful when a topic needs pictures.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 578 installs · ★ 469
- Author: freestylefly
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/freestylefly/canghe-skills/tree/HEAD/skills/canghe-comic/SKILL.md
- Updated: 2026-06-08
- HTML: https://affpapa.org/en/nevibecode/skills/canghe-comic

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add freestylefly/canghe-skills --skill canghe-comic -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/canghe-comic/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/canghe-comic/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add freestylefly/canghe-skills --skill canghe-comic -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/canghe-comic/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add freestylefly/canghe-skills --skill canghe-comic -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/canghe-comic/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install freestylefly/canghe-skills canghe-comic
```

2. **Manually: put the files in place**
- File: `.github/skills/canghe-comic/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add freestylefly/canghe-skills --skill canghe-comic -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/freestylefly/canghe-skills --path skills/canghe-comic
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/canghe-comic/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add freestylefly/canghe-skills --skill canghe-comic -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/freestylefly/canghe-skills/tree/HEAD/skills/canghe-comic/SKILL.md

## When to use it
- 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
- /canghe-comic posts/turing-story/source.md
- /canghe-comic article.md --art manga --tone warm
- /canghe-comic --prompts-only

## Similar
- [baoyu-comic](https://affpapa.org/en/nevibecode/skills/baoyu-comic.md) — skill · 29900 installs
- [storyboard-creation](https://affpapa.org/en/nevibecode/skills/storyboard-creation.md) — skill · 55500 installs
- [muapi-storyboard](https://affpapa.org/en/nevibecode/skills/muapi-storyboard.md) — skill · 686 installs
- [muapi-ai-fight-scene](https://affpapa.org/en/nevibecode/skills/muapi-ai-fight-scene.md) — skill · 661 installs
- [ai-multimodal](https://affpapa.org/en/nevibecode/skills/ai-multimodal.md) — skill · 530 installs
- [minimalist-product-ad-generator](https://affpapa.org/en/nevibecode/skills/minimalist-product-ad-generator.md) — skill · 3400 installs

From the same set: [freestylefly/canghe-skills](https://affpapa.org/en/nevibecode/by/freestylefly/canghe-skills.md) — 10 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
