unirig
БесплатноЗапускает вложенные скриптыНе проверенAutomatically rig 3D models with UniRig (VAST-AI-Research, SIGGRAPH'25) — predict a skeleton, predict skinning weights, and merge the rig back onto the…
от akillness★ 63 звезды на GitHubОб этом скилле
unirig — automatic 3D rigging (skeleton → skin → merge)
Keyword:
unirig·auto-rigging·skeleton prediction·skinning weightsOnly rig assets the user is licensed to modify. UniRig is MIT-licensed, but its checkpoints, the Rig-XL/VRoid/Objaverse data, and the user's own models each carry their own terms.
UniRig is a two-stage autoregressive rigging framework: a GPT-like transformer predicts a topologically valid skeleton from mesh geometry, then a bone-point cross-attention model predicts per-vertex skinning weights. A third step merges the predicted rig back onto the original (full-resolution, textured) asset.
The single most common failure is skipping the merge stage or merging the wrong file — see Step 5. The second most common failure is an environment that silently lacks CUDA extensions.
When to use this skill
- The user wants a static 3D character/creature/prop turned into a rigged asset
- The user needs a skeleton only, or skin weights for a skeleton they already edited
- The user needs UniRig installed and verified on a CUDA machine, or wants to know up front that their machine cannot run it
- The user wants to batch-rig a directory of models
- The user is choosing between UniRig, its successor SkinTokens, or classical/hosted riggers
- The user has a rigged output and wants to verify that joints and skin weights actually landed
Instructions
Step 1: Capture the intake packet and pick the stage
Collect four facts before running anything:
- Asset: file format (
.obj,.fbx/.FBX,.dae,.glb,.gltf,.vrm), poly count, single model or directory, textured or not - Goal: skeleton only, skin only, or a fully rigged deliverable
- Hardware: NVIDIA GPU + CUDA version, VRAM, OS (no CUDA ⇒ no inference; route out)
- Constraint: install budget (UniRig needs
spconv,flash_attn,torch_scatter,torch_cluster,bpy), and whether hand-authored control over the skeleton is required
Routing rules:
- Static mesh, no skeleton yet → skeleton stage (
--stage skeleton) - Skeleton exists (predicted or hand-edited) → skin stage (
--stage skin) - Deliverable must keep the original geometry/materials → merge stage (
--stage merge) - All three in one shot →
--stage all(the default ofscripts/rig.sh) - No CUDA GPU, or the user needs artist-controlled naming/IK/constraints → route out (see references/route-outs-and-troubleshooting.md)
Step 2: Check the environment before installing anything
bash scripts/doctor.sh # human-readable readiness report
bash scripts/doctor.sh --json # machine-readable, for agent branching
doctor.sh reports Python 3.11, torch + CUDA availability, spconv, torch_scatter,
torch_cluster, flash_attn, bpy, trimesh, the UniRig checkout, its launch/inference
scripts, and Hugging Face reachability. It exits 1 when a blocking item is missing, so an
agent can stop before promising a rig that cannot run. Use --unirig-home <path> (or
UNIRIG_HOME) when the checkout is not at $HOME/.cache/unirig/UniRig.
Step 3: Install the skill and, when the machine qualifies, the upstream repo
npx [email protected] add https://github.com/akillness/jeo-skills --skill unirig
bash scripts/install.sh --repo-only # clone/update UniRig only
bash scripts/install.sh --cuda cu121 # clone + create venv + install deps
bash scripts/install.sh --cuda cu121 --torch 2.4.0 --vrm
The installer is deliberately conservative:
- it never installs CUDA-only wheels on a machine without
nvidia-smiunless--forceis passed; spconv-<cuda>and the PyG wheel index are derived from--cuda/--torch, matching the upstream README instead of guessing a single pinned wheel;flash_attnis attempted last and a failure is reported, not swallowed — see the troubleshooting reference for the source-build path;--vrmadditionally registers the bundled Blender VRM add-on.
Full dependency detail lives in references/environment-and-install.md.
Step 4: Plan the run with a dry run, then execute
# print the exact upstream commands without executing them
bash scripts/rig.sh --input examples/giraffe.glb --output results/giraffe_rigged.glb --dry-run
# run the whole pipeline (skeleton → skin → merge)
bash scripts/rig.sh --input examples/giraffe.glb --output results/giraffe_rigged.glb
# one stage at a time
bash scripts/rig.sh --stage skeleton --input model.glb --output results/model_skeleton.fbx
bash scripts/rig.sh --stage skin --input results/model_skeleton.fbx --output results/model_skin.fbx
bash scripts/rig.sh --stage merge --source results/model_skin.fbx --target model.glb \
--output results/model_rigged.glb
# whole directory (skeleton and skin stages only — upstream merge takes one file pair)
bash scripts/rig.sh --stage sk
Установить unirig в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGlobGrepWebFetchВложенные файлы
FAQ
Что делает скилл unirig?
Automatically rig 3D models with UniRig (VAST-AI-Research, SIGGRAPH'25) — predict a skeleton, predict skinning weights, and merge the rig back onto the original mesh. Use when the user wants auto-rigging for .obj/.fbx/.glb/.gltf/.dae/.vrm assets, a skeleton or skin weights for a character or creature, a UniRig environment prepared on a CUDA machine, batch rigging of a model directory, or an honest comparison between UniRig, SkinTokens, Tripo, Mixamo, AccuRig, and Blender Rigify. Triggers on: unirig, auto rig, auto-rigging, 3D rigging, skeleton prediction, skinning weights, rig a character, armature generation, rigged glb, rigged fbx, bone weights.
Как установить скилл unirig?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл unirig запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub