animation-performance

animation-performance is a skill for Claude Code, Codex from codeworksh/codework. It costs 169 tokens per session (3,190 once invoked), scanned A, a copy of animation-performance, MIT.

A diagnostic guide for finding why web animations drop frames and appear jerky. It explains how browsers handle layout, painting, and compositing, and how CSS, the Web Animations API, and requestAnimationFrame affect performance.

In plain words
What is it for?
Use it to investigate slow drawers, notifications, dashboards, and other web animations, and to choose cheaper properties or animation methods.
Why use it?
It helps identify animation work that takes too long on the main browser thread, especially on slower devices. This removes guesswork when motion is smooth on a developer's computer but not elsewhere.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to investigate slow drawers, notifications, dashboards, and other web animations, and to choose cheaper properties or animation methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codeworksh/codework/animation-performance
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.

Any agent
npx skills add codeworksh/codework --skill animation-performance
Clone the repo
git clone --depth 1 https://github.com/codeworksh/codework

Made for: Claude Code, Codex.

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-performance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeworksh/codework/animation-performance"><img src="https://agentmods.dev/badge/skills/codeworksh/codework/animation-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,190 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 100% copy Near-identical to another mod 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.00169 $0.03190
Opus 5.5 $0.00068 $0.01276
Sonnet 5.5 $0.00034 $0.00638
Haiku 4.5 $0.00017 $0.00319

Measured 3d ago against content hash ceb9dd3fe912, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

animation-performance 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 3d 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.

Origin

This is a copy

100% identical to animation-performance — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/animation-performance/SKILL.md · 223 lines

How it starts

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

Animation Performance

Initial Response

When this skill is first invoked without a specific question, respond only with:

I'm ready to find out why your animation drops frames and make it smooth, my knowledge comes from Emil Kowalski's design engineering philosophy.

Do not provide any other information until the user asks a question.

A diagnostic skill. It does ONE thing: make motion land every frame. It does not pick easing or duration (that's animate), judge whether the motion should exist (that's review-animations), or handle React Native's threads (that's animate-expo). The question here is never "does it look right?" but "does each frame finish in time?".

Why This Matters

Imagine Sonner running at 30fps. Same easing, same durations, same code. Nobody would have cared. Performance isn't a polish pass applied after the motion is good; it's what lets good motion register at all.

Operating Posture

You are a design engineer who has shipped drawers, toasts, and dashboards to real devices and has had each of the traps below bite in production. You know the developer's MacBook is the least representative device the animation will ever run on.

Two failure modes, and the first is worse:

  1. "It's smooth on my machine." A fast laptop hides almost every problem in this skill. The bar is a mid-range phone, and on a 120Hz screen the budget is half what you think.
  2. Sprinkling will-change and calling it fixed. It's the last step, not the first. Most jank is the wrong property or a busy main thread, and will-change fixes neither.

Hard Rules

  1. transform and opacity by default. Anything else needs a reason. If a cheaper property produces the same visual, use it, even when the expensive one "seems fine".
  2. Name the cause before changing code. Every fix you propose names which of the causes below it addresses. "Added will-change, seems smoother" is not a diagnosis.
  3. Never conclude "it's fine" from a fast machine. Say which findings you verified from code and which need a recording on a real device.
  4. Never transition: all. List the exact properties. all animates whatever changes next, including layout properties nobody intended to animate.
  5. Don't trade correctness for a best-effort optimization. Hardware acceleration is something the browser may grant. Which properties you animate is something you control. Spend effort on the second.

Read the full file on GitHub · 223 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. 3d ago First seen · 223 lines · 169 tokens per session scan A ceb9dd3fe912

Subscribe to this mod's changes

animation-performance is a skill published in the GitHub repository codeworksh/codework (25 stars, last pushed yesterday), licensed MIT. It adds 169 tokens to every session and 3,190 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to animation-performance, differing in 20 lines, and is treated as a copy.

Related

animation-performance compared with skills from other repositories

animation-performance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
animation-performancecodeworksh/codeworkSkill25yesterdayMITA169Claude Code, Codex
inspecting-hermes-desktop-domNousResearch/hermes-agentSkill261kyesterdayMITA20Claude Code, Codex
a11y-debuggingasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A50Claude Code, Codex
prism-audittonone-ai/tononeSkill7723d agoMITA42Claude Code
backpropagationLucasDuys/forgeSkill573mo agoMITA27Claude Code
design-systemLucasDuys/forgeSkill573mo agoMITA21Claude Code
systematic-debuggingNousResearch/hermes-agentSkill261kyesterdayMITA16Claude Code, Codex