webkit: Command for Claude Code

.claude/commands/add-animation.md

add-animation is a command for Claude Code from aziontech/webkit. It costs 0 tokens per session (351 once invoked), scanned A, original, MIT.

A command that adds a web animation to the project's shared semantic animation catalogue. It creates the animation utility and keyframes there, then rebuilds the catalogue.

In plain words
What is it for?
Use it when a component needs a new animation, including when compliance checks report an unknown animation class. Pair the result with reduced-motion handling.
Why use it?
It keeps animations in one tracked location and prevents components from using unregistered animations or their own isolated keyframes.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is aziontech/webkit's own configuration. It tells Claude Code how to work on webkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything webkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aziontech/webkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aziontech/webkit/main/.claude/commands/add-animation.md
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/aziontech/webkit/add-animation"><img src="https://agentmods.dev/badge/commands/aziontech/webkit/add-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 351 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.00000 $0.00351
Opus 5.5 $0.00000 $0.00140
Sonnet 5.5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 2mo ago against content hash 114a4e82ed33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-animation 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 2mo 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/commands/add-animation.md · 23 lines

What it actually says

/add-animation [component]

Scaffold a new webkit animation in the one correct place — the semantic animation catalog — so components never ship a component-local @keyframes or an off-catalog animate-[…]. Triggered by hand, or pointed at by validate-spec-compliance when a component uses an animate-* that is not yet in the catalog.

Run the add-animation skill (.claude/skills/add-animation/SKILL.md). It:

  1. Adds a .animate-<name> utility + its @keyframes to packages/theme/src/tokens/semantic/animations.js, using the duration / curve tokens from primitives/animations/animate.js — published as @aziontech/theme/animations — (never a raw ms / cubic-bezier literal).
  2. Records a Theme gaps row in the component's .specs/<component>.md (when a component is given) so the addition is tracked.
  3. Regenerates the catalog (pnpm --filter @aziontech/webkit catalog:build) so tokens.animations includes <name> and the compliance cross-check passes.
  4. Reminds you to pair the class with motion-reduce:* in the component.

Do not edit .claude/docs/DESIGN.md — the catalog + semantic/animations.js are the source of truth; DESIGN.md is a human mirror updated separately.

<name> is kebab-case (e.g. slide-left). The keyframe name is its camelCase form.

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. 2mo ago First seen · 23 lines · 0 tokens per session scan A 114a4e82ed33

Subscribe to this mod's changes

add-animation is a command published in the GitHub repository aziontech/webkit (3 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 351 tokens. 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.