unity-animation

unity-animation is a skill for Claude Code from IdoCohen560/claude-unity-game-studio. It costs 57 tokens per session (4,187 once invoked), scanned A, a copy of unity-animation, MIT.

A guide to Unity's animation system for playing motion clips through state machines, blend trees, humanoid avatars, events, and Timeline. It explains how character rigs and animation controllers work together.

In plain words
What is it for?
Use it to build character animation controllers, blend walking and running, configure humanoid avatars, add animation events, and use root motion or Timeline.
Why use it?
It helps you choose the right animation type and connect clips into predictable transitions. It also clarifies how humanoid retargeting differs from animations tied to one specific hierarchy.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build character animation controllers, blend walking and running, configure humanoid avatars, add animation events, and use root motion or Timeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/idocohen560/claude-unity-game-studio/unity-animation
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.

Any agent
npx skills add IdoCohen560/claude-unity-game-studio --skill unity-animation
Clone the repo
git clone --depth 1 https://github.com/IdoCohen560/claude-unity-game-studio

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/idocohen560/claude-unity-game-studio/unity-animation/github.svg)](https://agentmods.dev/skills/idocohen560/claude-unity-game-studio/unity-animation)
Your own site
<a href="https://agentmods.dev/skills/idocohen560/claude-unity-game-studio/unity-animation"><img src="https://agentmods.dev/badge/skills/idocohen560/claude-unity-game-studio/unity-animation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unity-animation

Your own site · 80×15
<a href="https://agentmods.dev/skills/idocohen560/claude-unity-game-studio/unity-animation"><img src="https://agentmods.dev/badge/skills/idocohen560/claude-unity-game-studio/unity-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,187 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00057 $0.04187
Opus 5.5 $0.00023 $0.01675
Sonnet 5.5 $0.00011 $0.00837
Haiku 4.5 $0.00006 $0.00419

Measured 2mo ago against content hash d5d2242a919f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-animation 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 2mo 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.

Origin

This is a copy

100% identical to unity-animation — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

examples/my-first-game/.claude/skills/unity-animation/SKILL.md · 500 lines

How it starts

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

Unity Animation System

Animation System Overview

Unity's Mecanim animation system is built on three interconnected components:

  1. Animation Clips -- Unit pieces of motion (Idle, Walk, Run)
  2. Animator Controller -- State machine organizing clips into a flowchart of states and transitions
  3. Avatar System -- Maps humanoid character skeletons to a common internal format for retargeting

The Animator component is attached to GameObjects and references both the Animator Controller and Avatar assets needed for playback.

Animation Types

  • Humanoid -- Requires Avatar configuration; supports retargeting between different character rigs; 15-20% more CPU-intensive than Generic
  • Generic -- Animates Transform or MonoBehaviour properties on specific hierarchies; not transferable between different hierarchies
  • Legacy -- Older Animation component; use for simple single-shot or UI animations

Animator Controller

An Animator Controller asset arranges Animation Clips and Transitions for a character or animated GameObject.

Creating: Right-click in Project window > Create > Animator Controller

Key Components

  • States -- Each state plays an associated Animation Clip or Blend Tree
  • Transitions -- Define how and when the state machine switches between states
  • Parameters -- Variables (Float, Int, Bool, Trigger) that scripts set to control transitions
  • Layers -- Separate state machines for different body parts or animation concerns
  • Sub-State Machines -- Nested state machines for hierarchical organization

Parameters

Four types are available:

Type Description Script Method
Float Decimal number SetFloat() / GetFloat()
Int Whole number SetInteger() / GetInteger()
Bool True/false SetBool() / GetBool()
Trigger Auto-resetting bool SetTrigger() / ResetTrigger()
using UnityEngine;

public class PlayerAnimController : MonoBehaviour
{
    Animator animator;

    void Start()
    {
        animator = GetComponent<Animator>();
    }

    void Update()
    {
        // Note: Uses legacy Input Manager for simplicity. See unity-input for the new Input System.
        float h = Input.GetAxis("Horizontal");
        float v = Input.GetAxis("Vertical");
        bool fire = Input.GetButtonDown("Fire1");

        animator.SetFloat("Forward", v);
        animator.SetFloat("Strafe", h);
        animator.SetBool("Fire", fire);
    }

    void OnCollisionEnter(Collision col)
    {
        if (col.gameObject.CompareTag("Enemy"))
        {
            animator.SetTrigger("Die");
        }
    }
}

Read the full file on GitHub · 500 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 500 lines · 57 tokens per session scan A d5d2242a919f

Subscribe to this mod's changes

unity-animation is a skill published in the GitHub repository IdoCohen560/claude-unity-game-studio (30 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 4,187 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to unity-animation, differing in 0 lines, and is treated as a copy.

Related

unity-animation compared with skills from other repositories

unity-animation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-animationIdoCohen560/claude-unity-game-studioSkill304mo agoMITA57Claude Code
full-security-reviewRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA36Claude Code
accessibilityRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA41Claude Code
dependency-auditRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA50Claude Code
git-workflowRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA34Claude Code
log-correlationRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA49Claude Code
api-designRealDougEubanks/ClaudeMarketplaceSkill11mo agoMITA37Claude Code