Nov 12, 2026
Papermorph: Turn a Textbook into a Narrated, Interactive Web Book
One agent skill turns textbook PDFs into step-by-step web lessons, stories into paper-puppet films, and books into documentaries and upright shorts — all static pages you can host anywhere.
Course tools animate one explainer at a time. A real textbook is sixty-eight chapters of formulas, diagrams and worked examples that all need to move in step with a narration. Papermorph — a 2k-star agent skill — plans the whole book first, then animates it: textbooks become narrated web lessons, stories become paper-puppet films, and books become documentaries, upright shorts and pages you explore.
Why This Skill Matters
Everything Papermorph produces is a static web page: no server, no database, no account. A book is a folder you can host anywhere. The live bookshelf in the README shows the range: Elementary Algebra (68 chapters), Linear Algebra (40 chapters, with planes you can drag in 3D), Elementary Mathematics (23), and Elementary Physics (9) on the lesson side; picture books like The Little Horse Crosses the River (小马过河) and a Millions of Cats whose figures were cut from the 1928 book's own pages; documentaries like a 10-minute Madness and Civilization (plus 4 upright shorts); and playable pages, including Orwell's essay Shooting an Elephant, where you hold the rifle, and explorable maps of Europe 1919–1929 and Japan 1868–1878.
Installation
Install the skill in your project, for Claude Code or OpenCode:
npx skills add DozenTwelve/Papermorph --skill papermorph --agent claude-code # or --agent opencode
Then type /papermorph. Three prerequisites: uv, ffmpeg, and Playwright's browsers (uv run --with playwright playwright install chromium firefox). Narration is Edge TTS (online) or Kokoro (local), both free. A few steps are paid, optional and need an API key: acted ElevenLabs voices for picture books and documentaries, clips made from a still via OpenRouter, and painted sets for picture books via OpenRouter or OpenAI. The README puts the newest picture books' voice cost under $0.45 each.
Real Workflow: Turn a PDF Chapter into an Interactive Lesson
Run /papermorph in a project containing your PDF. The skill finds the PDF (or asks for your story), tells you what kind of book it is, suggests a chapter to try first and how much animation it needs, and offers a recommended option at every step. Your choices are saved in style.json, so every later chapter is made to the same style.
Under the hood, a book is planned before it is drawn: chapters or scenes first, then a script, then a storyboard. The narration is voiced and every word gets a time, and the picture is animated to those times — formulas, diagrams and scenes change step by step as the narration explains. The model then watches its own output — contact sheets, overlap and blank-frame checks, end-to-end tests, and a director's review against approved books — and fixes what it sees. Large chapters are made by a team of subagents, each step on the model you choose; the README's shelf books were made with Opus 5.5, GPT-6.1-Sol and Sonnet 5.5, and an illustrated physics chapter costs about $10–18 of model usage.
Second Workflow: Export and Host
Every book plays in the same built-in player — pause anywhere, step back and forth, speed, captions, keyboard shortcuts, progress saved per book — with the interface available in English, Russian, Chinese, Japanese or Arabic (right to left). The player lives in engine/, and every book keeps its own copy, so a book never breaks when the engine changes. Any chapter or episode also renders to a 1080p MP4 with an .srt, frame by frame from the lesson clock (scripts/export.py), and a book can be packaged for an LMS as SCORM (scripts/scorm.py).
Tips
- One source can take several shapes: The Pandemic exists as a film, six shorts, and a scroll story — pick the shape per audience instead of redoing the research.
- Re-run
scripts/engine.py siteto update the player copies inside your books from the latest release; from your own fork, pass--from you/your-fork@main. - For picture books for children who can't read yet, the film stops for a listen-and-find game: a character asks for one thing at a time, the child touches it in the picture, and nothing is ever called wrong.
- The FAQ draws the comparison for you: Claude Motion makes animated explainers; Papermorph makes whole books — many chapters in one consistent style, graded quizzes, saved progress, a static site you own.
When Not to Use This
The optional paid steps need API keys and cost real money (picture-book voices, painted sets, still-to-clip generation); if the budget is zero, you are on free TTS/Kokoro narration and code-drawn sets. Making a book from any PDF is documented as fine for your own use, but the README is explicit that publishing a book based on someone else's textbook is your call to check — its own examples use public-domain books or pictures it draws. And contributing back has a bright line: no pull requests that add a copyrighted book, its PDF, or lessons made from one.
See the leaderboard for more skills.