Sulat.com / Writing on AISaturday, November 28, 2026
Agent Engineering/28 November 2026

Papercraft, Shikhar’s pop-up paper skill

Papercraft is an MIT-licensed agent skill by Shikhar, a creative engineer at fal. It teaches a coding agent to build games, pages and films that look like photographed pop-up paper. Here is what is in it and what I ran.

Papercraft agent skill: paper village and traveller folding up from an open pop-up book beside a glossy paper-crane app tile
Illustration: Sulat; scene renders from Shikhar's MIT-licensed papercraft skill

At a glance

  • Shikhar (@xikhar), a creative engineer at fal, published papercraft on GitHub on 21 November under the MIT licence; version 0.7.0 landed on 28 November and the repository had 986 stars and four commits.
  • It is a method, not a template pack: twelve laws of paper, a paper spec written before code, and a capture and critique loop of at most three rounds.
  • I ran its 3D template and structure sampler in headless Chromium with no page errors, but did not run capture.py, the tests or the npx skills installer.
  • In a one-prompt test through opencode and Morph, DeepSeek V4.1 Flash and Kimi K3.1 Pro each built a harbour scene that loaded cleanly, though Kimi's first run claimed success without writing any files.

Papercraft is an agent skill that teaches a coding agent to build games, web pages and films that look like a photographed pop-up book. Shikhar, a creative engineer at fal who posts as @xikhar, published it on GitHub on 21 November under the MIT licence. On 28 November he posted a video called “The paper rails”, made with Opus 5.5 and three.js, and pointed to the install line: npx skills add xikhar/papercraft. That post has about 26,400 views. The repository has 986 stars and four commits, and its latest, version 0.7.0, landed the same day.

Shikhar (@xikhar) on X, 28 November 2026: “The paper rails. Opus 5.5 + three.js.”

986

GitHub stars in seven days

12

numbered laws of paper in SKILL.md

0.7.0

latest version, pushed 28 November

What the skill is

An Agent Skill is a folder with a SKILL.md file that an agent loads when a task matches its description. Papercraft’s description says to use it when something should look, move or sound like paper or card, and not for real folding instructions, printable craft patterns or paper as in documents. It runs in any agent that reads skills, and the README names Claude Code, Codex, Cursor, Gemini CLI and OpenCode.

Hand-drawn card: npx skills add xikhar/papercraft pointing to Claude Code, Codex, Cursor and Gemini CLI
The README lists Claude Code, Codex, Cursor, Gemini CLI and OpenCode as agents that read Agent Skills.

It doesn’t ship a game. It ships a method. The agent is told that everything is a flat sheet of card with thickness, folded or slotted into shape and never sculpted, then lit and filmed the way a photographer would shoot a real paper model. The first section of SKILL.md sets out twelve laws:

  1. Every piece is a flat sheet with thickness, 1.5 to 3 per cent of the hero’s height. Trees and posts are two printed planes slotted at 90 degrees; buildings are folded boxes.
  2. Dead matte: diffuse light only, no specular, no reflections, under 1 per cent clipped pixels.
  3. One low key light from the side, with soft shadows tinted by the world: amber on warm ground, lilac-blue on snow, navy at night. Never grey or black.
  4. Every print is a small layered collage: three to five inks, a short shadow under each layer, a pale lip on the lit edges.
  5. A thin dark cut edge, with a pale highlight only on the edges that face the light.
  6. A long macro lens (24 to 32 degrees) looking 40 to 55 degrees down, with the printed ground running past every edge and a tilt-shift blur above and below one sharp band.
  7. The brief’s own palette, never the example scene’s.
  8. A dense world of 100 to 250 chunky pieces of about 20 kinds, in tight groups of different things.
  9. Anything walked on, under or into is built in 3D, not a standing flat.
  10. Paper moves by rotating about creases: a fast rise with an 8 to 15 per cent overshoot, settled in about a second, and nothing scales or fades in.
  11. Sound, if any, is soft, warm, low and sparse.
  12. The world is alive with three to five kinds of weather, flyers, smoke or creatures, small and slow.
Hand-drawn card titled Paper, folded up: a flat sheet standing on a hinge with side light and a soft shadow
The core idea: everything is a flat sheet that stands up on a hinge, lit from the side.

