Kaivenofficial

Snapfit — Development skill for Claude Code

Development community

One picture in, a robot that builds itself out.

How to install Snapfit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Kaivenofficial/snapfit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Snapfit does

One picture in, a robot that builds itself out. A free Claude Code skill: build a 3D robot from one picture, then upgrade it against the picture.

Alternatives in Development

  • Docmancer — Find out what your coding agents already know 121 ★
  • Backtalk — Talk to your Claude Code agent out loud 37 ★
  • Hatch3r Ask — Answer a free-form question about the user's codebase, read-only 26 ★

README

SNAPFIT

One picture in, a robot that builds itself out.

![Claude Code × SNAPFIT: self-building robots](docs/img/banner.jpg)

SNAPFIT is a free Claude Code skill. Give it a picture of a robot and a flat-pack picture of the same robot, and it builds the robot in three.js from code: no 3D model, no download. The robot drops onto the floor in pieces, then the SNAPFIT button snaps it back together, layer by layer, while a counter climbs to the last part. Then it powers on, shows what it does, comes apart on a turntable, reassembles and leaves.

Each robot is one offline HTML page with a cursor that drives a 24.5 second tour, live cards, its own music, and a button for every act.

Then `upgrade` grades the robot against its picture, with a checklist and with numbers, until it looks like the picture.

Install

npx skills add Kaivenofficial/snapfit -g -a claude-code

Then, once, in the installed folder:

cd ~/.claude/skills/snapfit && npm install && npx playwright-core install chromium

Python 3 with numpy, Pillow and scipy runs the measuring tools. Claude Code installs them if you ask.

Use

Make 2 pictures in ChatGPT with the prompts in [docs/PROMPTS.md](docs/PROMPTS.md): the hero shot, then the same robot taken apart and laid out flat from above.

![The two pictures](docs/img/input.jpg)

/snapfit build [the dragonfly]. Pictures attached.
/snapfit upgrade [the dragonfly]. Picture attached.

The build measures the picture first, builds every part in code on one palette ([docs/PALETTE.md](docs/PALETTE.md)), registers every part with a layer, lays the flat pack out like the second picture and writes the tour as one script. The upgrade runs rounds against the picture and stops after round 2 for your notes ([docs/UPGRADE.md](docs/UPGRADE.md)).

![SNAPFIT: 0, 634, 1,208, then 1,638 of 1,638 parts](docs/img/build.jpg)

The six robots

All six ship as code. Build one and open it in a browser:

node tools/build.mjs dragonfly

|