animation-modify

Modify Unity AnimationClip assets by setting curves, properties, and animation events.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill animation-modify-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animation-modify
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/animation-modify
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill animation-modify-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Editing Unity AnimationClip assets programmatically requires navigating the Unity Editor API for curves, keyframes, wrap modes, and events, which is tedious when done manually through the editor UI. ## Core Features & Use Cases - Curve Management: Set, remove, or clear animation curves on any component property with full keyframe control including tangents and weighted modes. - Clip Configuration: Adjust frame rate, wrap mode, and legacy animation flags on existing AnimationClip assets. - Animation Events: Add or clear animation events with function names and string, float, or integer parameters. - Use Case: A developer needs to add a looping walk cycle curve and a footstep audio event to an existing character AnimationClip; this Skill applies both modifications in a single call via the unity-mcp-cli tool. ## Quick Start Ask the AI to modify the AnimationClip at a given asset path by setting a position curve with specific keyframes and adding an animation event at a chosen time.

Frequently Asked Questions about animation-modify

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

FAQPage Schema
How do I modify a Unity AnimationClip programmatically?

Use the animation-modify tool via unity-mcp-cli with an animRef pointing to the clip and a modifications array. Each modification specifies a type such as SetCurve, AddEvent, or SetWrapMode along with its required parameters.

How to add keyframes to an animation curve in Unity?

Use a SetCurve modification with the target component type, property name like localPosition.x, and a keyframes array. Each keyframe defines time, value, optional tangents, and weighted mode for precise curve shaping.

What modification types does the Unity animation tool support?

The tool supports SetCurve, RemoveCurve, ClearCurves, SetFrameRate, SetWrapMode, SetLegacy, AddEvent, and ClearEvents. Each type uses conditional properties, such as frameRate for SetFrameRate or functionName for AddEvent.

How do I reference an AnimationClip asset for modification?

Provide an animRef object with the asset's instanceID, and optionally its assetPath starting with Assets/ or its assetGuid. The instanceID field is required for the reference to resolve correctly.

Why is unity-mcp-cli not found when running animation commands?

The CLI must be installed globally with npm install -g unity-mcp-cli, or invoked through npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation and configuration instructions.