animations

animations is a skill for Claude Code from mthines/agent-skills. It costs 61 tokens per session (5,037 once invoked), scanned A, original, MIT.

A guide for designing and reviewing animations in web interfaces, including the movement used to show an interaction or state change.

In plain words
What is it for?
It recommends or reviews CSS, browser animation tools, Motion, React Three Fiber, and related techniques according to the interaction and rendering needs.
Why use it?
It helps animations stay responsive, use motion appropriately, and respect users who prefer reduced movement.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`animations-native`](../animations-native/SKILL.md) skill instead —.

Part of the mthines-agent-skills plugin — 49 skills, 3 agents shipped together

Good fit It recommends or reviews CSS, browser animation tools, Motion, React Three Fiber, and related techniques according to the interaction and rendering needs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills
agentmods
npx agentmods add skills/mthines/agent-skills/animations

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 49 skills, 3 agents.

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 animations

README.md
[![agentmods](https://agentmods.dev/badge/skills/mthines/agent-skills/animations/github.svg)](https://agentmods.dev/skills/mthines/agent-skills/animations)
Your own site
<a href="https://agentmods.dev/skills/mthines/agent-skills/animations"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/animations/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 animations

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/animations"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/animations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,037 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 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.1 $0.00061 $0.05037
Opus 5.5 $0.00024 $0.02015
Sonnet 5.5 $0.00012 $0.01007
Haiku 4.5 $0.00006 $0.00504

Measured yesterday against content hash 72d392fe8e43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

animations 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 yesterday.

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.

skills/design/animations/SKILL.md · 309 lines

How it starts

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

Animations

Produces or reviews web animations that hit 60 fps (or 120 fps on high-refresh displays), respect user motion preferences, and use the cheapest tool for the job — CSS first, the Web Animations API for runtime control, Motion when you need spring physics, gestures, or shared-layout animations, React Three Fiber when the rendering model itself needs to be three-dimensional.

This SKILL.md is a thin index. Detailed rules live in rules/*.md and load on demand. Worked recipes live in references/recipes.md. Drop-in HTML/CSS snippets live in templates/.

Web only. This skill's mechanics are web (CSS, Motion, View Transitions, Web Animations API). For React Native / Expo motion (Reanimated, gesture-handler, Moti, Lottie, Rive), use the animations-native skill instead — it reuses this skill's platform-agnostic brainstorm / verb→motion catalog.


Core Bet

Animate transform, opacity, and filter only. Those are the three properties the browser composites on the GPU without triggering layout or paint on the main thread. Anything else (width, height, top, left, margin, padding, box-shadow, …) goes through layout or paint and will jank. Full table in rules/safe-properties.md.

For properties that seem unanimatable — height: auto, display: none, list reorders, route changes — modern CSS has native primitives that re-express them as GPU work. See rules/modern-css.md.


Brainstorm Mode — interaction → feedback

Use this entry point when the user asks what the animation should be, not how to build it. Examples that route here, not to the technical decision flow below:

  • "What's the ideal feedback when I press this button?"
  • "How should closing a card feel?"
  • "What's the natural animation when this toggles?"
  • "What should happen when a user deletes a row?"

Read the full file on GitHub · 309 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. yesterday Changed 72d392fe8e43
  2. 3d ago Changed · -12 lines · -152 tokens per session 81097950dbab
  3. 24d ago Changed dbd6c828f5ae
  4. 1mo ago First seen · 321 lines · 213 tokens per session scan A 4c39b51ba50f

Subscribe to this mod's changes

animations is a skill published in the GitHub repository mthines/agent-skills (20 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 5,037 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other skills, from other repositories

frontend-ui-engineering

Build production-quality, accessible, non-generic-looking UI components and pages — component composition, the state-management ladder (local to global), avoiding the recognizable "AI aesthetic," WCAG 2.1 AA accessibility, and responsive/loading/empty states. Use when building or modifying user-facing interfaces, or…

shennawardana23/skillme · 86 tokens

ai-design-slop-audit

This skill should be used when the user wants an evidence-backed review of an existing UI for generic "AI-generated" design defaults — asking to "audit this design", "why does this look AI-generated", "review this for design slop", or wants a removal-first cleanup plan without a speculative redesign. Point-in-time…

shennawardana23/skillme · 134 tokens

animation-improvement-planning

This skill should be used when the user asks to "improve the animations", "audit the motion across the app", "make this feel better" without a specific diff to review, or wants a prioritized roadmap of animation fixes rather than a single verdict. Surveys a codebase's motion, produces a severity-ranked findings table…

shennawardana23/skillme · 125 tokens

animation-opportunity-scan

This skill should be used when the user asks "what could be animated here?", "where should we add motion?", or wants the interface to "feel more alive" without saying what to change. Read-only sweep of a codebase or UI for moments that would genuinely benefit from motion, gated by frequency/purpose/duration/function…

shennawardana23/skillme · 124 tokens

playground

Creates interactive HTML playgrounds — self-contained single-file explorers that let users configure something visually through controls, see a live preview, and copy out a prompt. Use when the user asks to make a playground, explorer, or interactive tool for a topic.

anthropics/claude-plugins-official · 53 tokens

frontend-ui-engineering

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

addyosmani/agent-skills · 58 tokens