/godot-dev:godot-rigged-characterfrom godot-dev
Imports rigged humanoid GLB models into Godot with BoneMap retargeting to SkeletonProfileHumanoid, AnimationLibrary creation, prop attachments, and spring bone setup.
Ships in godot-dev. 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.
The skeleton contract maps to SkeletonProfileHumanoid, and a BoneMap in the .import file
retargets the model on import, headless: the skeleton comes out renamed to the profile's bones,
every clip's tracks with it, so any clip retargeted the same way plays on any contract character.
This skill is that import, the checks that prove it happened, and what hangs off the skeleton
afterwards: clip libraries, props on bones, spring chains.
| The situation | Read |
|---|---|
A rigged .glb and its bone-names/1 file arrived; make it a humanoid | reference/retarget.md §1–3, scripts/bone_map.py |
| The import ran but the bones kept their exported names | reference/retarget.md §3 (the skeleton path, the whole-second rule) |
| What the retarget changed: names, unique skeleton, motion scale, rests, track paths | reference/retarget.md §4 |
| Root motion reads small, or a position track's numbers look wrong | reference/retarget.md §4, "divided by motion_scale" |
| A file of clips should play on the character: an AnimationLibrary, one per source | reference/retarget.md §5 |
| Prove every import: required bones, upright, left at +X | reference/retarget.md §6, resources/retarget_post_import.gd |
| Which profile bone is which; Little not Pinky; the thumb's joints; required bones | reference/profile-bones.md |
| A parcel in the courier's hand; a socket bone | reference/retarget.md §7 |
Hood, bag, hem or hair should swing: secondary/2 to spring bones | reference/secondary.md, resources/secondary_springs.gd |
| Springs do nothing in a test, or collider offsets vanished | reference/secondary.md §3 |
| The contract itself, role maps, the engine-name columns | blender-retarget → reference/humanoid-contract.md |
| What crosses the Blender export (props, drivers, shape keys) | blender-retarget → reference/engine-handoff.md |
python3 scripts/bone_map.py tres models/courier_rig.bone-names.json --out models/courier_rig.bone_map.tres
godot --headless -l en --path . --import
python3 scripts/bone_map.py import-entry models/courier_rig.glb.import \
--bone-map res://models/courier_rig.bone_map.tres --import-script res://rig/retarget_post_import.gd
godot --headless -l en --path . --import # look for RETARGET_CHECK {"pass":true,...}
tres refuses a names file that is not bone-names/1 for godot, or names a bone the profile
lacks (exit 1), and fails when any of the 17 required profile bones is unmapped (exit 2, nothing
written). import-entry merges "retarget/bone_map": Resource(...) for the skeleton node into
_subresources, keeping the file's other settings, reads the skeleton's node path from the glTF
(--skeleton auto), sets the import script, and moves the file's time on a second so the next
import sees the edit. Godot exits 0 whatever happens; the verdict is the RETARGET_CHECK line and
the absence of an ERROR: line.
Socket.R and the cc_ chains as exported. Game code finds sockets and chains by
their exported names and humanoid bones by profile names, on every contract character.%GeneralSkeleton:<bone>. A clip library imported with the same BoneMap binds to it.Skeleton3D.motion_scale set to the hips' height, and position tracks stored divided by it;
get_root_motion_position() gives metres back.Vector3.MODEL_FRONT), so root motion runs along +Z in the model's space.contract_map.py --godot-out); a wrong mapping is fixed in the role map and the file rebuilt,
then the BoneMap, then the import.retarget_post_import.gd as the import script costs nothing and turns a
silent non-retarget (a wrong skeleton path prints no error) into an ERROR: line.--remove-unmapped-tracks removes the tracks
of every bone outside the map, a keyed tail or hood included.secondary/2 in _ready
(secondary_springs.gd); an import script's colliders lose their offsets when the scene is
saved, and a hand-built simulator drifts from the asset side's file.skeleton_updated. Anywhere else returns the animated pose and a
test of secondary motion passes on nothing.BoneAttachment3D, never weighted into the body: swap, drop and
hand over are reparenting.| File | What it is |
|---|---|
scripts/bone_map.py | tres: bone-names/1 to a BoneMap .tres; import-entry: the BoneMap (and import script) into a .import; --selftest runs inside Blender and needs Godot |
resources/retarget_post_import.gd | import script: the checks of reference/retarget.md §6, a RETARGET_CHECK line, meta retarget_check on the root |
resources/spring_chains.gd | build(skeleton, secondary, names, owner): one SpringBoneSimulator3D with a setting per chain and a collider per collider |
resources/secondary_springs.gd | the node that calls it on ready from the two JSON files |
| Not here | Go to |
|---|---|
| A model with no skeleton: import settings, collision, LODs, the budget audit | godot-3d-models |
| State machines, blend spaces, root motion applied to a body, clip events | godot-animation |
| Moving the character: the controller, grounding, the camera | godot-3d-controller · godot-camera |
| The contract, role maps, retargeting a clip library in Blender, the export | blender-retarget |
Making the cc_ chains and their colliders | character-autorig |
| The character, stage by stage, and which skill owns each | game-character-pipeline |
| Which body, clip or map file is approved | art-asset-registry |
reference/profile-bones.md (opens in a new tab)reference/retarget.md (opens in a new tab)reference/secondary.md (opens in a new tab)resources/retarget_post_import.gd (opens in a new tab)resources/secondary_springs.gd (opens in a new tab)resources/spring_chains.gd (opens in a new tab)scripts/bone_map.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub tipoli5890/game-studio --plugin godot-dev28 skills in this plugin
/godot-2d-controllerMove a 2D character in Godot: CharacterBody2D jump, coyote time, jump buffer, slopes, one-way and moving platforms, top-down movement./godot-2d-renderingGodot 2D look: draw order, z_index and y-sort, CanvasLayer, 2D lights and shadows, canvas shaders, Parallax2D, pixel-perfect scaling./godot-2d-rigA layered 2D character into Godot: rig2d.json to Skeleton2D, Bone2D and weighted Polygon2D parts, cut-out animation, 2D IK./godot-2d-spritesSprite frames into Godot: frames.json to SpriteFrames, AnimatedSprite2D, sheet slicing, pivots, filtering and import for pixel art./godot-3d-controllerMove a 3D character in Godot: CharacterBody3D grounding, slopes and steps, third and first person, lane runner, click-to-move./godot-3d-modelsBring a glTF model into Godot: import settings, post-import script, materials, LODs, collision; audit it against a triangle and texture budget.