spine-hero
An agent skill for animating a 2D game hero from one painting, for Claude Code, Codex and Cursor. The painting is cut into parts on a Spine skeleton. A strong coding model writes each move as code on that rig, a script measures every capture, and a second, independent model checks close-ups against a list of every defect a human ever caught. A reference video of the hero gives timing only, an image model paints what the painting never showed (hidden parts, swappable gear, and key drawings for fast blows), and the human's eye decides.
Watch the 45-second explainer, or read it step by step below. The model named at each step is the one the original project used, as an example.
How it works
Before: every frame painted

The earlier design of the hero was a flipbook: 10 clips, 403 frames cut from generated videos, with the weapon, shield and armour in every frame. A new weapon meant redoing every clip.
After: one painting, cut into parts, on a skeleton

Every clip is then written as code on that rig, never as frames.
The pipeline
1. Plan and brief. The orchestrator writes one brief per move and starts one run per move, so moves are built in parallel.

2. Reference video. An image-to-video model animates the hero's own painting. It gives timing and beats only; it is never traced or used as frames.

3. Paint missing pieces. An image model paints what the painting never showed (a far arm), new gear (an axe, a mace, a tower shield), and key poses for fast blows.

4. Write each move. A strong coding model writes the move as keys and IK on the rig, builds it, captures it and looks at its own result.

5. Gate. A script measures the capture: sliding feet, ground speed, cracks, a move that does not end back at rest, anything drawn outside the hero's box. No model judges the numbers.

6. Check close-ups. An independent model goes through a list of every defect a human ever caught, on 2x close-ups of the feet and the head.

7. Final say. A human decides. Each flaw they catch becomes a new line in the defect list or a new gate check.

What comes out

Six moves on one skeleton. Below, the same taunt made the old way and the new way, on two designs of the hero.

Because the gear rides its own bones, a weapon or a shield can be swapped and every move still plays.

What is in the repo