← Back to blog
AiAbout 6 min read

A skill that only makes paper worlds, and the rules that sell the trick

Published Nov 29, 2026
A skill that only makes paper worlds, and the rules that sell the trick

Most style prompts fail because they describe a mood and leave the mechanics to chance. "Cozy paper craft aesthetic, soft lighting" produces something that looks like paper for one frame and like plastic for the next.

papercraft is the opposite approach. It is an agent skill that permits exactly one look, then hands the model a spec sheet: matte paper, a thin dark cut edge with a pale highlight on the lit side, shadows tinted by the world rather than grey, a tilt-shift macro lens looking down into the scene, hinges that move calmly, and foley made of paper.

The repository appeared on 21 November, is MIT licensed, has 1,686 stars, and ships the numbers from a shipped three.js pop-up game rather than from a mood board.

Install and ask

npx skills add xikhar/papercraft

Or copy skills/papercraft/ into your agent's skills folder. It targets the Agent Skills format, so Claude Code, Codex, Cursor, Gemini CLI and OpenCode all work.

Then you ask for something paper:

"a small three.js scene of a harbour town that folds up out of the ground"
"a dome on Mars as a paper diorama, with a rover that pops up"
"a 20-second paper diorama animation of a city waking up, rendered to mp4"
"an 8-second vertical Reel of a paper lighthouse town waking up at dawn"

The prompt and any references decide the world: palette, ground, buildings, creatures, weather. A photograph of a real paper model can serve as the look target. A mood board sets the theme, and the agent rebuilds it in paper.

The image generator is optional and only fires if you ask. Everything else is code.

The spec is the product

Here is the part that makes this more than a prompt pack. The skill's SKILL.md carries the material model, and the references carry the rest: gallery, structures, look, palettes, mechanisms, motion, worlds, procedural art, formats, image generation, sound, paper UI, three.js, 2D web, engines, process.

The structure library is where the craft sits. Every piece in a scene is built from a set of types you can extend: slotted crosses, layered flats, folded boxes, prisms, domes, printed water, and built decks, bridges and stairs for anything a character walks on.

LayerFileWhat it does
2Dpaperkit-2d.jsSheets, cut outlines, layered print, drawing-to-cut
3Dpaperkit-3d.jsPaper material, thick cards, reliefs, hinges, PCSS soft shadows, macro lens
Motionpaper-motion.jsLatched paper spring, wind sway, walk field, loop seams
Soundpaper-sound.jsProcedural paper foley, three presets, WAV export
Musicpaper-music.jsFelt piano, wooden hall reverb, live and offline
Lifepaper-life.jsWeather, flyers, smoke, cloud shadows, terrain-aware creatures

A latched paper spring is a specific thing. Paper does not bounce like rubber. It snaps through a fold and settles, and the motion code models that instead of a damped sine wave.

How the craft gets transferred

The skill's own description of itself is worth reading closely, because it is a list of hard-won numbers rather than adjectives.

Every print is a small layered paper collage with contrasting accents, not a flat texture. Matte everywhere. The cut edge is a thin dark line with a pale highlight on the lit side, which is what a real cut through printed cardstock looks like under raking light. Shadows are soft and tinted by the world, so a forest diorama casts green-grey, not neutral grey. The world is dense with chunky pieces rather than sparse and elegant, because a photographed paper model always has more parts than you expect. And the lens is tilt-shift macro looking down, which is what makes a miniature read as a miniature rather than as a low-poly scene.

None of those are stylistic opinions. They are optical facts about photographing small paper objects, and they are why the output stops looking like a shader.

One world, every frame size

The format handling is the most practical part and the least glamorous. The same scene renders as a 16:9 film, a 9:16 Reel, a 1:1 post, a 4:5 post, a 4K master, an ultrawide still, or a phone page in a UI.

Three rules make that work. The lens keeps to the frame's short side, so a vertical crop does not become a telephoto. A vertical frame comes closer instead of widening, because a wide vertical paper diorama reads as a tabletop. And prints and blur follow resolution, so the layered print texture does not turn into mush at 4K.

capture.py renders stills and MP4s at standard sizes with --size reel, square, 4k and so on, with a mix flag for audio, loop seams checked, and frames verified.

What it will not do

It will not give you a person. The character system is card-based, with a constraint that the cards must never cut into each other, which is a paper-puppet solution to a paper-puppet problem. If your brief needs a face, this is the wrong tool and no amount of prompt engineering fixes it.

It will not look photoreal, by design. Matte, no specular highlights, no reflections beyond a hint on the cut edge.

And it will not be fast on a first attempt. The skill carries a measure-and-critique loop, which means the agent renders, measures the look against the spec, and adjusts. That loop is what produces the consistency. It also means the first render is a draft, and you should expect to iterate twice before the world reads.

Why a single style is the right shape for a skill

Agent skills are instructions, and instructions get diluted. A skill that says "make it look good" gives the model permission to fall back on its default aesthetic, which is the smooth, evenly lit, slightly plastic look that every model produces when unsupervised.

A skill that says "paper, matte, cut edge, tinted shadow, tilt-shift, hinges" is checkable. The agent can render a frame, compare it against a list, and find the item that is wrong. That is the whole argument for narrow skills: they turn taste into a checklist.

The gallery is the other half of that argument. Five worlds from the source game, each paired with the prompt that made it, plus sixteen more frames covering a reef, a station deck, a rainy city, an interior, a page UI and a figure sheet. That is a quality bar you can point at.

Cost

The kit is JavaScript, the templates are Canvas 2D and three.js, and rendering happens in a headless browser. That means the expensive part is a GPU you already have, and the artefact is a static page that anyone can open.

For a small studio the arithmetic is simple. A 20-second branded diorama animation is a day of illustrator time plus a day of After Effects. Here it is a prompt, a render, a critique pass, and a review. The output is less flexible, because the world has to be built from paper structure types, and more consistent, because the rules that make it look like paper are enforced rather than hoped for.

If you make product pages, kids' content, or anything that needs a warm handmade look without hiring an illustrator, this is a cheap way to test the direction. If you need photorealism, close the tab.

Turn ideas into images with ChatPicture

60 free credits every day. Generate, edit, and download — no prompt engineering degree required.

Related articles