batihandev/unity-mcp-skills/animator

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when users want to create animation controllers, add parameters, play animations, or control animation state machines.

Install

npx vskill@latest install batihandev/unity-mcp-skills/animator

SKILL.md

Unity Animator Skills

Overview

Control Unity's animation system - create controllers, manage parameters, and control playback.

Common Mistakes

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
paramTypestringYes-float/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: {success, parameters: [{name, type, defaultFloat/defaultBool/...}]}

animator_set_parameter

Set a parameter value at runtime.

ParameterTypeRequiredDescription
namestringYesGameObject name
paramNamestringYesParameter name
paramTypestringYesfloat/int/bool/trigger
floatValuefloatNo*Float value
intValueintNo*Integer value
boolValueboolNo*Boolean value

*Use the appropriate value for paramType (trigger doesn't need a value)

animator_play

Play a specific animation state.

ParameterTypeRequiredDefaultDescription
namestringYes-GameObject name
stateNamestringYes-Animation state name
layerintNo0Animator layer
normalizedTimefloatNo0Start time (0-1)
animator_get_info

Get Animator component information.

ParameterTypeRequiredDescription
namestringYesGameObject name

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

animator_assign_controller

Assign a controller to a GameObject.

ParameterTypeRequiredDescription
namestringYesGameObject name
controllerPathstringYesController asset path
animator_list_states

List all states in a controller layer.

ParameterTypeRequiredDefaultDescription
controllerPathstringYes-Controller asset path
layerintNo0Layer index

Returns: {success, states: [{name, tag, speed}]}

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
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}


Recipe Path

Recipe path rule: ../../recipes/animator/<command>.md

See ../../recipes/animator/README.md for the full command index.

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

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/batihandev/unity-mcp-skills/animator/badge)](https://verified-skill.com/skills/batihandev/unity-mcp-skills/animator)

Something wrong with this skill or its page? Tell us.