Tooluck logoTooluck
SKILL.md

unity-animator

Agent skill fromBesty0728/Unity-Skills

Edit Unity Animator Controllers and drive runtime parameters

How to install unity-animator

install unity-animator
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills

# or add only this skill to Claude Code: copy the folder

SkillsForUnity/unity-skills~/skills/animator/

# into

~/.claude/skills/animator/ (all projects)

.claude/skills/animator/ (one project)

SkillsForUnity/unity-skills~/skills/animator/SKILL.md

MITFull file
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
2
3## Triggers
4- Setting up or wiring an Animator
5- Adjusting animation state machines
6- Driving animation parameters at runtime
7- 搭建或连接 Animator、调整动画状态机、运行时驱动动画参数
8
9# Unity Animator Skills
10
11Control Unity's Mecanim system — create Animator Controllers, add layers' states / transitions / parameters, assign controllers to GameObjects, set parameters at runtime, and play states.
12
13## Operating Mode
14
15- **Approval**:查询类 skill(`animator_get_parameters` / `animator_get_info` / `animator_list_states`,源码标 `SkillMode.SemiAuto`)直接执行;其余变更类(create_controller / add_parameter / set_parameter / play / assign_controller / add_state / add_transition,标 `SkillMode.FullAuto`)需用户 grant,grant 后服务端一步执行返结果。
16- **Auto / Bypass**:所有 skill 直接执行;Auto 走 AI 自我评估,Bypass 全放行。
17- 本模块**不含** Delete / PlayMode / Reload / 高危 skill,无 Bypass-only 拦截项。
18- `animator_set_parameter` / `animator_play` 作用于场景中已挂 Animator 的 GameObject;如果当前不在 Play mode,状态机只在 Editor 预览模式推进,效果与 runtime 不完全等价。
19
20**DO NOT** (common hallucinations):
21- `animator_create_clip` / `animator_add_clip` do not exist → AnimationClips are created via Unity Editor or asset import
22…

Excerpt shown under the repository's MIT license.

More skills in Unity-Skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates