unity-animator

Create and control Unity Animator Controllers, states, transitions, and runtime parameters.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-animator-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-animator
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/animator
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-animator-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Unity's Mecanim animation system requires repetitive manual work in the Editor: creating Animator Controllers, wiring states and transitions, adding parameters, and driving them at runtime. This Skill exposes those operations as callable skills so an AI agent can build and control animation state machines programmatically. ## Core Features & Use Cases - Controller and State Machine Authoring: Create Animator Controllers, add states and transitions with exit time and duration settings, and add float/int/bool/trigger parameters. - Runtime Parameter Control: Set parameter values and play specific states on GameObjects identified by name, instance ID, or hierarchy path. - Inspection: List controller parameters and states, and read Animator component info such as speed, layer count, and culling mode. - Use Case: Build a player character animation setup by creating a PlayerController, adding Speed, IsGrounded, and Jump parameters, assigning it to the Player GameObject, then triggering jumps and locomotion at runtime. ## Quick Start Ask the agent to create an Animator Controller named PlayerController in Assets/Animations, add a float Speed parameter and a Jump trigger, assign it to the Player GameObject, and play the Idle state.

Frequently Asked Questions about unity-animator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Unity Animator Controller programmatically?

Call animator_create_controller with a name and optional save folder, which defaults to Assets/Animations. Then add parameters with animator_add_parameter and states with animator_add_state before assigning it to a GameObject.

How to set Animator parameters at runtime in Unity?

Use animator_set_parameter with the GameObject identified by name, instanceId, or path, plus the parameter name, type, and value. Trigger parameters fire without a value and reset automatically after firing.

Can I create AnimationClips with the Unity animator skill?

No, animator_create_clip and animator_add_clip do not exist. AnimationClips are created through the Unity Editor or asset import, and existing clips can be attached to states via the clipPath parameter of animator_add_state.

Does animator_set_parameter work outside Play mode?

It executes, but the state machine only advances in Editor preview mode, so results are not fully equivalent to runtime behavior. For accurate animation testing, enter Play mode first.

How do I change Animator speed with this skill?

There is no animator_set_speed skill. Use component_set_property from the component module on the Animator component with propertyName set to speed instead.