animations

animations is a skill for Claude Code, Codex from mthines/agent-skills. It costs 213 tokens per session (5,210 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 CodeCodex

Part of the mthines-agent-skills plugin — 54 skills, 4 agents shipped together

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/mthines/agent-skills/animations
Any agent
npx skills add mthines/agent-skills --skill animations
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

Made for: Claude Code, Codex.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 4 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 213 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,210 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.1 $0.00213 $0.05210
Opus 5 $0.00106 $0.02605
Sonnet 5 $0.00043 $0.01042
Haiku 4.5 $0.00021 $0.00521

Measured 5d ago against content hash 4c39b51ba50f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

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

How it starts

The opening of the file, as written. The whole thing — 321 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 · 321 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. 5d 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 (12 stars, last pushed today), licensed MIT. It adds 213 tokens to every session and 5,210 once invoked, about $0.0011 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-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

web-design

Design and implement high-quality web interfaces by synthesizing proven design philosophies from Dieter Rams, Brad Frost (Atomic Design), Google Material Design, and modern web best practices. Triggered when the user asks to design a web page, UI component, design system, layout, or when asked to review/improve…

minorcell/skills · 68 tokens

core-web-vitals

Optimize Core Web Vitals (LCP, INP, CLS) for better page experience and search ranking. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".

shennawardana23/skillme · 65 tokens

frontend-slides

Create zero-dependency, animation-rich HTML presentations that run entirely in a browser, from a topic/draft or by converting a PowerPoint file. Use when the user wants a talk deck, pitch deck, workshop deck, or wants a .ppt/.pptx converted to a web presentation. Helps users without a clear aesthetic preference…

shennawardana23/skillme · 80 tokens

performance

Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit". For Go backend profiling/measurement-first triage use performance-optimization instead — this skill…

shennawardana23/skillme · 88 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