/spine-hero:spine-herofrom spine-hero
Animates 2D game characters from a single painting on a skeletal rig (Spine or similar). Covers rigging, painting hidden parts, authoring clips as code, timing reference videos, and gating captured clips with scripted checks.
Ships in spine-hero. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One painting of the hero is cut into parts on a skeleton, and every clip is written as code on that rig. Models author and look, scripts measure, and the human's eye decides. The expensive model only does the work that needs taste.
metrics.json and the close-ups. Nothing below can be judged without it. gate gives the contract and when it is done.These two are most of the setup work and are yours to do: in the original, the capture alone was about six times the size of the gate script. The loop below starts once both exist.
Then the idle (on the rig, never from video), then the walk and run, then the moves.
metrics.json, run scripts/gate.mjs. No model judges numbers. See gate.gate.json, the contact sheet and the 2x feet and head close-ups, and judges what numbers cannot (weight, paint, doubled parts).references/defects.md.A failed gate, review or check goes back to the same author tier, up to 3 rounds. After that, one tier up for 3 more rounds. If it still fails, stop and bring the human the gate output and the video. Roles and tiers: pipeline. With one agent, run author, review and check as separate passes with fresh context: orchestration.
clips.json holds each clip's duration and loop flag, and the walk's and run's groundSpeed and loopWindow. The hero's spec holds the same speeds, the standing height, the sole bones and a box.For a smaller set (an idle, a walk and one attack, say), apply the same list to the clips you ship: the run and the other moves are not required.
| File | Read it when |
|---|---|
| references/pipeline.md | planning who does what, and which model tier |
| references/rig.md | building the rig from the painting (step 0); conventions; the idle |
| references/locomotion.md | a walk or a run |
| references/moves.md | a stance, a blow, held key drawings, gear and swaps, ranged weapons |
| references/reference-video.md | making the timing reference, with or without a video model; the beats file |
| references/defects.md | every visual check (13 defects a human caught that checks missed) |
| references/gate.md | the capture (step 0b), each check and its limit, setting limits for a first hero |
| references/orchestration.md | briefs, one run per move, the build lock, budgets, the ladder, one-agent mode |
scripts/gate.mjs, scripts/gate-limits.json | gating a capture: node scripts/gate.mjs <run>/metrics.json --kind idle|walk|run|move |
scripts/with_lock.sh | several authors building on one rig at once |
assets/metrics.example.json | an example of the capture contract |
assets/metrics.example.json (opens in a new tab)references/defects.md (opens in a new tab)references/gate.md (opens in a new tab)references/locomotion.md (opens in a new tab)references/moves.md (opens in a new tab)references/orchestration.md (opens in a new tab)references/pipeline.md (opens in a new tab)references/reference-video.md (opens in a new tab)references/rig.md (opens in a new tab)scripts/gate-limits.json (opens in a new tab)scripts/gate.mjs (opens in a new tab)scripts/gate.test.mjs (opens in a new tab)scripts/with_lock.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2d-animation, spine, skeletal-animation, game-dev, character-rigging
npx claudepluginhub enoch3712/spine-hero-skill --plugin spine-heroOther plugins' skills for the same job