unity-animator

unity-animator is a skill for Claude Code, Codex from Besty0728/Unity-Skills. It costs 13 tokens per session (2,348 once invoked), scanned A, original, MIT.

A tool for editing Unity Animator Controllers and controlling animation states at runtime. Unity Animator Controllers are state machines that decide which character or object animation plays and when it changes.

In plain words
What is it for?
Use it to create controllers, layers, states, transitions, and parameters; assign controllers to GameObjects; inspect animation data; set parameters; and play states.
Why use it?
It provides a way to set up animation states and transitions, connect controllers to objects, and change animation behavior from code or control parameters.

Skill for Claude CodeCodex

About the project

UnitySkills is a REST API-based automation engine that lets AI coding agents control Unity Editor projects, including scenes and other editor operations. It is for developers using Unity with supported coding agents and IDEs. The catalogue skills and commands provide the agent workflows used to operate Unity projects through the engine.

Besty0728/Unity-Skills · 1,701 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/besty0728/unity-skills/animator
Any agent
npx skills add Besty0728/Unity-Skills --skill animator
Clone the repo
git clone --depth 1 https://github.com/Besty0728/Unity-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unity-animator

README.md
[![agentmods](https://agentmods.dev/badge/skills/besty0728/unity-skills/animator.svg)](https://agentmods.dev/skills/besty0728/unity-skills/animator)
Your own site
<a href="https://agentmods.dev/skills/besty0728/unity-skills/animator"><img src="https://agentmods.dev/badge/skills/besty0728/unity-skills/animator.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,348 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00013 $0.02348
Opus 5 $0.00006 $0.01174
Sonnet 5 $0.00003 $0.00470
Haiku 4.5 $0.00001 $0.00235

Measured 4d ago against content hash 99b6e5e94fc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

unity-animator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SkillsForUnity/unity-skills~/skills/animator/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Skill Description
animator_create_controller Create new Animator Controller
animator_add_parameter Add parameter to controller
animator_get_parameters List all parameters
animator_set_parameter Set parameter value at runtime
animator_play Play animation state
animator_get_info Get Animator component info
animator_assign_controller Assign controller to GameObject
animator_list_states List states in controller
animator_add_state Add a state to a controller layer
animator_add_transition Add a transition between two states

Read the full file on GitHub · 244 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 244 lines · 13 tokens per session scan A 99b6e5e94fc5

Subscribe to this mod's changes

unity-animator is a skill published in the GitHub repository Besty0728/Unity-Skills (1,701 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 2,348 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

16-marketing-psychology-global

Use when persuasion principles have to be applied to a specific asset — reciprocity, scarcity, authority, social proof, liking, commitment, and unity mapped onto copy, a landing page, an email, or an ad, each with a hypothesis and a test plan. Trigger on 'marketing psychology', 'Cialdini', 'persuasion principles'…

minhnv0807/ai-business-skills · 163 tokens

new-littlejs-game

Scaffold a brand-new, complete playable game project — LittleJS engine included, opens straight from disk in a browser with no server, smallest playable loop written for you. TRIGGER on ANY request to make/create/start/build a game when no other engine or framework is named — "make me a pong game", "make a breakout…

KilledByAPixel/LittleJS-AI · 211 tokens

littlejs-conventions

LittleJS game engine (littlejsengine) conventions — REQUIRED before answering, writing, editing, reviewing, or debugging ANY LittleJS code, including one-line questions about a snippet. TRIGGER whenever "LittleJS" appears, or the code uses…

KilledByAPixel/LittleJS-AI · 214 tokens

atlas-shape-art

Use when a LittleJS game's visuals are geometric/abstract/neon shapes or it has many round entities (orbs, gems, bubbles, asteroids, particles, stars), OR when speeding up a game that calls many drawCircle/drawEllipse/drawPoly/drawRegularPoly per frame. Renders shapes as tinted atlas tiles instead.

KilledByAPixel/LittleJS-AI · 73 tokens

dotcraft-unity

Use when dotcraft-unity MCP or unityexecutecsharp is available, or when the user asks to inspect, automate, capture, or debug Unity Editor state, scenes, assets, Console logs, or GameView output. Provides background-first Unity Editor automation rules.

DotHarness/dotcraft-unity · 58 tokens

littlejs-api

Use when you need the exact signature, parameter order, defaults, or existence of a LittleJS engine symbol — e.g. drawTile arguments, the ParticleEmitter constructor, Timer or Sound methods, EngineObject properties, tile/TileInfo helpers. Look the symbol up instead of guessing from memory; LittleJS argument orders are…

KilledByAPixel/LittleJS-AI · 74 tokens