ClaudeMap

papercraft

An agent skill for building games, scenes, pages, animations and videos in a handcrafted pop-up papercraft style — printed cardstock pieces folding up on hinges from a printed ground, carrying the hard-won numbers from a shipped three.js pop-up game

Skills & Commandsskillthreejscreative-codinganimationgame-dev

papercraft teaches an agent to make anything read as a photographed paper model: matte paper, every print a small layered collage with contrasting accents, thin dark cut edges with a pale highlight on the lit side, soft shadows tinted by the world, a dense world of chunky pieces, and a tilt-shift macro lens looking down into the scene. It carries the numbers from a shipped three.js pop-up game rather than asking the model to invent them. Any piece is built from an extendable set of structure types — slotted crosses, layered flats, folded boxes and prisms, domes, printed water, plus built decks, bridges and stairs for anything walked on — with motion, procedural paper foley sound, and characters whose cards never cut into each other, checked by a measure-and-critique loop. Your prompt and references set the world; an image generator is used only on request. The same world renders in any frame — 16:9 film, 9:16 reel, square or 4:5 post, 4K master, ultrawide still or phone page — with capture.py rendering stills and MP4 clips at standard sizes. Bundled plumbing (paperkit-2d/3d, paper-motion, paper-sound, paper-life), templates for three.js and Canvas 2D, worked examples from one countryside world, and a gallery of five worlds paired with their prompts. Works with any harness that supports Agent Skills (Claude Code, Codex, Cursor, Gemini CLI, OpenCode).

What it does

  • A written paper-look spec with measured numbers: matte paper, layered per-print collage, thin dark cut edges with pale lit-side highlights, world-tinted soft shadows, tilt-shift macro lens
  • Extendable structure types (slotted crosses, layered flats, folded boxes and prisms, domes, printed water, decks/bridges/stairs) plus paper motion, procedural paper foley, and weather/creature life systems
  • One world, any frame: 16:9, 9:16 reel, square, 4:5, 4K, ultrawide — the lens keeps to the short side and capture.py renders stills and MP4 clips headless via Playwright
  • Import-as-is plumbing (paperkit-2d/3d, paper-motion, paper-sound, paper-life) with three.js and Canvas 2D templates; measure-and-critique loop checks that the hero's cards never cut into each other
  • Reference-driven direction: photos, sketches or moodboards set the theme the agent rebuilds in paper; an image generator is used only when you ask; a five-world gallery pairs each world with the prompt that made it

When to use it

Right tool when you want a landing page, game scene, explainer animation or social clip with a consistent handcrafted pop-up-paper aesthetic across frames and formats, built in code rather than assembled in a 3D package.

Getting started

npx skills add xikhar/papercraft

Or copy skills/papercraft/ into your agent's skills folder. Works with any agent that supports Agent Skills (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, ...).

Serve the templates:
npx serve skills/papercraft/assets

Render review frames headless:
python skills/papercraft/scripts/capture.py <project folder> overview "walk=x,z;x,z"

Things to know

The bundled code is plumbing plus worked examples from one countryside world — your subject's pieces are designed and written by the agent, and the gallery is the quality bar, not content to copy. capture.py needs Playwright for headless rendering; templates must be served over http (npx serve or python -m http.server). The papercraft look leans on the bundled light presets and measured numbers — deviating from them without re-measuring loses the photographed-paper read. MIT. 89 stars as of writing (2026-11-22).

Repository

xikhar/papercraft

Charted

Related on the map

  • An instruction-only skill that makes agents research before they ask, plan before they build, and verify before they call anything done.

    • workflow
    • verification
    • quality
    • skill
  • Guizang's agent skill turns your repo's recent updates into a finished promo video — real components, code-rendered animation, an original code-written soundtrack — no video editor involved.

    • agent-skill
    • video
    • promo
    • marketing
  • An agent skill that geolocates a photo with nothing readable in it — OSM geometry, elevation skylines and satellite tiles turn “where was this taken?” into a measured answer with an error radius.

    • agent-skill
    • geolocation
    • osint
    • openstreetmap