animation-modify

Apply batched curve, event, and property modifications to Unity AnimationClip assets.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/PMK95/GridSquad --skill animation-modify-pmk95
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: animation-modify
Source: https://github.com/PMK95/GridSquad/tree/main/GridSquadUnity/.agents/skills/animation-modify
Command: npx skills add https://github.com/PMK95/GridSquad --skill animation-modify-pmk95

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Editing Unity AnimationClip assets by hand through the editor is slow and error-prone, especially when applying many curve changes, events, or settings at once. This Skill applies a batch of modifications to an AnimationClip in a single call, collecting per-modification errors instead of aborting the whole batch. ## Core Features & Use Cases - Curve Management: Set, replace, or remove float animation curves, or clear every curve from a clip. - Clip Settings: Adjust frame rate, wrap mode, and the legacy animation flag. - Animation Events: Add events with function names and parameters, or clear all events in one operation. - Use Case: You need to retarget a walk cycle by replacing the position curves on several bones and adding a footstep event at 0.5 seconds. Pair this with the animation-get-data skill to discover valid bindings, then submit all changes as one batch. ## Quick Start Ask the AI to use the animation-modify skill to set a new position curve and add an animation event on your AnimationClip asset at a given Assets path.

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 through unity-mcp-cli with an animRef pointing to the .anim asset and a modifications array. Each modification specifies a type such as SetCurve, RemoveCurve, AddEvent, or SetFrameRate, and all changes are applied in one batch.

How do I add animation events to a Unity clip?▼

Add a modification of type AddEvent with the trigger time in seconds and the functionName to invoke. Optional intParameter, floatParameter, and stringParameter values can be passed to the function, and ClearEvents removes all existing events.

What happens if one animation modification fails in a batch?▼

Per-modification errors are collected in the response's errors array instead of aborting the whole batch. The remaining modifications still apply, and events are written as a single rewrite after all per-entry mutations finish.

How do I find valid property names for animation curves in Unity?▼

Run the animation-get-data skill first to discover valid curve bindings, property names, and existing curves on the clip. This ensures the modifications you submit target real bindings and produce a targeted diff.

What asset paths does the Unity animation tool accept?▼

The animRef path must start with Assets/ and end with the .anim extension. You can also reference the asset by instanceID or assetGuid using the AssetObjectRef structure.