К основному содержанию
скилл CX Codex

blender-animation · el4cteo — скилл для Claude Code: что делает и как установить

Скилл blender-animation для Claude Code, автоматизирующий анимацию в Blender 5.3 через Python-скрипты. Управляет ключевыми кадрами, ретаргетингом mocap и запеканием ригов для игровых движков.

MIT 757 установок ★ 2 624 обновлён 2026-11-13

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add EL4CTEO/blender-skills --skill blender-animation -a claude-code
Открыть на GitHub

Что делает blender-animation

Этот скилл автоматизирует работу с анимацией в Blender 5.3, включая создание ключевых кадров, настройку NLA-клипов и работу с кривыми F-curves. Инструмент использует Python-скрипты для управления слотами действий, что позволяет работать с несколькими объектами в одном экшене.

Для игровых проектов предусмотрены инструменты запекания ригов, проверки циклов анимации и экспорта с учетом root motion. Скилл поддерживает перенос mocap-данных из форматов BVH и Mixamo с автоматическим маппингом костей. Для работы требуется Blender 5.3.

Какие задачи решает

  • Запечь контрольный риг для экспорта в игровой движок
  • Перенести анимацию с mocap-файлов на персонажа
  • Проверить циклы анимации на наличие рывков и ошибок
  • Настроить root motion для игрового персонажа

Примеры запросов агенту

  • Запеки анимацию Walk для рига GAME_RIG_Body с root motion
  • Проверь цикл анимации Walk на объекте RIG на наличие ошибок
  • Сделай ретаргетинг mocap-анимации с Mocap на GAME_RIG

Как установить blender-animation

1Через Skills CLI (Vercel)

npx skills add EL4CTEO/blender-skills --skill blender-animation -a claude-code

2Вручную: положить файлы

~/.claude/skills/blender-animation/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/blender-animation/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о blender-animation

Как установить blender-animation в Claude Code?

Выполните npx skills add EL4CTEO/blender-skills --skill blender-animation -a claude-code. После этого используйте путь ~/.claude/skills/blender-animation/SKILL.md.

Что делает этот скилл?

Он автоматизирует анимационные задачи в Blender 5.3, от создания ключевых кадров до подготовки ригов к экспорту в игры.

Что нужно для работы blender-animation?

Требуется установленный Blender 5.3 для выполнения Python-скриптов, входящих в состав скилла.

Исходный текст

SKILL.md · MIT
---
name: blender-animation
description: Animation in Blender 5.3 - slotted/layered actions and the channelbag API, Python keyframing, F-curves, game loops with pop/hitch checks, NLA clips, pose library, mocap/BVH/Mixamo retargeting with auto bone maps, baking control rigs to export skeletons, root motion, per-clip export. Use for any keyframe, action, NLA, mocap, or animation-export task.
license: MIT
metadata:
  author: blender-agent-skills
  version: "1.2.0"
---

# Animation

The execution model is in `blender-core` (its `references/bpy-patterns.md` has verified keyframe/driver snippets). Rigs are in `blender-character-rigging`.

## 5.x data model (what changed)
- An **Action** holds **slots** (one per animated ID) and **layers → strips → channelbags → F-curves**. A single action can animate several objects (e.g. a rig and its camera) through different slots.
- Assign: `ob.animation_data.action = act`, then make sure `ob.animation_data.action_slot` is set (picked automatically when a suitable slot exists; otherwise `act.slots.new(id_type="OBJECT", name=ob.name)`).
- F-curves: `cb = anim_utils.action_ensure_channelbag_for_slot(act, slot)`, then `cb.fcurves.ensure(path, index=i, group_name=...)`. `action.fcurves` **no longer exists**.
- The simplest route is still `pb.keyframe_insert("rotation_quaternion", frame=f)`, which creates the action, slot and channelbag.

## Workflow (keyframe animation, studio style)
1. **Blocking**: key poses on every channel (`CONSTANT` interpolation, `bpy.context.preferences.edit.keyframe_new_interpolation_type`) on golden frames (contact, down, passing, up for walks).
2. **Breakdowns**: add in-betweens that define arcs and spacing.
3. **Spline**: switch to `BEZIER`, fix spacing in the Graph Editor, and clean overshoot. Auto-clamped handles avoid overshoot.
4. **Polish**: offsets/overlap (follow-through on hair, tails, cloth bones), arcs, moving holds (never a perfectly frozen character), and contact stability (feet locked with IK).
5. **Review**: MCP `look(mode="frames", frame_count=8)` or a Workbench playblast (`blender-rendering`).