The file says its numbers “held up” in a shipped browser game and are “starting points, not decoration”, and that the brief always wins over them. Before any code, the agent has to fill in a “paper spec” with numbers for the palette, light, lens, motion, life and sound. It then proves the material on a single test card before building the world, and after the build it measures and critiques the frames for at most three rounds.

What is in the folder

Papercraft skill anatomy: SKILL.md of 359 lines over 16 references, 6 JS libraries, 2 templates, 5 Python scripts and a gallery
One folder, read in layers: SKILL.md first, the rest on demand. Counts are from the repository at version 0.7.0.

The skill folder is 6.4 MB. SKILL.md runs to 359 lines and routes the agent to 16 reference files only when it needs them, on structures, look, palettes, motion, sound, formats and process. The code is plumbing for the agent to import: paperkit-3d.js (paper material, cards with thickness, hinges, crosses, box and prism folds, soft shadows, the macro lens), paperkit-2d.js, paper-motion.js, paper-life.js, paper-sound.js and, new in 0.7.0, paper-music.js, a felt piano. Two templates, a three.js 3D one and a Canvas 2D one, hold the harness and a replaceable example scene. Five Python scripts handle capture, measurement, blind A/B sheets, paper textures and cutout extraction.

One rule sets it apart from a template pack. The README says the bundled code is “plumbing”, and the worked examples are “one countryside world to read, never a catalogue of parts”. The agent is told to design its own pieces for the subject. Image generation is optional and used only when the user asks for it.

Where it came from

The skill was distilled from a game. On 17 November Shikhar posted Papertrails, “an endless papercraft world that pops up around you”, built with Fable 5.2 and Opus 5.5 and running in the browser on three.js. That post passed 100,000 views. His thread describes the process the skill now encodes: the agent generated concept frames with GPT Image and collected real pop-up photos, measured their colours, edges and lighting, then ran one subagent per part with blind critics comparing every build against the reference. All the printed art was generated as one atlas and cut onto hinged cards. He made style guides for 15 biome types, and the agent looped through render, compare, critique and fix. The game is on GitHub under the MIT licence, with 266 stars.

On 21 November he posted “Turning this style into a skill” (43,700 views) and pushed the first commit. Version 0.5.0 followed that afternoon, with “worlds from the brief, structure types, living worlds, faster builds”, and 0.6.0 that night, with “any format, references as a way in, cards that never clip”. The 0.7.0 commit, a week later, added:

  • Films and dioramas without a hero. A scripted camera, rises, light and score, with a mixMood call that blends two lighting moods while it plays.
  • New kit pieces. Laminated cutouts of transparent art, stepped relief stacks, prism folds on any plan and a continuity check for camera cuts.
  • Video with sound. capture.py now encodes colour-checked MP4s through Chrome’s WebCodecs, mixes the paper sounds under the felt-piano score and verifies the frame count.
  • A wider gallery. Sixteen direction frames of other subjects, among them a reef, a space station, a rainy city, a bakery interior and a paper-style app screen. The skill’s own gallery notes call them “generated direction frames, not builds”.

Version 0.7.0 shipped the same day as the “paper rails” demo. Shikhar’s post names the model and three.js, and doesn’t say the rails were built with the skill. I haven’t seen the source behind the video. The week’s other demo, “Yearning for Adventure”, is in a different style, made with Gemini 4 Neon and three.js, and was posted on 27 November.

Papercraft skill week in numbers: 986 GitHub stars, 4 commits, 12 laws of paper, 26.4K post views, MIT licence
Stars as of 28 November 2026 from GitHub’s search API; commits and laws counted from the repository.

The pace is unusual. GitTrend’s snapshot on 27 November has the repository at 817 stars, with 874 gained over the previous seven days, a best day of 223 on 23 November, and a peak rank of 73 on GitHub’s daily trending list on 24 November. By 28 November GitHub’s search API reported 986.

What I ran

I cloned the repository at commit 30e9aaf (version 0.7.0), served the skill’s assets folder over HTTP and opened its 3D template in headless Chromium 28 November, with software rendering and no GPU. The example scene built and rendered with no page errors. This is the countryside world the template ships with, by day and with its night mood switched on:

Papercraft skill bundled countryside scene by day: paper cottages, crossed-plane trees, a river and a paper traveller
By day. The tilt-shift band, the scalloped roofs and the crossed-plane trees are all built from the skill’s own kit. Served from the skill’s template and rendered in headless Chromium on 28 November 2026. Scene by Shikhar, MIT licence; capture by Sulat.
Papercraft skill countryside scene at night: lit cottage windows, a lamp and blue-tinted paper shadows
The night mood: lit windows and a lamp, with the shadows turned blue. Scene by Shikhar, MIT licence; capture by Sulat.

The structure sampler page also rendered, with every structure type the skill defines in plain placeholders: the box fold, prisms on a hexagon, ten-sided and L-shaped plans, the full, half and quarter crosses, fan pairs, nested sails and the dome built from parallel slices. It’s the clearest picture of how the skill gets volume from flat card.

Papercraft structure sampler: box fold, prisms, full cross, half cross, fan pair, nested sails and dome made of paper
The skill’s structure sampler: every piece is a card, a cross, a fold or a stack. Template by Shikhar, MIT licence; capture by Sulat.

I didn’t run capture.py, the repository’s test files or the npx skills installer. The skill’s own porting notes for Godot, Unity, Unreal and Blender, engines.md, are labelled untested.

What I ran with an agent and Morph

A skill is only as good as what a different agent does with it, so on 28 November (NZ) I gave the folder to two models through opencode 1.19.6 and the Morph API. I used DeepSeek V4.1 Flash (morph-dsv41flash) and Kimi K3.1 Pro (morph-kimik31). Each got a fresh copy of the skill and the same prompt: build a pop-up papercraft diorama of a small lighthouse harbour town at dusk, replace scene.js in the three.js template, leave harness.js alone, check it with a render script, and stop after three render rounds.

This is the exact prompt both models got, word for word:

Code
Use the papercraft skill (in .claude/skills/papercraft; read its SKILL.md first and only the references you need).
Task: build a pop-up papercraft diorama of a small lighthouse harbour town at dusk, in three.js, in ./project/templates/popup-3d/ (the folder already holds the template harness and the example scene.js). Replace scene.js with your own harbour world: your own pieces, palette derived from the brief, a leading line (the quay), water, a few boats, a lighthouse with a lit lamp, at least 10 kinds of piece. No hero is needed (a diorama). Keep harness.js as is.
To check your work, run: NODE_PATH=$(npm root -g) node tools/shot.js ./project "templates/popup-3d/index.html?still&mood=dusk" ./out.png 40000   (it prints page errors; then look at out.png). Fix page errors. Do at most 3 render rounds, then stop and say what you verified and what you did not.

It was run headless with opencode run -m morph/morph-dsv41flash and opencode run -m morph/morph-kimik31, one model at a time, in separate folders.

RunWall timeWhat came outMy render check
DeepSeek V4.1 Flash14 min 50 sA new 58 KB scene.js, three render roundsNo page errors, 262 cards, built in 2.0 s
Kimi K3.1 Pro, first try2 min 39 sNothing. It reported success but wrote no files and produced no imageNot applicable
Kimi K3.1 Pro, second try10 min 19 sA new 29 KB scene.jsNo page errors, 180 cards, built in 1.4 s

I rendered both final scenes myself rather than trusting the agents’ reports, in headless Chromium with software WebGL, and both loaded cleanly. For scale, the skill’s own template built 363 cards in 4.9 s on the same machine. Both agents left harness.js byte for byte unchanged, as asked.

Papercraft harbour at dusk built by an AI coding agent: red and white striped paper lighthouse, small paper houses with lit windows and a dark paper sea
Kimi K3.1 Pro’s second attempt: a striped lighthouse, five houses and a jetty. Scene generated by the model with Shikhar’s MIT-licensed skill; render by Sulat.
Animation of an AI-built papercraft harbour: paper houses and a striped lighthouse pop up from flat sheets at dusk
The same Kimi scene popping up. Twenty-four frames, 0.2 seconds apart, stepped through the page’s own clock and stitched by Sulat.
Papercraft harbour at dusk built by an AI coding agent: paper lighthouse on a rock, tiled-roof houses with lit windows, a quay with crates and boats on paper water
DeepSeek V4.1 Flash’s scene: a curved quay, a lit lighthouse and boats on the water. Scene generated by the model with Shikhar’s MIT-licensed skill; render by Sulat.

Both frames read as paper: matte sheets, a side light, tilt-shift blur and tinted shadows. That is the skill doing its job on models that had never seen it. They are also plainly weaker than Shikhar’s own examples. The DeepSeek foreground is crowded with small crates and signs that read flat, which the model itself flagged in its closing notes. The Kimi scene is cleaner but sparser.

The failures matter more than the pictures. Kimi’s first run told me it had finished while nothing existed on disk, so any workflow that trusts an agent’s “done” needs a check like my render step. The DeepSeek run also stalled for several minutes after it wrote a helper script outside the project folder. Kimi has a tight per-minute token limit on this key, which is why I ran the two models one after the other.

This is a sample of one prompt per model, not a benchmark. I didn’t compare against a run without the skill, so I can’t say how much of the paper look comes from the skill and how much from the template it points at. I used my own screenshot script rather than the repository’s capture.py, and I did not record a video. The animation is stitched stills.

How it compares

Skills for graphics are a crowded corner of the Agent Skills ecosystem, and papercraft is unusual in being one look rather than a toolbox.

SkillWhat it teachesCreatedStarsLicence
xikhar/papercraftOne style, any subject: pop-up paper worlds, pages and films, with a capture and measure loop21 November 2026986MIT
scottstts/Threejs-Awesome-Graphics-Agent-SkillsThree.js graphics systems: mesh design, lighting, PBR, shaders, TSL and WebGPU, post-processing, particles. It says it is not an API cheat sheet19 June 20261,047MIT
xikhar/atlas (Shikhar’s earlier pack)Three.js shaders and renderer pipeline for polished 3D scenesJuly 2026 (first listed 24 July)6Not checked
Stars from GitHub’s search API on 28 November, except atlas, which is from its skills.sh listing. Repository pages for creation dates and descriptions.

The graphics pack asks the agent for general three.js quality across any look, and installs through its own command into Codex, Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf and others. Papercraft fixes the look and hands the agent the numbers for it, from card thickness to blur radius. The two are complementary: a general pack for shaders and post-processing, a style skill for what the frame should feel like. The AI UX Playground directory lists papercraft under Visual Design beside Anthropic’s canvas-design and theme-factory skills, which cover static art and document themes rather than interactive worlds.

Papercraft also lands in a run of agent-made browser 3D. Google’s Gemini 4 Neon launch post, from 18 November, highlights a first-person WebGL2 ski simulator, an interactive Turing’s study and a 100,000-cell spreadsheet relit with formulas, all written by the model. Shikhar’s own week shows two models and two styles side by side: Opus 5.5 for the paper rails and Gemini 4 Neon, priced at US$3 per million input tokens and US$15 per million output, for “Yearning for Adventure”. What the skill adds is the part a model doesn’t know by default, which is a specific look expressed as numbers.

What to know before you use it

  • It needs a network and a toolchain. The templates import three.js 0.187.0 from the jsDelivr CDN. The scripts need Python 3 with numpy and Pillow, and capture.py also needs Playwright with Chrome, plus ffmpeg for video.
  • It runs code on your machine. The skill ships five Python scripts that launch a browser and write files. Read them before an agent runs them, and run them in a scratch folder.
  • Builds are heavy. A print costs pixels times layers, and the skill’s own notes put most prints at 2 to 8 ms and big many-layered ones at 50 to 100 ms. On software rendering my night capture of the bundled example took about a minute.
  • The range gallery is not proof of range. The sixteen frames of reefs, stations and cities are generated images, not builds. The quality bar is the five worlds from the shipped game.
  • It is one person’s project. Four commits from a single author in a week, and no tagged releases or issue history to judge it by yet. Shikhar says he’ll “keep improving slowly by testing it more”.
  • Taste stays with you. The skill’s gotchas note that metrics and critics push towards more bob, more sound and more detail, and that when in doubt the owner of the source project took something away.

Try it

  1. Install the skill with npx skills add xikhar/papercraft, or copy skills/papercraft/ into your agent’s skills folder.
  2. Ask for something paper. The README’s examples: “make our bakery landing page feel like a pop-up storybook”, “a dome on Mars as a paper diorama, with a rover that pops up”, and “an 8-second vertical Reel of a paper lighthouse town waking up at dawn”.
  3. To see the template first, serve skills/papercraft/assets with npx serve or python -m http.server and open /templates/popup-3d/. Add ?mood=night or ?still to the address, and open /templates/popup-3d/structures.html for the sampler.
  4. Give it references if you have them. A photo of a real paper model can be the look target itself, and a moodboard gives it the theme.
  5. Expect to steer. Ask for one test card first, then the world, and judge frames at 100 per cent, as the skill’s own checklist does.

Sources