papercut-explainer
Make short vertical explainer reels that look like layered construction paper, with the coding agent you already use doing the work: Claude Code, OpenCode, Codex, Gemini CLI, Cursor, Copilot and any other tool that reads Agent Skills.
The bundled example reel (examples/hello-reel), rendered from this repo. Silent placeholder voice, real captions, camera and cuts.
This repo is two things that work together:
- Nine agent skills (the open
SKILL.md format, so they load in most coding agents; see Works with) that run the whole pipeline: strategy, hook, script, storyboard, voice, build, QA, and an installer. Ask for a reel, or run one stage on its own.
- A Remotion library the skills build on: a paper-cut component kit, 24 backdrops, 17 camera moves, 10 scene transitions, film-look layers, 79 sound effects and 8 music beds, plus the scripts that tie them into an episode.
You describe the video ("explain this repo in 25 seconds"). The skills research it, write a script on a fixed spoken spine, plan every camera move and cut, make or fake the voiceover, and build the scenes in Remotion. You review stills and the final cut.
Contents
What is in the box · Install · Use it · Examples · How the workflow runs · Voice · Customising · Requirements · Cost · Troubleshooting · Limits · Star history · Licence
What is in the box
| |
|---|
| Skills | papercut-explainer (router), papercut-setup, papercut-strategy, papercut-hook, papercut-script, papercut-storyboard, papercut-voice, papercut-build, papercut-qa |
| Subagent | papercut-scene, a scene builder with only file and shell tools, so parallel scene agents start small |
| Backdrops | 24 paper-diorama sets at 1080×1920 with measured floor lines (sheet) |
| Camera | OrbitCamera + Depth, SnapZoom, Crane, CrabTrack, DollyZoom, RackFocus, ForegroundPass, PullBack, FreezeFrame, PovMask, TimeRamp, DutchTilt, TiltShift, FocusPulse, FocusHunt, Handheld, CameraPush |
| Cuts | whip, zoomThrough, pageTurn, tearAway, tapePull, stampCut, infiniteZoom, popUpBook, keyhole, burnAway, chained with CutSeries |
| Film look | gate weave and flicker, moving felt fibre, lens dirt, lamp flicker, halftone, graph paper |
| Overlays | taped headline banner, word-by-word torn caption tags, hook title, real-screenshot proof card with marker circles |
| Kit | 188 exports in library/papercut/kit: paper primitives (Paper, Slab, Disc, Pill, Card), a base critter with accessories, prop sets, rough UI rebuilds, a comment-keyword CTA scene |
| Sound | 79 synthesised SFX and 8 music beds, picked by name, rendered with Web Audio (no audio files to license) |
| Tools | scaffold, cue sheets, cached renders, QA contact sheets, catalog generator, placeholder narration, optional local TTS setup |
Each camera move and cut, with its props and when to use it, is in library/papercut/CATALOG.md (sections paper/camera.tsx and paper/transitions.tsx).
Install
You need Node 20+, npm, ffmpeg, rsync and Python 3. Any coding agent in Works with is the front end.
With npx skills (skills only, fastest):
npx skills add 0xS4N4TG/papercut-explainer
This installs the nine skills into your agents' skill folders (the CLI supports about 80 agents). It does not fetch the Remotion library or the scripts. Open your agent and say "set up papercut-explainer": papercut-setup clones the repo, asks how much you want (Minimal, Standard, Full) and installs it. Add -g for a user-wide install, --skill papercut-hook to take one skill.
With git (everything, including the library):
git clone https://github.com/0xS4N4TG/papercut-explainer
cd papercut-explainer
./install.sh
The installer asks how much you want to set up and does only that.
| Mode | What you get | Cost |
|---|
| 1. Minimal | The skills, the scene-builder subagent and the config file. Strategy, hook, script, storyboard and style prompts work. Nothing renders. | seconds |
| 2. Standard | Minimal, plus: a dependency check, the Remotion agent skills, a Python venv for QA sheets, and a self-test that scaffolds a project, typechecks it and renders a still. You can build and render full reels with a placeholder voice (silent, or macOS say). | about 0.7 GB (the first project's node_modules) and a few minutes |
| 3. Full | Standard, plus local voiceover: a Qwen3-TTS venv, the model download, an ASR backend for word timings, and a smoke test that generates a line and checks the audio. | 4–6 GB more (1.5 GB venv plus a 2.3 or 4.2 GB model) |
| 4. Custom | Pick any of: skills, deps, remotion-skills, pytools, tts, verify. | varies |
You can move up later: ./install.sh --mode custom --components deps,remotion-skills,pytools,verify.
Non-interactive and scoped installs:
./install.sh --mode standard --yes # no questions
./install.sh --mode full --tts-model 0.6B --yes # lighter voice model (2.3 GB)
./install.sh --mode minimal --project ~/code/my-videos # skills for one project only
./install.sh --mode minimal --copy # copy skills instead of symlinking
./install.sh --dry-run --mode full # print what would happen
./install.sh --doctor # check what is installed
./install.sh --uninstall # remove the links it made
By default the installer looks for coding agents on your machine (--target auto; Claude Code if it finds none) and symlinks the skills into each one's skills folder, so a git pull updates them. Pick harnesses yourself with --target claude,codex,gemini (names in Works with), or --target all. The installer writes ~/.config/papercut-explainer/config.env with PAPERCUT_LIB and the Python paths it created; the library scripts and the skills read it. It never installs system packages (it prints the brew or apt line instead), replaces an identical existing skill folder (such as one from npx skills add) and moves a different one to ~/.config/papercut-explainer/backups/ instead of the skills folder, and does not touch your shell profile.
The scene-builder subagent (papercut-scene, which builds the scenes in parallel) is written as a copy per harness, in that harness's own format, with the model you choose. Rerun the installer to change it; papercut-setup asks.
./install.sh --mode minimal --target claude,opencode,codex --yes # defaults: Claude sonnet, others inherit the session model
./install.sh --mode minimal --target claude --claude-model opus --yes # opus | sonnet | haiku | inherit | a model id
./install.sh --mode minimal --target opencode --opencode-model anthropic/claude-sonnet-5-5 --yes
./install.sh --mode minimal --target codex --agent-model codex=<model-id> --yes # any harness with file subagents
Prefer to let the agent do it? Open your agent in this folder and say "set up papercut-explainer". The papercut-setup skill detects your agents, asks which mode and which scene-agent model you want, confirms any large download, runs the installer with the right flags and checks the result.
Install by hand: symlink or copy each folder in skills/ into your agent's skills folder, then export PAPERCUT_LIB="$PWD/library". For a subagent file, copy agents/papercut-scene.md (Claude Code) or agents/opencode/papercut-scene.md (OpenCode) and add the model: line yourself; Codex and Gemini files are generated by the installer.
Works with
The skills are Agent Skills (SKILL.md folders with only name and description in the frontmatter, checked against the spec), so any agent that loads them works. The installer knows where each one looks:
| Harness | --target | Skills folder | Scene subagent file | Status |
|---|
| Claude Code | claude | ~/.claude/skills | ~/.claude/agents/*.md | In daily use |
| OpenCode | opencode | ~/.config/opencode/skills | ~/.config/opencode/agents/*.md | Skills, agent file and model line checked on 1.18; 2.x checked by the contributor who added it |
| Codex CLI | codex | ~/.agents/skills | ~/.codex/agents/*.toml | Paths and fields from OpenAI's docs; the TOML parses; not run in Codex |
| Gemini CLI | gemini | ~/.agents/skills | ~/.gemini/agents/*.md | Paths and fields from Google's docs; not run in Gemini CLI |
| Cursor, GitHub Copilot, Amp, Goose, Cline, Roo Code, Kilo Code, Zed, Factory Droid, Warp, Augment, Junie, OpenHands, Crush | cursor copilot amp goose cline roo kilo zed droid warp augment junie openhands crush | ~/.agents/skills | none (Cursor, Copilot in VS Code and Goose read ~/.claude/agents themselves) | Paths from each vendor's docs; not run |
| Kiro, Qwen Code, Windsurf | kiro qwen windsurf | ~/.kiro/skills, ~/.qwen/skills, ~/.codeium/windsurf/skills | none | Paths from the vendors' docs or the skills CLI; not run |
Anything else that reads ~/.agents/skills | agents | ~/.agents/skills | none | |
| Aider (no skills support) | none | | | Run aider --read AGENTS.md; the file points at the skills |
"Not run" means the folder and file format follow the vendor's documentation as of 17 Oct 2026 and the installer's output was checked for shape, but the agent itself wasn't started. If one breaks, open an issue with the harness version. The table lives in harnesses.sh: adding a harness is one line.
Harnesses without file subagents build the scenes themselves, one after another, or through their own parallel-task feature. The output is the same; it takes longer.
Opening this checkout in OpenCode finds the skills and the scene agent with no install (checked on 1.18; .opencode/ and opencode.jsonc point at skills/ and agents/opencode/). Agents that read a project's .agents/skills should find them through the .agents/skills link, which is untested. AGENTS.md covers agents that read that file instead.
Models other than Claude (DeepSeek and others)
The skills are plain instructions, so any model that can call tools, read the QA stills (image input) and follow a long brief can run them. Weaker models cost more QA rounds. Nothing here has been run end to end on a non-Anthropic model by the maintainer, so treat these as starting points; DeepSeek's page for each agent is the authority: api-docs.deepseek.com/quick_start/agent_integrations.
| Agent | What to do (DeepSeek model ids as of 17 Oct 2026: deepseek-flash, deepseek-v4-pro) |
|---|
| OpenCode | /connect, choose deepseek, paste your key. Then ./install.sh --target opencode --opencode-model deepseek/deepseek-flash --yes. |
| Codex CLI | Add DeepSeek's [model_providers.deepseek] block to ~/.codex/config.toml (their Codex page has it; prefer an env var for the key over a literal token). Then ./install.sh --target codex --agent-model codex=deepseek-flash --yes. |