explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: the questions readers ask first
  • What is the Papercraft agent skill?
  • How does the skill make something look like paper?
  • How do you install and try it?
  • What does it need on your machine?
  • What does the gallery show?
  • How does it compare with other approaches?
  • What are the limits and risks?
  • What should you do with it?
  • Related reading
← Back to blog

explainx / blog

Papercraft: The Agent Skill That Makes Games and Pages Look Like Pop-Up Books

Agent Skills, Claude Code, GitHub Trending, three.js, AI Coding Agents

Part of Agent Skills

xikhar/papercraft is an MIT agent skill that teaches coding agents a pop-up paper look for three.js games, pages and Reels. Install, limits and costs.

Nov 29, 2026·10 min read·Yash Thakker
add explainx.ai
go deep
Papercraft: The Agent Skill That Makes Games and Pages Look Like Pop-Up Books

The xikhar/papercraft repository gained about 1,427 GitHub stars in its first week, and it holds a single thing: an agent skill that teaches a coding agent one visual style. Tell the agent to build a bakery landing page, a harbour town or a Mars dome, and the skill steers it toward a pop-up papercraft look: printed cardstock pieces that fold up on hinges from a printed ground, soft coloured shadows and a tilt-shift macro lens. The README says it needs no image generator.

This post explains what the Papercraft skill contains, how to install it, what it asks of your machine, and where its limits are. It sits in the growing family of agent skills, and like the Stageshow skill for product demos, it shows how a skill can carry taste and measurable rules, not just procedure.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

TL;DR: the questions readers ask first

table · 2 cols
QuestionAnswer
What is it?One agent skill for a pop-up paper look, in games, pages, animations and videos.
Who made it?The GitHub user xikhar. The skill front matter lists version 0.7.0.
Install?npx skills add xikhar/papercraft
Which agents?Any that supports Agent Skills: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.
License?MIT.
Needs an image model?No. The agent writes the pieces in code.
Runs where?In the browser with three.js, or Canvas, SVG and CSS for 2D.
Output formats?16:9 film, 9:16 Reel, square or 4:5 post, 4K master, ultrawide still, phone page.
Maturity?Young. The repo page shows 4 commits and 2 open issues at the time of writing.

What is the Papercraft agent skill?

The README describes it as an "agent skill to build games, interactive scenes, web pages and animations in a handcrafted pop-up papercraft style." The subject is open. Your prompt and references decide the palette, buildings, creatures and weather. The skill supplies the method for making any of them read as paper.

The repository has a clear layout. A SKILL.md file plus a references/ folder that the agent loads on demand. An assets/ folder with a lib/ of plumbing code, worked examples, two templates, a gallery and a lighting file. A scripts/ folder with capture.py, extract_cutouts.py, measure.py, ab_sheet.py and paper_textures.py. And a tests/ folder with unit, cutout and browser tests.

That is more than a typical skill. Most skills are a single instruction file. This one ships a small kit: code the agent can import, scripts that measure the result, and tests that check the kit itself.

How does the skill make something look like paper?

The SKILL.md opens with a set of numbered laws. They read like a style guide written for a machine, with numbers instead of adjectives. A few examples from the file:

  • Everything is a flat sheet with thickness. Card thickness should be 1.5 to 3 percent of the hero's height. The file says a zero-thickness plane reads as a sticker and a thick one as foam board.
  • Dead matte. Diffuse light only, no specular highlights, no reflections. Any sheen at grazing angles "reads as plastic or wet."
  • One low key light from the side, with coloured shadows. The key sits 45 to 65 degrees off the camera axis. Shadow hue comes from the world: amber on warm ground by day, lilac-blue on snow, teal under water. Never grey or black.
  • A macro lens looking down. A long lens with a 24 to 32 degree vertical field of view, the camera 40 to 55 degrees down, and the printed ground running past every frame edge, so no horizon shows.
  • A dense, chunky world. The file asks for 100 to 250 pieces of about 20 kinds in frame, in tight groups of four to eight different pieces.
  • Paper moves by rotating about creases. Pieces rise fast with 8 to 15 percent overshoot and a two to three cycle quiver, and nothing scales, stretches or fades in.

Stacked offset cards illustrating how Papercraft layers printed paper pieces on a base sheetStacked offset cards illustrating how Papercraft layers printed paper pieces on a base sheet

The rules are specific enough to check. That is the point of the measure.py script, which the SKILL.md says reads a focus height value for the sharp band of the frame, and a bare-ground percentage for how packed the scene is. The agent builds a frame, measures it, compares the numbers to the targets and critiques its own output. The README calls this a "measure-and-critique loop."

How do you install and try it?

Install with the skills CLI:

bash
npx skills add xikhar/papercraft

Or copy skills/papercraft/ into your agent's skills folder by hand. Then ask for something paper-themed in plain language. The README gives sample prompts such as a bakery landing page, a harbour town that folds out of the ground, a Mars dome with a rover, a 20-second city animation rendered to MP4, a night market on stilts, and an 8-second vertical Reel of a lighthouse town at dawn.

To preview the bundled templates yourself, serve skills/papercraft/assets/ over HTTP and open /templates/popup-3d/ or /templates/popup-2d/. Add ?still for a fixed overview or ?size=1080x1920 for another format. You can walk the hero with WASD or the arrow keys. The 3D template also runs without a hero, which suits a diorama or a scrolling page.

For your own project, the README says to copy assets/lib/ and the template harness, write your own scene.js, and point the import map at the folder that contains lib/. To render frames or clips, run capture.py, for example with --size reel and --audio.

A shelf of rounded skill cards with one pulled out, showing how an agent skill folder is installed and loaded on demandA shelf of rounded skill cards with one pulled out, showing how an agent skill folder is installed and loaded on demand

