Logo: Generate Motion

Generate Motion

Organisatioun
SummerEngine
generate-motion

Attach a library animation clip (idle, walk, run, attack) to a rigged character via AnimationPlayer.

Iwwersiicht

EditeurSummerEngine
Repositorysummer
Skill-Nummgenerate-motion
Stären
91
Forks
8
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    SummerEngine huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Generate Motion an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/SummerEngine/summer/tree/main/library/skills/generate-motion
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/generate-motion .claude/skills/generate-motion
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Generate Motion an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Generate Motion automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Generate Motion net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Generate Motion — Curated Meshy Library

Picks a clip from a curated mocap library by name and wires it onto a Meshy-rigged humanoid. Fast (~30s), and it looks good because it is real mocap. The five short aliases that always work are idle, walk, run, jump, attack; anything else must be an exact library name — see the Reference card before you invent one.

The target must be a Meshy-rigged humanoid — a rigAssetId from a prior assets.generate_3d({ kind: "image-to-3d", imageUrl: "...", rig: true }) call. The finished job's result includes rigAssetId. If the user points at a non-rigged mesh, stop and route to asset-strategy (or directly call assets.generate_3d with rig: true) before generating motion.

Custom or non-humanoid motion (e.g. "drops to one knee, draws bow", a nodding flower, a creature) goes to the text-to-motion skill (backend: "text-to-motion") when the server has it enabled; otherwise fall back to hand-authoring in Summer Engine or importing from Mixamo.

When to use this skill

  • "Add a walk animation to the goblin."
  • "I need an idle, a run, and an attack on this character."
  • "Death animation for the enemy when HP hits zero."
  • The user has a rigged character and zero animations on it.

When NOT to use this skill

  • The user wants to apply an existing animation to a new model — use retarget instead. Don't regenerate.
  • The user wants state-machine wiring (idle → walk → run blend) — generate the clips here, then hand off to animation-tree.
  • The user wants facial / lipsync animation — that's facial-and-lipsync.
  • The mesh isn't rigged. Rig first; never call assets.generate_motion on a static .glb.
  • The user wants procedural look-at, IK, foot placement — that's procedural-animation.
  • The user described a custom signature move that isn't on the curated list — use text-to-motion; if the server answers backend_unavailable, use the manual-authoring fallback below.

Steps

1. Verify the target is a rigged humanoid

assets.search({ query: "<character name>", assetType: "3d_model", scope: "mine" })

The rigged model's assetId is its rigAssetId (the id the rig job's result named rigAssetId). Search results do not say whether a model is rigged: the dry run in step 2 checks it, and a model that is not rigged is refused there with invalid_input on rigAssetId. Then stop, propose assets.generate_3d({ kind: "image-to-3d", imageUrl: "...", rig: true }) first (the finished job's result includes rigAssetId), or route to asset-strategy.

2. Confirm with the user before spending

I'm about to generate a "run" animation on goblin_rigged via meshy-library — about 30s, and it uses credits. OK?

dryRun: true on the call below returns the credits (estimate) and checks the rig is the person's and rigged; clips the rig already has cost nothing, so the estimate is the most it can cost.

3. Call the operation

assets.generate_motion({
  rigAssetId: "<id>",
  backend: "meshy-library",   // curated library (default)
  motionNames: ["run"]        // exact names from the curated list — see Reference card
})
jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 })   // again until finished

assets.generate_motion answers at once with a job; jobs.wait follows it until finished is true, and the finished job's result has animationAssetId in it. When the rig already has every clip asked for, the answer is done at once with reused (nothing new was made or charged). Don't assume any other field is present — resolve the asset to get stable file/download metadata:

assets.get({ assetId: "<animationAssetId>" })

4. Attach to the character's AnimationPlayer

summer_inspect_node(path="./World/Goblin")        // confirm it has an AnimationPlayer child
summer_add_node(scenePath="res://main.tscn", parent="./World/Goblin", type="AnimationPlayer", name="AnimationPlayer")  // only if missing
summer_set_resource_property(
  scenePath="res://main.tscn",
  nodePath="./World/Goblin/AnimationPlayer",
  resourceProperty="libraries/default",
  subProperty="<motion_name>",
  value="<animationAssetId>"
)
summer_save_scene(scenePath="res://main.tscn")

scenePath is required on summer_add_node, summer_set_resource_property and summer_save_scene. summer_inspect_node takes only path — it has no scenePath and reads the currently-edited scene.

If the character will use multiple clips, leave the AnimationPlayer in place — every subsequent generation appends to the same library. State-machine wiring belongs to animation-tree, not here.

Confirmation gates

  • Before generation: state the motion name and that it uses credits. Wait for OK.
  • Before attaching: state which AnimationPlayer and which library slot. Wait for OK.
  • After generation: if the user hasn't seen the preview, link previewUrl and ask "land or regenerate?" before wiring it into the scene.

Reference card

Curated motion library — what motionNames actually accepts

There are five short canonical aliases, and only five:

idle, walk, run, jump, attack

