/alemtuzlak-skills:motion-for-3d-assetfrom alemtuzlak-skills
Generates skeletal animation clips (FBX/GLB) for humanoid 3D characters using Uthana text-to-motion. Handles prompts, cost estimation, Blender QA, and export.
Ships in alemtuzlak-skills. 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.
Make real skeletal animation clips for a humanoid character with Uthana text-to-motion. The bundled script uses TanStack AI (generateMotion and createUthanaCharacter from @tanstack/ai-uthana). It uploads the character, sends the prompts, and saves an FBX and a GLB for each clip. The QA scripts run in the live Blender. They measure each clip and render every frame. A clip passes only on what you see.
The prompt decides the quality. Most of this skill is how to write it.
UTHANA_API_KEY only.
UTHANA_API_KEY="$(cat <key-file>)" node ....<skill-dir>/scripts/node_modules does not exist, run npm install --prefix <skill-dir>/scripts. The versions are pinned in scripts/package.json.node <skill-dir>/scripts/uthana.mjs balance. A 4-second clip costs about $0.40. Tell the user the total cost before you start..glb or .fbx gives clips on the real body and proportions. Without one, the clips use the default Uthana character.All Blender work runs in the live Blender (with a UI) through the Blender MCP tool execute_blender_code. Never run Blender headless.
Connect first:
execute_blender_code with import bpy; print(bpy.app.version_string, bpy.data.filepath).Run a QA script:
If the open Blender file has unsaved changes, save it (bpy.ops.wm.save_mainfile()).
Run the script with execute_blender_code. Give absolute paths. On Git Bash, pwd -W gives a Windows path.
import sys; sys.path.insert(0, r'<skill-dir>/scripts/qa'); import qa_live
qa_live.run(r'<skill-dir>/scripts/qa/analyze.py', r'<clip.fbx>', r'<clip.qa.json>', r'<clip.qa.png>')
qa_live.run gives the script a new empty scene. Then it removes that scene and all data that the run made. The open file stays as it was. Blender stays open.frame-sheets.py a --take or a --frames range.Upload the character (once per model):
node <skill-dir>/scripts/uthana.mjs character orc.glb "Orc chieftain"
Keep the characterId. Uploading the same file again gives the same character. If autoRigConfidence is under 0.5, tell the user that the rig can be poor.
--no-auto-rig. Then a file that lost its skeleton fails at upload, and Uthana never puts the clips on a new skeleton.skeleton in its QA report must show the bone count and the root bone of your rig.Write clips.json with the prompt recipe below. Use 4 seconds for each clip:
[
{ "name": "orc_idle", "prompt": "a big tired warrior breathing hard ...", "seconds": 4 },
{ "name": "enemy_stagger", "prompt": "a fighter standing in a guard stance ...", "character": "cXi2eAP19XwQ" }
]
Generate in the background:
node <skill-dir>/scripts/uthana.mjs generate clips.json --character <characterId> --out <dir>
<name>.fbx, <name>.glb, and an entry in <dir>/manifest.json with the prompt, the job id, and the SHA-256 of each file. Stdout has one JSON line for each clip.--only name1,name2 runs only those clips. The manifest keeps the other entries.--only only for a clip that failed and has no files. It writes over the files and the manifest entry of a clip with the same name.Measure each clip, and look at every frame (see QA in the live Blender and Check by sight).
Make a second take only of the clips that fail QA. Change the words, because Uthana has no seed. Give the new take a new name, for example orc_idle_2, so that the first take keeps its files. Do not order several takes of every clip. Obey the stop rule.
Deliver (see Deliver below).
Uthana 3.0 first makes a video of a person who does the action, then takes the motion from that video. Describe what a camera sees: a real body that does a real physical action.
Write each prompt in this order:
Rules that change the result:
Full prompts that passed QA, with their measured results, are in references/prompt-library.md. Start from the closest one.
The scripts run in the live Blender (tested on 5.3) through qa_live.run (see Live Blender). They need no other add-ons. The numbers point to frames to look at. A number can stop a clip. A number never passes a clip. Only the check by sight passes it.
import sys; sys.path.insert(0, r'<skill-dir>/scripts/qa'); import qa_live
qa_live.run(r'<skill-dir>/scripts/qa/analyze.py', r'<clip.fbx>', r'<clip.qa.json>', r'<clip.qa.png>')
qa_live.run(r'<skill-dir>/scripts/qa/frame-sheets.py', r'<clip.fbx>', r'<sheets-dir>')
qa_live.run(r'<skill-dir>/scripts/qa/loopfind.py', r'<clip.fbx>', 30)
qa_live.run(r'<skill-dir>/scripts/qa/compare.py', r'<out.mp4>', r'<a.fbx>', r'<b.fbx>')
analyze.py writes the measurements and a contact sheet: 8 frames from a game camera on top and a side view below.frame-sheets.py renders every frame of every take from 3 fixed angles: front, side, and 3/4. Each sheet has 16 frames (4 x 4, left to right, then top to bottom). <sheets-dir>/<clip>.sheets.json gives the frames of each sheet. Give '--take', '<name>' or '--frames', '1-48' to split a long clip.loopfind.py prints the best loop window. Set the last value to about one cycle in frames: 15 for a run, 30 for a walk, 45 for an idle.--fps 24 or --fps 60 to generate for a different rate.compare.py renders clips side by side into one MP4, all scaled to the same height. It also writes <out.mp4>.json with the identity of each clip. All clips in one video need the same frame rate.Native first. analyze.py starts the report with identity: the SHA-256 and size of the file, and the take (action name, frame rate, first and last frame). Measure the provider file first. Its SHA-256 must be files.fbx.sha256 of the clip in <dir>/manifest.json. Read the numbers of the clip only from this native report.
A corrected copy is a converted, retargeted, or hand-fixed file. Give it its own report, bound to the native report:
qa_live.run(r'<skill-dir>/scripts/qa/analyze.py', r'<copy.fbx>', r'<copy.qa.json>', r'<copy.qa.png>', '--native', r'<clip.qa.json>')
identity.native names the native report and file. changeFromNative gives the change of each main measure, with distances as a share of the figure height.Read the measurements against figureHeightM, because the distances are in the units of the character. A clip that meets the expected value still needs the check by sight.
| Clip | Expected | If not |
|---|---|---|
| Jump | airborne.frames 15 or more, maxFootClearanceM near half of the height | under 10 frames: a hop |
| Two-hand weapon | native wristGapM.median under 0.2 of the height, and both hands on the handle at wristGapM.maxFrame | larger: a one-hand clip. Do not use it for a two-hand weapon. A correction cannot make it pass. For a one-hand prop, use the contact sheet. |
| Idle | liveliness.meanJointSpeedDegPerSec 30 or more | about 14: frozen |
| Loop | loopfind.py seam under 4 degrees | more: choose a different window |
| Any | upright on every contact sheet tile, except during a flip that you asked for | a flip that you did not ask for |
| Corrected copy | each changeFromNative value inside the correction budget of the project | outside the budget, or no budget: choose another clip |
Do not compare joint speeds across different rigs. A rig with finger bones gives higher numbers. Ignore torsoTwistRangeDeg, because it has an Euler wrap artifact.
Impact frames are measured, never guessed. The weapon is not in the motion, so nothing shows where the axe hits. Report:
peakSpeed gives [speed, frame, seconds] for each wrist (R_Wrist, L_Wrist). For a jump, use the peak after the landing (airborne.last + 1).pelvis.lowestFrame.A script cannot see a twist or a hand that goes through the body. Look at every frame of every clip.
frame-sheets.py on each clip in the live Blender. Look at every sheet: each frame from the front, the side, and the 3/4 angle.Do not make a check less strict without the approval of the user.
mixamorig:Hips).pelvis, thigh_l, hand_l).analyze.py reads both.Equal bone names do not prove that a clip fits a rig. In Unity, use the rig type that the project declares for the character. With no declaration, use Generic: it plays the native bones as they are. Use Humanoid only when all of these are true:
If the game repo has scripts/character-production.ps1, clips enter the game only through its production gates. image-to-3d-asset Game project gates has the commands. For a clip, these rules hold:
-SourceRoot uthana=C:/out/orc-clips.jobId, the characterId, the file hashes, and the take (identity.take of the native QA report) into the production record. Do not invent a value.Promote runs only after the owner accepts the review receipt.| Error | Cause | Fix |
|---|---|---|
job_limit_exceeded (429) | 4 jobs are queued or running on the account | The script waits and sends the job again. |
failed during stage 1 | An error on the Uthana side | The script tries again once. If it fails again, run it with --only. |
Insufficient balance | No money left | Tell the user to add money to the Uthana account. |
| A download returns 401 or 403 | The key is wrong | Ask the user for the key again. |
| The Blender MCP call fails | Blender or its MCP add-on listener is not running | Start them (see Live Blender). If the call still fails, stop and report. |
Run this script with qa_live.run | The script ran without qa_live.run | Run it with qa_live.run in the live Blender. |
... is in EDIT mode | An object of the open scene is not in Object mode | Switch to Object mode, save, and run again. |
To test the script: node --test <skill-dir>/scripts/uthana.test.mjs.
README.md (opens in a new tab)references/prompt-library.md (opens in a new tab)scripts/package.json (opens in a new tab)scripts/qa/analyze.py (opens in a new tab)scripts/qa/compare.py (opens in a new tab)scripts/qa/frame-sheets.py (opens in a new tab)scripts/qa/loopfind.py (opens in a new tab)scripts/qa/qa_live.py (opens in a new tab)scripts/uthana.mjs (opens in a new tab)scripts/uthana.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3d-animation, skeletal-animation, text-to-motion, fbx, glb, blender
Generated from the plugin's indexed repository (alemtuzlak/skills) — no native marketplace selected
npx claudepluginhub p/alemtuzlak-alemtuzlak-skills41 skills in this plugin
/accessible-htmlUse whenever writing, editing, or reviewing markup or UI code — HTML, JSX/TSX, Vue/Svelte/Angular templates, web components, email HTML, or CSS that affects text size, color, focus, motion, layout order, or hit area. Also use when adding a button, link, form, input, modal, dropdown, menu, tabs, tooltip, toast, icon, image, iframe, table, list, keyboard shortcut, drag interaction, or any click handler; when a design has to become code; and when the user says "accessibility", "a11y", "WCAG", "screen reader", "keyboard navigation", "focus", "aria", "contrast", "alt text", or "axe"./amazing-videoUse only when the user runs /amazing-video or names the amazing-video skill. The text after the command is the video topic, such as a PR, a feature, or an API./Other plugins' skills for the same job