Agent skill

Unity Animator

by Besty0728 in Besty0728/Unity-Skills

Edit Unity Animator Controllers and drive runtime parameters

MITAuto-check passedGame Development

Install Unity Animator

skills CLI
$ npx skills add Besty0728/Unity-Skills --skill unity-animator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Besty0728/Unity-Skills unity-animator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Besty0728/Unity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'SkillsForUnity/unity-skills~/skills/animator' .claude/skills/unity-animator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unity-animator
GitHub stars
1.8k
Token cost
~2.4k tokens
SKILL.md length
814 words
Files
1
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Edit Unity Animator Controllers and drive runtime parameters

  • Works in 6 steps: Create controller before adding parameters → Use meaningful parameter names → Triggers reset automatically after firing → …
  • Game Development work in your project
  • SKILL.md covers Triggers, Operating Mode, Skills Overview and Parameter Types, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Unity Animator is an agent skill from Besty0728/Unity-Skills. Edit Unity Animator Controllers and drive runtime parameters

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development. The repository describes itself as: AI automation skills specifically designed for Unity. The licence is MIT.

When your agent uses it

  • Game Development work in your project

Example prompts

  • “/unity-animator”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Create controller before adding parameters
  2. Use meaningful parameter names
  3. Triggers reset automatically after firing
  4. Set parameters before playing states
  5. Use layers for independent animations (body + face)
  6. States must exist in controller before playing

What it can do on your machine

Read from SKILL.md and the folder at commit 12a40e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unity Animator loads about 2.4k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 814 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Besty0728/Unity-Skills at commit 12a40e4, republished under its MIT licence (© Besty0728). 814 words, ~2,388 tokens.

Download SKILL.mdSave it as .claude/skills/unity-animator/SKILL.md (or your agent's skills folder).
name
unity-animator
description
Edit Unity Animator Controllers and drive runtime parameters

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.

Triggers

  • Setting up or wiring an Animator
  • Adjusting animation state machines
  • Driving animation parameters at runtime
  • 搭建或连接 Animator、调整动画状态机、运行时驱动动画参数

Unity Animator Skills

Control Unity's Mecanim system — create Animator Controllers, add layers' states / transitions / parameters, assign controllers to GameObjects, set parameters at runtime, and play states.

Operating Mode

  • 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 后服务端一步执行返结果。
  • Auto / Bypass:所有 skill 直接执行;Auto 走 AI 自我评估,Bypass 全放行。
  • 本模块不含 Delete / PlayMode / Reload / 高危 skill,无 Bypass-only 拦截项。
  • animator_set_parameter / animator_play 作用于场景中已挂 Animator 的 GameObject;如果当前不在 Play mode,状态机只在 Editor 预览模式推进,效果与 runtime 不完全等价。

DO NOT (common hallucinations):

  • animator_create_clip / animator_add_clip do not exist → AnimationClips are created via Unity Editor or asset import
  • animator_set_speed does not exist → use component_set_property on Animator component with propertyName="speed"

Routing:

  • For Timeline animation → use timeline module
  • For component properties on Animator → use component module
  • For animation import settings → use importer module

Skills Overview

SkillDescription
animator_create_controllerCreate new Animator Controller
animator_add_parameterAdd parameter to controller
animator_get_parametersList all parameters
animator_set_parameterSet parameter value at runtime
animator_playPlay animation state
animator_get_infoGet Animator component info
animator_assign_controllerAssign controller to GameObject
animator_list_statesList states in controller
animator_add_stateAdd a state to a controller layer
animator_add_transitionAdd a transition between two states

Parameter Types

TypeDescriptionExample Use
floatDecimal valueSpeed, blend weights
intInteger valueState index
boolTrue/falseIsGrounded, IsRunning
triggerOne-shot signalJump, Attack

Skills

animator_create_controller

Create a new Animator Controller.

ParameterTypeRequiredDefaultDescription
namestringYes-Controller name
folderstringNo"Assets/Animations"Save folder

Returns: {success, name, path}

animator_add_parameter

Add a parameter to a controller.

ParameterTypeRequiredDefaultDescription
controllerPathstringYes-Controller asset path
paramNamestringYes-Parameter name
paramTypestringNofloatfloat/int/bool/trigger
defaultFloatfloatNo0Initial float value
defaultIntintNo0Initial int value
defaultBoolboolNofalseInitial bool value
animator_get_parameters

Get all parameters from a controller.

ParameterTypeRequiredDescription
controllerPathstringYesController asset path

Returns: {controller, parameters: [{name, type, defaultFloat, defaultInt, defaultBool}]}

animator_set_parameter

Set a parameter value at runtime (supports name/instanceId/path).

ParameterTypeRequiredDescription
namestringNo*GameObject name
instanceIdintNo*GameObject instance ID
pathstringNo*GameObject hierarchy path
paramNamestringYesParameter name
paramTypestringNofloat/int/bool/trigger (default: float)
floatValuefloatNo*Float value
intValueintNo*Integer value
boolValueboolNo*Boolean value

*At least one identifier required. Use the appropriate value for paramType (trigger doesn't need a value).

animator_play

Play a specific animation state (supports name/instanceId/path).

ParameterTypeRequiredDefaultDescription
namestringNo*-GameObject name
instanceIdintNo*0GameObject instance ID
pathstringNo*nullGameObject hierarchy path
stateNamestringYes-Animation state name
layerintNo0Animator layer
normalizedTimefloatNo0Start time (0-1)

*At least one identifier required.

Show full SKILL.md (312 more words)Show less
animator_get_info

Get Animator component information (supports name/instanceId/path).

ParameterTypeRequiredDefaultDescription
namestringNonullGameObject name
instanceIdintNo0GameObject instance ID
pathstringNonullGameObject hierarchy path

Returns: {gameObject, instanceId, hasController, controllerPath, speed, applyRootMotion, updateMode, cullingMode, layerCount, parameterCount}

animator_assign_controller

Assign a controller to a GameObject (supports name/instanceId/path).

ParameterTypeRequiredDescription
namestringNo*GameObject name
instanceIdintNo*GameObject instance ID
pathstringNo*GameObject hierarchy path
controllerPathstringYesController asset path

*At least one identifier required.

animator_list_states

List all states in a controller layer.

ParameterTypeRequiredDefaultDescription
controllerPathstringYes-Controller asset path
layerintNo0Layer index

Returns: {controller, layer, layerName, stateCount, states: [{name, tag, speed, hasMotion}]}

animator_add_state

Add a state to an Animator Controller layer.

ParameterTypeRequiredDefaultDescription
controllerPathstringYes-Controller asset path
stateNamestringYes-Name for the new state
clipPathstringNonullAnimation clip asset path to assign; a path that is not an AnimationClip rejects the call before the state is added
layerintNo0Layer index

Returns: {success, controller, stateName, layer}

animator_add_transition

Add a transition between two states in an Animator Controller.

ParameterTypeRequiredDefaultDescription
controllerPathstringYes-Controller asset path
fromStatestringYes-Source state name
toStatestringYes-Destination state name
layerintNo0Layer index
hasExitTimeboolNotrueWhether transition waits for exit time
durationfloatNo0.25Transition duration in seconds

Returns: {success, from, to, layer, hasExitTime, duration}


Example: Complete Animation Setup

python
import unity_skills

# 1. Create controller
unity_skills.call_skill("animator_create_controller",
    name="PlayerController",
    folder="Assets/Animations"
)

# 2. Add parameters
unity_skills.call_skill("animator_add_parameter",
    controllerPath="Assets/Animations/PlayerController.controller",
    paramName="Speed", paramType="float", defaultFloat=0
)
unity_skills.call_skill("animator_add_parameter",
    controllerPath="Assets/Animations/PlayerController.controller",
    paramName="IsGrounded", paramType="bool", defaultBool=True
)
unity_skills.call_skill("animator_add_parameter",
    controllerPath="Assets/Animations/PlayerController.controller",
    paramName="Jump", paramType="trigger"
)

# 3. Assign to character
unity_skills.call_skill("animator_assign_controller",
    name="Player",
    controllerPath="Assets/Animations/PlayerController.controller"
)

# 4. Control at runtime
unity_skills.call_skill("animator_set_parameter",
    name="Player", paramName="Speed", paramType="float", floatValue=5.0
)

# Trigger jump
unity_skills.call_skill("animator_set_parameter",
    name="Player", paramName="Jump", paramType="trigger"
)

# Play specific state
unity_skills.call_skill("animator_play", name="Player", stateName="Idle")

Best Practices

  1. Create controller before adding parameters
  2. Use meaningful parameter names
  3. Triggers reset automatically after firing
  4. Set parameters before playing states
  5. Use layers for independent animations (body + face)
  6. States must exist in controller before playing

Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

© Besty0728, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in SkillsForUnity/unity-skills~/skills/animator of Besty0728/Unity-Skills.

Open the folder on GitHubat commit 12a40e4

Compare with similar skills

Unity Animator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unity Animator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Animator this skillBesty0728/Unity-Skills1.8k—~2.4kAutomated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k1 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.4k—~2.2kAutomated safety check: PassMIT
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 1 repo~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.4k GitHub stars~2.2k tokensUpdated 9 days ago
    Game DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 6 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Uloop Execute Dynamic Code

    CyberAgentGameEntertainment/NovaShader

    Execute C with Unity APIs when existing uloop tools cannot inspect or edit enough.

    1.6k GitHub starsUsed in 1 repo~1.9k tokens
    Game DevelopmentAuto-check passed

More from Besty0728/Unity-Skills

All 82 skills in this repo
  • Unity Skills

    Besty0728/Unity-Skills

    Automate the Unity Editor through a local REST API — scripts, scenes, prefabs, assets, materials, lighting, tests and hundreds of other Editor operations.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Architecture

    Besty0728/Unity-Skills

    Advise on Unity gameplay and system architecture. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Unity Batch

    Besty0728/Unity-Skills

    Unified batch and async-job orchestration. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Behavior

    Besty0728/Unity-Skills

    Drive Unity Behavior behavior graphs and blackboard variables

    1.8k GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Unity Console

    Besty0728/Unity-Skills

    Capture and query the Unity Editor console. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Unity Dotween

    Besty0728/Unity-Skills

    Automate DOTween Free/Pro at editor time. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed

Questions about Unity Animator

What does Unity Animator do?

Edit Unity Animator Controllers and drive runtime parameters. Unity Animator is an agent skill from Besty0728/Unity-Skills.

When should I use Unity Animator?

Unity Animator fits situations like: game Development work in your project.

How do I install Unity Animator in Claude Code?

Run `npx skills add Besty0728/Unity-Skills --skill unity-animator -a claude-code`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/animator in Besty0728/Unity-Skills) into .claude/skills/unity-animator in your project. Claude Code loads it when a task matches its description.

How do I install Unity Animator in Codex?

Run `npx skills add Besty0728/Unity-Skills --skill unity-animator -a codex`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/animator in Besty0728/Unity-Skills) into .agents/skills/unity-animator in your project. Codex loads it when a task matches its description.

Can I use Unity Animator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Besty0728/Unity-Skills --skill unity-animator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unity-animator, .gemini/skills/unity-animator, .github/skills/unity-animator and .opencode/skills/unity-animator in your project.

What does Unity Animator need to run?

SKILL.md names no scripts, command-line tools or credentials: Unity Animator is instructions for the agent only. Our summary lists: Python 3.

Does Unity Animator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Unity Animator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Unity Animator use?

Unity Animator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unity Animator use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unity Animator?

Skills that share tags, products or a category with Unity Animator: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.4k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Animator?

Besty0728 (a GitHub user) maintains it in Besty0728/Unity-Skills, which has 1,814 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on October 6, 2026.

Source: Besty0728/Unity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.