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/.

Good fit Use it to profile animation performance, remove jank, choose browser-friendly animation properties, and create consistent motion rules across an application.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pmdevsolutions/aurelius/animation-optimizer
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.

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/github.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/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 animation-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/animation-optimizer"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/animation-optimizer.svg" alt="Reviewed on agentmods" width="80" 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. 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.00057 $0.02286
Opus 5.5 $0.00023 $0.00914
Sonnet 5.5 $0.00011 $0.00457
Haiku 4.5 $0.00006 $0.00229

Measured 1mo ago against content hash f1d2ee8f77e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.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. 1mo ago 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 (9 stars, last pushed 18d ago), licensed MIT. It adds 57 tokens to every session and 2,286 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-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

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

wireframe-reviewer

Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…

kumaran-is/claude-code-onboarding · 77 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

ui-ux-designer

Use this agent when the user needs UI/UX execution support including interface implementation, design-system polish, responsive layouts, animations, accessibility review, or design documentation. Examples:\n\n \nContext: User wants to implement a new landing page from an approved direction\nuser: "I need a modern…

opencue/cuecards · 427 tokens