Skip to main content
character-model is a skill from the Summer skill library: a guide your AI agent reads when the task matches, so it builds the good version on the first try. Generate a rigged humanoid (player, NPC, enemy, boss) from a T-pose reference, previewed before rigging.

When your agent uses it

  • Generating a humanoid character ready for animation — player avatar, NPC, enemy, boss, companion
  • The user asks for a rigged humanoid or a model with a skeleton

Install

summer setup installs every skill for your agent. To add only this one:
Swap claude-code for your agent, such as codex or cursor. See Skills for every option.

The skill

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:
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.

When to use

  • “Make a knight character for the player to control.”
  • “I need a goblin enemy.”
  • “Generate an old wizard NPC for the tavern.”
  • “Create a boss — a four-armed demon.”
  • The user is about to ask for animations and has nothing rigged yet.

When NOT to use

  • Static statue / mannequin display piece (no rig needed) → prop-model.
  • Vehicle with a “driver” silhouette but no skeleton needed → vehicle-model.
  • Quadruped (wolf, horse, dragon) → Meshy auto-rig is humanoid-only. Generate the mesh here for visuals, but skip the rig step — animation will need a hand-authored skeleton or a quadruped-specific provider (out of scope for this skill).
  • The user already has a rigged character and just wants a re-skin — that’s a retexture pass, not this skill.
  • Facial blendshapes / lipsync rig → facial-and-lipsync.

Polycount targets

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.

Steps

1. Generate the T-pose reference image

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).
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:
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?

2. Generate the un-rigged 3D mesh

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:

3. STOP: USER REVIEW GATE — DO NOT SKIP

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.

4. Run the rig pass

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.
If the call returns status: "running", wait for its job.id:
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:
Inspect the rig and mesh before claiming animation readiness; a successful job does not guarantee provider quality.

5. WARNING: Restart the editor

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.

6. Wire as CharacterBody3D or Node3D — pick the right parent

Three things the call shapes below encode:
  • Every scene tool, summer_run_script included, takes an explicit scenePath, and the scene need not be the active editor tab.
  • A character is several nodes: build it in one summer_run_script, not a chain of single calls.
  • A .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):
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):
The imported .glb includes its own Skeleton3D and AnimationPlayer (empty library). The animation skill writes into that AnimationPlayer.

7. Hand off to animation

Knight is wired at ./World/Knight with an auto-rigged skeleton. rigAssetId saved. Next: generate-motion to add idle / walk / run / attack clips. Example call: assets.generate_motion(\{ rigAssetId: "<saved id>", backend: "meshy-library", motionNames: ["walk"] \}). For custom actions, use text-to-motion (backend: "text-to-motion").

Anti-patterns

  • Skipping the user-review gate. Spends the rig credits, locks the design, and removes the user’s chance to course-correct cheaply.
  • Generating the mesh from a non-T-pose image. Locomotion will look broken (inverted knees, snapped elbows). Always re-pose first.
  • Forgetting the editor restart. Animations will appear to bind successfully but play to a stale skeleton — the character T-poses motionless. The fix is always restart, never code.
  • Wrapping a cinematic NPC in CharacterBody3D. Wastes physics ticks; use Node3D.
  • Wrapping the player in Node3D. No move_and_slide(), no collision — the player walks through walls.
  • Picking the rig pass before approving the silhouette. The mesh defines what the character looks like; once the rig is on, you can’t cheaply iterate the design.
  • Using meshy model for the mesh step. Legacy. hunyuan is the default and produces cleaner topology that Meshy’s auto-rig handles better.

Edge cases

  • Multiple characters share a silhouette. Generate the rig once, then re-skin via texture swap (cheaper than re-rigging): generate a new albedo and assign it as a material override.
  • Character has wings, tail, extra limbs. Meshy’s humanoid rig only weights the standard skeleton — extras sag. Either prompt them as static (e.g. cape held by physics in-engine) or hand-rig in Blender post-export.
  • Child / dwarf / giant. Generate at correct proportions in the T-pose; the rig retargets cleanly. Locomotion clips from generate-motion will retarget but stride length needs playback_speed tuning on the AnimationPlayer.
  • First-person hands-only character. Generate just hands + forearms in T-pose; rig pass still works. See fps-controller for first-person wiring.
  • Stylized non-human (goblin, orc, halfling). Works fine as long as the silhouette is bipedal with two arms, two legs, one head. Quadrupeds and centaurs do not.

Without Summer Engine

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.

Fallback (no MCP)

  1. Generate the T-pose reference in the Summer dashboard.
  2. Generate and review the unrigged mesh. If the dashboard can rig an existing saved model, rig that approved model after credit approval. Otherwise explain that the approved mesh cannot be submitted through this fallback; do not silently regenerate it.
  3. Download the .glb.
  4. Drop into res://assets/characters/; Summer Engine’s Import dock picks it up.
  5. Restart the editor.
  6. Wire as CharacterBody3D / Node3D in Summer Engine manually.
Inspect the output before relying on its skeleton or animation compatibility.

Handoff

After the rigged character is wired:
Knight is at ./World/Knight with an auto-rigged skeleton. Next:
  • Animations: generate-motion for idle / walk / run / attack. Pass the saved rigged asset ID from step 4 as rigAssetId.
  • State machine: after a few clips exist, animation-tree for idle → walk → run blends.
  • Player input: if this is the player, wire WASD + mouse via fps-controller or a third-person controller skill.
  • NPC behavior: if it’s an NPC, design-npc for behavior trees and dialogue hooks.
  • Re-skin variants (palette swap, armor swap): retexture pass — generate new albedo, assign via material override. Avoid re-rigging.

See also

  • 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.

From a shell

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.
  • prop-model: Generate one static 3D prop (sword, barrel, chest, lantern, statue): one object, no rig, a MeshInstance3D.
  • vehicle-model: Generate a hard-surface vehicle (car, spaceship, mech, boat, tank) as a static or VehicleBody3D mesh.
  • design-npc: Design enemy, NPC, boss or companion behavior: perception, state machine, telegraphs, script stub.
  • animation-tree: Wire AnimationTree state machines and blend trees: locomotion blends, attack interrupts, hit reactions.
  • facial-and-lipsync: Make a character’s mouth move with a voice-over: phonemes, viseme blendshapes, facial expressions.
  • generate-motion: Attach a library animation clip (idle, walk, run, attack) to a rigged character via AnimationPlayer.
  • procedural-animation: Runtime bone changes on top of clips: head look-at, foot IK, hand grabs a prop, lean, recoil.
  • asset-strategy: Route any ‘I need a [thing]’ asset request to the right skill: 2D, 3D, audio, video, VFX or animation.
  • fps-controller: First-person controller: WASD, mouse look, jump, coyote time, jump buffering, air control.
  • organic-model: Generate organic 3D shapes (trees, rocks, mushrooms, plants, crystals) where irregularity looks natural.

Source: library/skills/character-model/SKILL.md, rendered from summer-engine@4.9.2 on npm.