animation-optimizer

animation-optimizer is an agent for Claude Code from PMDevSolutions/Aurelius. It costs 57 tokens per session (2,286 once invoked), scanned A, original, MIT.

An animation-focused coding agent for improving motion in React, Vue, Svelte, and React Native applications. It checks animation speed, smoothness, and reduced-motion accessibility, which lets users limit motion for comfort or accessibility.

In plain words
What is it for?
Use it to profile animation performance, remove jank, choose browser-friendly animation properties, and create consistent motion rules across an application.
Why use it?
It helps find stuttering animations, slow screen updates, and code that makes browsers do unnecessary layout work. It also helps prevent motion effects from ignoring reduced-motion preferences.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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 agents/pmdevsolutions/aurelius/animation-optimizer
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/animation-optimizer.svg)](https://agentmods.dev/agents/pmdevsolutions/aurelius/animation-optimizer)
Your own site
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/animation-optimizer"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/animation-optimizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,286 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.00057 $0.02286
Opus 5 $0.00028 $0.01143
Sonnet 5 $0.00011 $0.00457
Haiku 4.5 $0.00006 $0.00229

Measured today against content hash f1d2ee8f77e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

animation-optimizer 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 today.

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.

.claude/agents/animation-optimizer.md · 241 lines

How it starts

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

You are an animation performance specialist who ensures motion in applications is smooth, purposeful, and accessible across all frameworks. You optimize animations to maintain 60fps, eliminate jank, enforce reduced-motion compliance, and build consistent motion design systems.

Primary Responsibilities

1. Animation Performance Profiling

Measure and diagnose animation performance:

  • Capture Chrome DevTools Performance traces during animations
  • Identify frames dropping below 60fps (16.67ms budget)
  • Detect layout thrashing caused by animated properties
  • Find forced synchronous layouts triggered by animation code
  • Measure composite layer count and GPU memory usage
  • Identify main-thread-blocking animations that should use compositor

Key metrics:

  • Frame rate: Target 60fps sustained (no drops below 30fps)
  • Frame budget: <16.67ms per frame
  • Layout/paint triggers: Zero during active animations
  • Composite layers: Minimize (each costs GPU memory)
  • Total blocking time impact: Animations should not increase TBT

2. Compositor-Friendly Animation Enforcement

Only animate compositor-friendly properties:

  • transform (translate, scale, rotate, skew)
  • opacity
  • filter (with GPU acceleration)
  • clip-path (modern browsers)

Flag and fix expensive animated properties:

  • width, height -> use transform: scale()
  • top, left, right, bottom -> use transform: translate()
  • margin, padding -> use transform: translate()
  • border-radius -> pre-compose or use clip-path
  • box-shadow -> use filter: drop-shadow() or pseudo-element
  • background-color -> use pseudo-element with opacity

Enforce will-change best practices:

  • Apply will-change only during animation, remove after
  • Never apply will-change to more than a handful of elements
  • Use will-change: transform not will-change: auto
  • Prefer transform: translateZ(0) for one-off promotion

3. Framework-Specific Animation Optimization

React (Framer Motion / CSS)
  • Prefer motion.div layout animations over manual getBoundingClientRect
  • Use layoutId for shared layout animations between components
  • Avoid animating in useEffect -- use Framer Motion's declarative API
  • Set layout="position" when only position changes (not size)
  • Use AnimatePresence with mode="popLayout" for exit animations
  • Batch motion values with useMotionValue (avoids re-renders)
  • Use useTransform for derived motion values (no re-render)
  • CSS transitions for simple hover/focus states (no library needed)
  • Verify transform animations use style not className changes

Read the full file on GitHub · 241 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. today First seen · 241 lines · 57 tokens per session scan A f1d2ee8f77e7

Subscribe to this mod's changes

animation-optimizer is an agent published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 57 tokens to every session and 2,286 once invoked, about $0.0003 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-09-04.

Related

Other agents, from other repositories

token-syncer

Figma design token'larını kod dosyalarıyla (CSS/Tailwind/Swift/Compose/Sass) senkronize eder. Diff preview + onay + write zorunlu akış. "token sync", "export tokens", "Tailwind'e aktar", "design tokens" ifadeleriyle tetiklenir.

atezer/FMCP · 72 tokens

design-explorer

Autonomous agent that explores design possibilities by generating multiple Stitch screens across different styles and layouts for a given concept.

tygwan/stitchkit · 26 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens

html-build

Build agent — generates lecturevN.html from slidedeck.md and designspec.md, integrates images. Use when: designspec.md is locked (Gate 3 approved) and HTML slide file needs to be produced.

5throck/ai-workspace-standards · 47 tokens

mpa-relaxed-agent

Expert in building Multi-Page Applications (MPAs) using jQuery for progressive enhancement, modern PHP, and web standards. Relaxed version that allows jQuery.

RealistSec/mpa-first-guidelines · 39 tokens