## Game animation rules
- **One action per clip**, named `<Rig>_<Clip>` or just `<Clip>`, with a fake user so it survives saving.
- **Loops**: first and last frames identical. Export frames 1..N and let the engine drop the duplicate, or exclude the last frame (UE/Unity "loop pose" options). An F-curve `CYCLES` modifier helps preview but **doesn't export**, so bake it. Verify with `scripts/loop_check.py -- --object RIG --action Walk [--root-motion root] [--fix]`: it reports pose **pops** (last ≠ first, per bone, in deg/m) and speed **hitches** across the seam, and `--fix` keys the first-frame values on the last frame (root travel is kept).
- **FPS**: author at 30 (or 24) and let engines resample. Set `scene.render.fps` before importing mocap.
- **Root motion**: the root bone carries the translation (and yaw). The hips keep the bob/sway. `scripts/bake_action.py --root-motion xy` moves the hips' ground motion to the root. In-place clips: the root stays at the origin.
- **Additive/overlay** clips (aim offsets, breathing) are exported as normal clips and marked additive in the engine.
- Keep the bone transform channels the engine expects. **Don't animate bone scale** unless the engine supports it (Roblox and many mobile pipelines don't).

## Bake control rig → export skeleton
```
scripts/bake_action.py -- --list
scripts/bake_action.py -- --source RIG_Body --target GAME_RIG_Body [--actions Walk Run] [--root-motion xy --hips spine]
```
This gives one baked action per clip (`GAME_RIG_Body|Walk`), cleaned, with fake users, plus one muted NLA track per clip (`CLIP_Walk`) so FBX (`bake_anim_use_nla_strips`/all actions) and glTF (`ACTIONS` mode) export every clip. The target's constraints are muted afterward so it plays the baked data; run `--follow` to drive it live again. Self-bake (IK/constraints → keys on the same rig): `--source X --target X`.

## Mocap and retargeting
- Import: `bpy.ops.import_anim.bvh(filepath=..., global_scale=0.01 if cm else 1, rotate_mode="NATIVE", update_scene_fps=True)`, `import_scene.fbx` (Mixamo, `automatic_bone_orientation=True`).
- Retarget: `scripts/retarget.py -- --source Mocap --target GAME_RIG [--map auto|map.json] [--in-place] [--name Walk]`. Each target bone gets the source bone's **world rotation change from rest** on its own rest orientation, so rolls, bone axes, Y-up/cm FBX object transforms and proportions don't matter. The hips travel is scaled by the hips-height ratio. Keys go straight into a new `TARGET|Name` action (quaternion, linear, fake user). Measured on a Mixamo-style rig (Y-up, 0.01 scale, rolled) → Rigify-named rig with 15% longer legs: 17 bones, < 0.1° error.
- The auto map understands Mixamo (`mixamorig:LeftUpLeg`), Rigify `DEF-`/`ORG-`, UE/Unity/BVH-style names, and spine chains of different lengths. Check it first with `--show-map` (`unmapped_key_parts` must be empty), and pass a JSON `{target: source}` for anything custom (fingers, props).
- **Rest poses must match** (T vs A matters most): pose the target's rest like the source's first. Then clean, add root motion, and export with `bake_action.py`.
- Clean mocap: decimate keys (`graph.decimate`, ratio 0.3–0.5), use an F-curve `SMOOTH` modifier or the Butterworth filter (`graph.butterworth_smooth`), and fix foot sliding with IK pins and then bake.
- Production retarget tools: Auto-Rig Pro (paid), Rokoko (free), and the engine-side retargeters (UE IK Retargeter, Unity Humanoid).

## NLA and pose library
- NLA: push actions down as strips (`track.strips.new(name, start, action)`) to layer/blend clips (blend type `REPLACE`/`ADD`/`COMBINE`), and use Tweak mode to edit. Strips need an action slot set when the action has several slots (`strip.action_slot`).
- The pose library (bundled `pose_library`) stores poses as **assets**: `poselib.create_pose_asset(pose_name=...)`, `poselib.apply_pose_asset` / `blend_pose_asset`. Use it for hand shapes, face poses, and a T/A rest pose.

## Shape keys and other properties
Any property can be keyed: `kb.keyframe_insert("value", frame=f)` (shape key), `mat.node_tree.nodes[...].inputs[...].keyframe_insert("default_value")` (materials, which engines usually ignore), custom props `ob.keyframe_insert('["prop"]')`.

## Gotchas
- `pb.matrix = ...` followed by `keyframe_insert` needs the right `scene.frame_set(f)` **first**, or an evaluation overwrites the pose.
- Connected bones (`use_connect`) can't translate. Hips/pelvis must be unconnected from the root.
- `bake_action` with visual keying reads **evaluated** poses, so constraints, IK and drivers are all captured. Mute the target's own constraints afterward (the script does), or they keep overriding the keys.
- Quaternion vs Euler: game bones should use `QUATERNION` (no gimbal lock, smooth slerp). Euler is fine for single-axis controls. Don't mix modes between keys. 5.3 converts existing animation: `pose_bone.convert_rotation_mode("QUATERNION", bake=False)` (also on objects) or `anim.rotation_mode_convert(mode=...)` for the selection.
- glTF sampling: `export_force_sampling` bakes every frame (the safe default). Non-linear F-curve modifiers and drivers only export when sampled.

© blender-agent-skills · MIT · EL4CTEO/blender-skills

Похожие скиллы

Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Сначала — blender-animation от других авторов.

blender-animation RobLe3 Скилл blender-animation для ИИ-агента, который ставит ключевые кадры, настраивает кривые и морф-таргеты в Blender через MCP-сервер. CX Codex +1 2 500установок scenario-blender-animation scenario-labs Скилл scenario-blender-animation автоматизирует анимацию персонажей и объектов в Blender через Python-скрипты. Он полезен при позовом блокинге, сглаживании кривых, артикуляции лица и проверке дуг. CX Codex +1 1 200установок scenario-blender-2d-animation scenario-labs Скилл scenario-blender-2d-animation для Claude Code, который автоматизирует создание 2D-сцен в Blender на основе изображений из Scenario. Запускается при сборке анимаций, трейлеров или кат-сцен с параллаксом. CX Codex +1 589установок blender-motion-state-inspection affaan-m Скилл blender-motion-state-inspection для Claude Code извлекает параметры скелета, костей и контактов в Blender. Проверяет скольжение ног, проваливание в пол и инверсию осей ретаргетинга. CX Codex +1 7 000установок animation https://github.com/arjun988 Скилл animation для Claude Code автоматизирует создание анимаций в Blender. Инструмент запускается при настройке ключевых кадров для персонажей и объектов. CX Codex +1 675установок blender-image-to-3d majidmanzarpour Скилл blender-image-to-3d для Claude Code собирает игровой 3D-ассет в Blender по референсам через контролируемые фазы с рендером и сравнением. Запускается при упоминании референс-изображения для создания модели. CX Codex +1 917установок anymove-rig Patch Скилл anymove-rig для Claude Code настраивает скелет и риггинг негуманоидных существ в Blender для анимации в anymove. Запускается при подготовке новой 3D-модели или устранении разрывов сетки. CX Codex +1 ★ 653звёзд репо

Из того же набора28

Весь набор →
blender-core Скилл blender-core для Claude Code и Cursor координирует задачи в Blender 5.2 и 5.3 через bpy, MCP и CLI, направляя запросы к скриптам моделирования, анимации и рендеринга. CX Codex +1 965установок blender-character-rigging Скилл blender-character-rigging для Claude Code автоматизирует риггинг персонажей в Blender 5.3 через Rigify. Подключается при задачах на создание скелета, скиннинг и развесовку. CX Codex +1 779установок blender-asset-qa Скилл blender-asset-qa для Claude Code автоматизирует проверку 3D-моделей и ассетов в Blender. Запускается перед экспортом или сдачей задачи. CX Codex +1 765установок blender-export-pipelines Скилл blender-export-pipelines для Claude Code настраивает экспорт ассетов из Blender под игровые движки и другие форматы. Включается, когда ассет нужно выгрузить из Blender и проверить результат. CX Codex +1 681установок blender-game-optimization Скилл blender-game-optimization работает в Claude Code, Codex, Cursor и других платформах для оптимизации трехмерных моделей под лимиты игровых движков. CX Codex +1 657установок blender-pbr-materials Скилл blender-pbr-materials для Claude Code настраивает PBR-материалы и текстурные карты для Blender 5.3 по правилам игровых движков. CX Codex +1 644установок blender-hardsurface-modeling Скилл blender-hardsurface-modeling для Claude Code задаёт пайплайн hard-surface моделирования в Blender 5.3: от блокаута до сборки стека модификаторов. Помогает моделировать технику, оружие и пропсы. CX Codex +1 621установок blender-lighting-lookdev Скилл blender-lighting-lookdev для Claude Code настраивает свет, камеры и вид материалов в Blender 5.3. Подключается при подготовке сцены к рендеру или презентации ассета. CX Codex +1 606установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой