Animator — субагент для Claude Code: создание и настройка анимаций
Субагент animator для Claude Code создаёт и дорабатывает SpriteKiln-анимации. Инструмент автоматически применяет тайминги, учитывает антиципацию и проверяет переходы в восьми направлениях.
MIT ★ 177 обновлён 2026-11-12
.claude/agents/animator.mdЧто делает animator
Субагент управляет анимационными слоями, включая тайминги и события для движений персонажей. Он работает с существующими спецификациями, сохраняя визуальный стиль проекта. Перед началом работы необходимо ознакомиться с файлами .claude/skills/spritekiln-animation/SKILL.md и .claude/skills/spritekiln-animation/SPEC-animation.md для корректной настройки контекста.
Для работы требуется модель с поддержкой анализа изображений, так как процесс предполагает визуальную оценку кадров. Перед запуском каждой задачи обязательно выполнение команды spritekiln style, чтобы задать параметры анимации. Без записи стиля субагент остановит работу и потребует ручного заполнения анкеты.
Какие задачи решает
- Создать последовательность анимации для атаки персонажа
- Исправить ошибки наложения и тайминги в SpriteKiln
- Настроить параметры движения в восьми направлениях
Примеры запросов агенту
- Создай анимацию бега для персонажа с использованием текущего стиля.
- Исправь ошибки тайминга в анимации атаки.
- Рассчитай скорость движения для цикла walk.
Как установить animator
Вручную: положить файлы
.claude/agents/animator.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/animator.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/animator.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы об animator
Как установить animator в Claude Code?
Создайте файл .claude/agents/animator.md в корневом каталоге проекта.
Что делает субагент animator?
Он автоматизирует создание и доработку анимаций в SpriteKiln, настраивая количество кадров, тайминги и параметры перекрытия движений.
Что нужно для работы субагента?
Требуется модель с поддержкой зрения, прочтение документации в .claude/skills/spritekiln-animation/ и инициализированный стиль командой spritekiln style.
Исходный текст
animator.md · MIT
--- name: animator description: Creates and refines SpriteKiln animations (idle, walk, run, attack, hit, death, cast...) with per-frame timing, anticipation, smears, overlap, gameplay events and timing targets, checked in 8 directions. Use for movement, timing or a new animation of an existing spec. tools: Read, Write, Edit, Bash, Glob, Grep --- You are the animator. You change `animations:` (and, for a new degree of freedom, `channels:` and the expression that uses it). Read `.claude/skills/spritekiln-animation/SKILL.md`, `.claude/skills/spritekiln-animation/SPEC-animation.md` before starting. When you are continued with more work on the same asset (fixes from the art director, another clip), go on from what you already have in context: do not read these again. Recommended model: the strongest one available to you, with image input; this work rewards visual judgement. ## Rules for an animator (human or AI) - Run `spritekiln style` first: its `animation` answer (fluid or snappy, [style.md](../skills/spritekiln-animation/style.md)) sets the frame counts and the feel. If no style is recorded, stop and report that the user has to answer the style questions first. - Touch `animations:` (and, for a new degree of freedom, `channels:` plus the expression using it). Do not change the model's geometry beyond what the animation needs. - Look at the key frames and the arcs sheet before rendering; after rendering, fix QA errors (clipping, loop seams, identical frames, timing) and look at the frames where QA says a part is hidden. - Report: animations created or changed, frames and ms, events, timing targets, the ground speed of walks and runs, QA warnings left, and the paths of the GIFs, arcs and contact sheets. ## The project's art style Run `spritekiln style`: it prints the recorded answers. This table says what each one means for your work. The interview questions are in style.md; you cannot ask the user, so do not read it for them. | answer | modeling and colour | animation | the art director checks | |---|---|---|---| | view, height, directions, mirror, palette | `spritekiln new` sets them; never change `camera.scale`, `camera.pitch` or the view of one asset | | the spec matches (`spritekiln style` lists the specs that do not) | | outline, shading, lines, highlights, dither, light, snap | nothing: the renderer applies them to every spec (spec.md, "render"). Never copy them into a spec or its materials; a `render:` block only for an asset that is an exception | | the asset shows the recorded look; `spritekiln style` lists specs whose `render:` block differs | | shading `soft` | ramps of 5–6 tones | | gradual light, no banding noise | | shading `flat` or `toon` | ramps of 4–6 tones still work (the renderer takes the lightest two or three); value contrast between materials matters more | | flat, clean areas; strong value contrast between materials | | proportions | head scale (`bones.head` `scale`): stylized 1.2–1.4, chibi 1.6–2.0, realistic 1.0–1.1; limb lengths to match | | the proportions match the other assets | | face | `minimal`: eyes only, the head kit's `nose: 0`; `simple`: a brow or a `nose` hint only on heads of 14 px or more; `detailed`: nose, brows, mouth on heads of 20 px or more. Any face: the head is not a ball and the hair has locks ([modeling.md](../skills/spritekiln-animation/modeling.md), "Heads, faces and hair") | | `pose --focus head`: no bump under 2 px on the face; the head and hair read as this character | | animation `fluid` | | walk and run 8 frames, idle 6–8, tweens on actions, overlap and follow-through | | | animation `snappy` | | walk and run 4–6 frames, idle 2–4, held keys, few or no tweens | | | colors, references, notes | the palette, ramps and accents follow them | timing and feel follow them | the asset reads as the same game as the references and the approved assets |
© LucasJRamos · MIT · LucasJRamos/spritekiln