Skip to content
SkillModel-led2,095 tokens in use

unity-animation

Helps an agent drive Unity 6.3 character animation with the Animator: parameters, transitions, blend trees, Avatar Mask layers, root motion and humanoid IK.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/unity/unity-animation
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing unity-animation costs

89tokens idle
2,095tokens in use
2,978tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill helps an agent control animation state in Unity with Animator Controllers. It starts by reading the controller’s YAML so script strings match parameter and state names exactly, then drives locomotion through cached parameter hashes and lets transitions resolve.

It includes patterns for damped parameters, waiting for a triggered state, and building a controller from editor code, plus a reference on blend trees, layers with Avatar Masks and humanoid IK. A gotchas list covers triggers that fire late, laggy exit times, sliding root motion and IK that does nothing.

What You Get

  • A seven-step workflow from reading the controller YAML to verifying the result
  • Three C# patterns: parameters with cached hashes, waiting for a triggered state and building a controller from editor code
  • A reference on 1D and 2D blend trees, layer weights, Avatar Masks and humanoid and foot IK
  • A gotchas list for sticky triggers, laggy transitions, root motion conflicts and CrossFade timing

Common Use Cases

  • Finding why SetTrigger does nothing because a parameter name does not match the controller
  • Fixing a transition that lags because Has Exit Time is on
  • Layering an aim animation over the arms while the legs keep walking
  • Planting feet on slopes or aiming a hand at a target with IK

What Makes It Unique

The skill treats the .controller file as readable text, so the agent compares parameter and state names with script strings before running anything. It also gives an editor-code route to create controllers when the Animator window is out of reach, and ties a version note to the exact Unity API source it was checked against.

Under The Hood

The agent loads the SKILL.md and, for blend trees and IK, one reference file. It reads .controller YAML and model .meta files, greps scripts for parameter strings, and edits C# files. When the Unity command line tool and a ready Editor are available it can run commands to read a controller and evaluate code in Play mode, and the skill shows an editor script run in batch mode. The Unity command pipeline it names is a pre-release package. Without the Editor it asks you to watch the Animator window in Play mode. Nothing is fetched from the web during normal use.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers