/summer:character-modelfrom Summer Engine
Generates a rigged humanoid (player, NPC, enemy, boss) from a T-pose reference with a mandatory user-review gate before rigging. Outputs a .glb with a skeleton compatible with the generate-motion skill.
Ships in Summer Engine. 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.
This is the canonical auto-rig pipeline. It produces a humanoid .glb with a skeleton that generate-motion can drive directly. The work is two paid passes with a mandatory user-review gate between them: the rig pass costs more credits, so the user must see the un-rigged preview and approve it first.
The whole flow:
1. T-pose reference image → assets.generate_image (~10s)
2. Un-rigged 3D mesh → assets.generate_3d(image-to-3d) → a job (~60s)
3. ── USER REVIEW GATE ──
4. Rigged .glb → assets.rig(approved asset ID) → a job (~90s)
5. Import → editor RESTART → wire as CharacterBody3D / Node3D
6. Hand off to generate-motion for clips
The animation skill (generate-motion) requires a rigged humanoid; a static .glb won't drive motion.
assets.generate_3d returns a job. assets.rig returns a job for a new rig, or a completed result if the asset is already rigged. Follow a running job with jobs.wait({ jobId, timeoutSeconds: 50 }); repeat until result.finished is true, then check result.job.state is done before using result.job.result. A failed or cancelled job is not a successful result. Both passes spend credits: use dryRun: true to check the estimate before getting permission to spend.
prop-model.vehicle-model.facial-and-lipsync.Choose a target for the character's role and platform, and check that the selected model supports it before generation. Targets are approximate, not guarantees. Hunyuan Pro accepts an explicit target of at least 40,000 faces; the example below leaves it unset for the provider's automatic default. Inspect the generated mesh before approval, particularly for mobile or crowded scenes. Rigging can change geometry and weights, so verify the resulting model rather than assuming its topology is unchanged.
The rig pass requires a front-facing T-pose with arms out and legs slightly apart. If the reference is in an action pose, the rig will bend wrong and locomotion clips will look broken (knees inverted, elbows snapped — common Meshy failure mode).
assets.generate_image({
prompt: "A fantasy knight in full plate armor, red cape, T-pose, arms straight out horizontal, legs slightly apart, front-facing, neutral expression. Game character asset, stylized, clean white background, soft studio lighting, full body in frame, ready for 3D mesh generation.",
model: "nano-banana-2",
aspectRatio: "3:4"
})
The phrase T-pose, arms straight out horizontal, legs slightly apart, front-facing is load-bearing — drop any of those and the model will drift toward A-pose or a hero stance.
If the user already has a concept image in an action pose, re-pose it to T-pose via img2img without re-rolling the design:
assets.generate_image({
referenceImageUrl: "<existing concept image>",
prompt: "<character> in T-pose, arms extended horizontally, neutral facing camera, white background, clean lighting"
})
Use result.assets[0].fileUrl from the completed assets.generate_image response as the image URL in step 2. If no file URL is present, resolve the asset with assets.get before continuing.
Show the image to the user:
Generated the T-pose reference. [link]. Approve to proceed to mesh generation, or regenerate?
assets.generate_3d({
kind: "image-to-3d",
imageUrl: "<image url from step 1>",
model: "hunyuan"
})
jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 }) // again until finished
The finished job's result has assetId and fileUrl — an un-rigged static .glb.
Use the asset ID as the stable handle. Import it for preview only:
assets.get({ assetId: "<assetId>" })
summer_import_asset_by_id(
assetId="<assetId>",
path="res://assets/characters/knight_unrigged.glb"
)
Before paying for the rig pass, surface the un-rigged mesh:
Un-rigged knight mesh ready:
res://assets/characters/knight_unrigged.glb([preview link]; report the measured polygon count if known).Next step is the rig pass (uses credits, ~90s). It attempts to add a humanoid skeleton to this saved mesh. Once you approve I'll run it.
Approve the mesh and proceed to rig? Or regenerate the mesh first (different prompt, different polycount, different model)?
If the user wants changes, loop back to step 1 or 2. Do NOT silently run the rig pass — it spends more credits.
Use the approved saved mesh's asset ID, not the original image. Keep the unrigged preview file from step 2 before rigging: for an asset owned by the caller, rigging updates the same asset record to point to the rigged file.
assets.rig({ assetId: "<assetId>", dryRun: true }) // show estimate and get approval
assets.rig({ assetId: "<assetId>" }) // only after approval
If the call returns status: "running", wait for its job.id:
jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 })
Repeat while result.finished is false. When finished, require result.job.state to be done; otherwise report the failure and stop. The completed rig job supplies result.job.result.assetId. If the rig call instead returns status: "done" with result.alreadyRigged, use its result.assetId. Do not assume the job result has a rigAssetId or a top-level fileUrl.
Resolve the returned ID with assets.get and use the asset's current fileUrl for the rigged GLB. Save this ID as rigAssetId for assets.generate_motion. Import to a separate path, so the unrigged preview remains available:
assets.get({ assetId: "<rigAssetId>" })
summer_import_asset_by_id(
assetId="<rigAssetId>",
path="res://assets/characters/knight.glb"
)
Inspect the rig and mesh before claiming animation readiness; a successful job does not guarantee provider quality.
Known gotcha: after importing a rigged .glb, the Skeleton3D node appears stale in the scene dock — bones are missing, skeleton.get_bone_count() returns 0, and AnimationPlayer libraries fail to bind. The fix:
The rigged mesh is imported. Please restart the Summer Engine editor (close and reopen) so the Skeleton3D rebuilds correctly. Without the restart, animations will fail to bind.
No programmatic workaround is known. Tell the user, wait, then continue.
| Use case | Parent type | Why |
|---|---|---|
| Player or enemy that moves with code, collides with walls, jumps | CharacterBody3D | move_and_slide() API, kinematic physics, slope handling |
| Cinematic NPC (talks, idles, never moves under physics) | Node3D | No physics overhead; cheaper for crowds |
| Pure-visual character (background extra, dialogue head) | Node3D | Same as above |
| Ragdoll-on-death enemy | CharacterBody3D while alive, swap to RigidBody3D skeleton on death | Two-mode rig; see procedural-animation |
Three things the call shapes below encode:
summer_run_script included, takes an explicit scenePath, and the scene need not be the active editor tab.summer_run_script, not a chain of single calls..glb is instantiated, not assigned. There is no scene property on Node3D, and an imported .glb is a scene rather than a Mesh — on the shipped 4.6.1 binary ResourceLoader.get_recognized_extensions_for_type("Mesh") returns ["tres", "mesh", "res"], with no glb. Use ctx.instance_scene in a script, or summer_instantiate_scene for one model.CharacterBody3D wiring (player / enemy):
summer_run_script(scenePath="res://main.tscn", source="""
func run(ctx):
var knight = ctx.add_node("CharacterBody3D", "Knight", ctx.find("World"), {"position": Vector3(0, 0, 0)})
ctx.instance_scene("res://assets/characters/knight.glb", knight, "Mesh")
var capsule := CapsuleShape3D.new()
capsule.height = 1.7
capsule.radius = 0.4
ctx.add_node("CollisionShape3D", "Collider", knight, {"shape": capsule})
ctx.save_scene()
""")
Build the shape as a real resource and size it before you assign it. Later, one size change on that shape is one summer_set_resource_property (nodePath, resourceProperty="shape", subProperty, value, plus scenePath).
Node3D wiring (cinematic NPC):
summer_instantiate_scene(scenePath="res://main.tscn", parent="./World/Tavern", scene="res://assets/characters/wizard.glb", name="OldWizard")
summer_save_scene(scenePath="res://main.tscn")
The imported .glb includes its own Skeleton3D and AnimationPlayer (empty library). The animation skill writes into that AnimationPlayer.
Knight is wired at
./World/Knightwith an auto-rigged skeleton.rigAssetIdsaved.Next:
generate-motionto add idle / walk / run / attack clips. Example call:assets.generate_motion({ rigAssetId: "<saved id>", backend: "meshy-library", motionNames: ["walk"] }). For custom actions, usetext-to-motion(backend: "text-to-motion").
move_and_slide(), no collision — the player walks through walls.meshy model for the mesh step. Legacy. hunyuan is the default and produces cleaner topology that Meshy's auto-rig handles better.generate-motion will retarget but stride length needs playback_speed tuning on the AnimationPlayer.fps-controller for first-person wiring.In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-4, including the review gate, and stop when the rig pass finishes. Skip steps 5-6 (editor restart, scene wiring). Save the unrigged GLB before rigging, then save the rigged GLB to a different path using out on assets.get (the summer-assets skill says how). The caller-owned asset ID stays the same while its file URL changes. Tell the person both paths. Step 7 still applies: generate-motion runs without the engine.
.glb.res://assets/characters/; Summer Engine's Import dock picks it up.Inspect the output before relying on its skeleton or animation compatibility.
After the rigged character is wired:
Knightis at./World/Knightwith an auto-rigged skeleton. Next:
- Animations:
generate-motionfor idle / walk / run / attack. Pass the saved rigged asset ID from step 4 asrigAssetId.- State machine: after a few clips exist,
animation-treefor idle → walk → run blends.- Player input: if this is the player, wire WASD + mouse via
fps-controlleror a third-person controller skill.- NPC behavior: if it's an NPC,
design-npcfor behavior trees and dialogue hooks.- Re-skin variants (palette swap, armor swap): retexture pass — generate new albedo, assign via material override. Avoid re-rigging.
generate-motion — the next-step animation skill that consumes the rigged asset ID saved here as rigAssetId.asset-strategy — meta-router; this skill is the canonical drill-down of its "Image-to-3D for characters" path.prop-model — for non-character props.scene-composition — for the CharacterBody3D + Mesh + Collider parent pattern.summer_docs_read id reference/mcp-tools-reference — how to call assets.generate_3d, assets.rig, assets.generate_image and assets.generate_motion; summer_search returns each one's exact input.No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
assets.generate_3d, summer_assets_generate_3d | summer assets generate-3d |
assets.generate_image, summer_assets_generate_image | summer assets generate-image |
assets.generate_motion, summer_assets_generate_motion | summer assets generate-motion |
assets.get, summer_assets_get | summer assets get |
assets.rig, summer_assets_rig | summer assets rig |
summer_assets_search | summer assets search |
summer_docs_read | summer docs read |
summer_add_node | summer engine add-node |
summer_get_scene_tree | summer engine get-scene-tree |
summer_import_asset_by_id | summer engine import-asset-by-id |
summer_import_from_url | summer engine import-from-url |
summer_inspect_node | summer engine inspect-node |
summer_inspect_resource | summer engine inspect-resource |
summer_instantiate_scene | summer engine instantiate-scene |
summer_run_script | summer engine run-script |
summer_save_scene | summer engine save-scene |
summer_set_prop | summer engine set-prop |
summer_set_resource_property | summer engine set-resource-property |
jobs.wait, summer_jobs_wait | summer jobs wait |
summer_search | summer ops search "<what you want>" |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub summerengine/summer --plugin summer123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus.Other plugins' skills for the same job