Everything else must be an exact raw Meshy library name (or its display name, or its numeric action id 0–696). The library is 678 entries, and its naming is nothing like a tidy snake_case scheme — real names look like Walking_Woman, Jump_Run, Run_02, Hit_Reaction, Roll_Dodge, Block1, Dead, Stand_Dodge, Triple_Combo_Attack, Wave_One_Hand, Chair_Sit_Idle_F, Lean_Forward_Sprint.

Plausible-looking names that do not resolve, verified against the resolver: attack_sword, hit_react, death, sprint, block, dodge_left, crouch_idle, walk_back, run_strafe_left, jump_land, idle_combat, wave, dance, sit_idle. They resolve to nothing and the call errors. For a sword attack, use attack.

So: if the user asks for something outside the five aliases, do not guess a snake_case name. Either use one of the five, quote an exact raw library name you have actually seen, or route to the manual-authoring fallback.

Pitfalls

  • Invented motionNames entries fail. "run_fast", "attack_sword", "death" all resolve to nothing and the call errors. Name resolution is exact — five aliases, or a real library name / display name / numeric id. Do not extrapolate a naming scheme.
  • Locomotion clips have a forward bias. Meshy's run translates the root forward by ~5m. Either the code drives movement (then the baked root translation causes a lunge-and-snap every loop — strip it) or the clip does via root_motion_track + get_root_motion_position() — never both. The full root-motion setup and its playtest verification live in character-animation-wiring.
  • Rig pose mismatch. If your rig was rigged with a non-T-pose reference image, the limbs may bend wrong. Re-rig from a T-pose mannequin (see asset-strategy) before re-generating.
  • Rig still preparing. New rigs need ~3 minutes after the rig job completes before the animation library is ready. Called too early, assets.generate_motion answers in_progress with retry: "after" and details.retryAfterSeconds (about 180). Wait and retry.

Anti-patterns

  • Calling assets.generate_motion on a .glb that wasn't rigged — the call is refused; a dry run says so first.
  • Generating the same clip twice because you forgot to save the animationAssetId from the first call. Search the asset library first: assets.search({ query: "goblin run", assetType: "animation", scope: "mine" }).
  • Wiring clips into an AnimationTree inside this skill. That's the next skill's job. Generate, attach, hand off.
  • Asking the model to invent a motion name that isn't on the list. Quote from the list verbatim, or fall back to manual authoring.

Edge cases

  • Custom signature move (e.g. "drops to one knee, draws bow"). The custom prompt-driven route is text-to-motion. If it is unavailable, workarounds: hand-author the clip in Summer Engine's animation panel, import a licensed clip as an AnimationLibrary, or compose curated clips in an AnimationTree OneShot blend.
  • Quadruped rig. Meshy library is humanoid-only. For quadrupeds and other non-humanoid rigs use text-to-motion, or hand-author / import an external library.
  • Character is < 1m tall (child / dwarf). Library clips assume a ~1.8m humanoid. Apply the clip; the proportions retarget but stride length looks long. Either accept it or tune playback_speed on the AnimationPlayer track.
  • Character has wings / tail. The library ignores the extra bones — they sag. Hand-author additive overlays for the extra bones, or accept the visual hit.

Without Summer Engine

In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-3 and skip step 4 (the AnimationPlayer). Save the clip where the person asked with out on jobs.wait (the summer-assets skill says how), and tell them the path and format.

Fallback (no MCP)

The user can upload to Meshy directly at meshy.ai, generate through the dashboard, download .glb, and import it as an AnimationLibrary in Summer Engine.

Handoff

  • After generating locomotion clips, suggest character-animation-wiring — the end-to-end wiring path (inspect what landed, idle/walk/run state machine with blend times, footstep method tracks, root motion, playtest proof). For blend spaces and attack/hit overlays on top, animation-tree.
  • After generating a one-shot (death, hit-react), suggest design-npc to fire it from the behavior state machine.
  • For first-person hand animations on a player, use this skill on a hands-only rig and then fps-controller for the wiring.
  • If the user wants to apply these clips to a second character, hand off to retarget.

See also

  • asset-strategy — how to get a Meshy-rigged character in the first place.
  • animation-tree — wire the generated clips into a state machine.
  • retarget — re-use one library across many characters without regenerating.

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.

In this skillCommand
assets.generate_3dsummer assets generate-3d
assets.generate_motion, summer_assets_generate_motionsummer assets generate-motion
summer_assets_getsummer assets get
assets.search, summer_assets_searchsummer assets search
summer_add_nodesummer engine add-node
summer_get_scene_treesummer engine get-scene-tree
summer_inspect_nodesummer engine inspect-node
summer_inspect_resourcesummer engine inspect-resource
summer_save_scenesummer engine save-scene
summer_set_propsummer engine set-prop
summer_set_resource_propertysummer engine set-resource-property
jobs.wait, summer_jobs_waitsummer jobs wait

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Generate Motion?

Attach a library animation clip (idle, walk, run, attack) to a rigged character via AnimationPlayer.

Firwat Generate Motion op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Generate Motion besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Generate Motion an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/SummerEngine/summer/tree/main/library/skills/generate-motion an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Generate Motion benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Generate Motion benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Generate Motion domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Generate Motion gratis?

Jo. SummerEngine huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