If you have not used skills before, our agent skills guide explains the folder format, and the Claude Code command reference covers how Claude Code loads them.

What does it need on your machine?

The SKILL.md front matter lists the compatibility notes. Templates and the kit run in any modern browser, with three.js r187 loaded from a CDN. The scripts need Python 3 with numpy and Pillow. capture.py also needs Playwright with Chrome, and ffmpeg for video. Node runs the unit tests, Python runs the cutout and browser tests, and the browser suite takes about three minutes, per the README.

Two practical consequences follow. First, the CDN import means your finished page depends on a network fetch of three.js unless you bundle it yourself. Second, video output needs a headless browser and ffmpeg, so this is a workstation workflow, not something to run inside a locked-down sandbox without those tools.

What does the gallery show?

The skill ships a gallery of five worlds taken from the source game, a three.js pop-up game: forest, desert, snow, spring and autumn. Each is paired with its prompt. A second folder called range holds sixteen more direction frames of other subjects, such as a reef, a station deck, a rainy city and a page UI. The SKILL.md tells the agent to look at them "for the quality bar and the range, never for content," and it warns that blind tests copied the example's roof colours and greens into a space station when the agent was shown hex values. The file therefore asks the agent to derive a palette from the brief instead.

That detail is a useful lesson for anyone writing skills. Examples are strong anchors. If you include finished work, the model may copy it, so the skill spells out what to take from it and what to ignore.

How does it compare with other approaches?

There are three common ways to get a distinct look from an AI coding agent.

table · 3 cols
ApproachWhat you getCost and risk
Image model for every assetFast, varied artPer-image cost, inconsistent style, files to host
A design tokens file such as DESIGN.mdColours, type and spacing rulesWorks for UI chrome, weak for 3D scenes
A style skill like PapercraftRules, kit code, measuring scripts and testsNarrow to one look; needs Python, Playwright and ffmpeg for full use

Our guide to DESIGN.md templates covers the middle row. Papercraft goes a step further than tokens: it carries construction methods, lighting numbers and motion curves for one style. Compare also the code-driven illustration approach, where frontier models write SVG or code instead of producing raster images. Papercraft follows the same idea: the agent writes the art as code, which keeps it editable and small.

For a three.js example built end to end by an agent, see the Age of Dragon open-world RPG. And if you want a broader pack of skills for engineering work, the Addy Osmani agent skills pack is a good contrast: it teaches process, where Papercraft teaches a look.

What are the limits and risks?

Be clear about what the evidence supports. The star count is real, but it is a young repo: about 1.4k stars, 137 forks, 7 watchers, 4 commits and 2 open issues on the repo page. The skill version is 0.7.0. There is no independent review or benchmark of the output quality that we could find, so the claim that it makes scenes "read as paper" rests on the author's gallery and rules.

Other limits to weigh before you adopt it:

  • One style only. The description says to use it when something should look "like paper or card (pop-up, papercraft, paper diorama, cut-out, made of paper, handmade, storybook)." It is not a general design skill.
  • Not for printable patterns. The description rules out real folding instructions and printable craft patterns.
  • Heavy rules. The SKILL.md is long and dense with numbers. A smaller model may not follow all of them, and long skills cost context tokens each time they load. References load on demand, which helps.
  • Dependencies. Full use needs Python packages, Playwright with Chrome and ffmpeg.
  • Performance. A dense scene of 100 to 250 pieces with blur and shadows in three.js can be heavy on phones. The README does include a phone page format, but test on real devices before shipping a public page.
  • Trust. A skill is instructions plus scripts your agent may run. Read scripts/ before running them, as you would with any code from a new repo with few commits.

What should you do with it?

If you build games, landing pages or short social clips and want a handmade look without paying for image generation, try the skill on one small prompt, such as a vertical Reel. Run it in a throwaway project, read the generated scene.js, and check the measure output against the SKILL.md targets. If the look fits, keep the kit and reuse it.

If you lead a team that builds with agents, the more useful lesson is the format. A strong skill states rules as numbers, ships a kit, gives the agent a way to measure its own output, and tests itself. That is a pattern worth copying for your own brand style. Our AI Builder workshop covers writing and testing skills like this for teams.

Related reading

  • What are agent skills? A complete guide
  • Stageshow: a skill for faux product UI in React
  • Addy Osmani's production agent skills pack
  • Age of Dragon: a vibe-coded three.js RPG
  • Code-driven AI illustrations versus image models
  • DESIGN.md templates for AI agents
  • Claude Code commands reference
  • Official: xikhar/papercraft on GitHub, three.js

Repository details, star counts and version numbers are accurate as of November 29, 2026 and will change as the project updates.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 15, 2026

cinecode: A Skill That Lets Claude Code Make Whole Films From Code

The sarpstar/cinecode repository passed 2,500 GitHub stars in its first ten days. It is a skill for coding agents that plans a film, builds every frame with three.js in headless Chrome, designs the sound, and hands back a finished MP4. Here is how it works, what you need, and where it will hurt.

Nov 8, 2026

claude-animated-shorts: Remotion + three.js Skill for Agent-Built Story Shorts

The mromidev/claude-animated-shorts repository has about 2,200 GitHub stars since November 1, 2026. It packages a free Claude skill that turns coding agents into a repeatable pipeline for vertical animated story shorts: ink-outline 2D characters in a painted 3D world, rendered locally with Remotion and three.js, with no generative video API.

Nov 7, 2026

benjitaylor/skills: Stageshow Teaches Coding Agents to Build Product Demos

The benjitaylor/skills repo gained about 2,200 GitHub stars since October 26, 2026, with a single skill inside: Stageshow, which teaches coding agents to build faux product UI, cursor demos and feature cards in React. Here is what it contains, how to install it and where it falls short.