medium-300-500ms

medium-300-500ms is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 32 tokens per session (714 once invoked), scanned A, original, MIT.

Guidance for standard animations lasting 300–500 milliseconds, including page transitions, major interface changes, and animated illustrations.

In plain words
What is it for?
Use it to design easing, key positions, deformation, follow-through, and multi-element motion in interfaces.
Why use it?
Meaningful motion needs enough time to be understood without interrupting the user's flow. This helps balance clarity with responsiveness.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design easing, key positions, deformation, follow-through, and multi-element motion in interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/medium-300-500ms
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 dylantarre/animation-principles --skill medium-300-500ms
Clone the repo
git clone --depth 1 https://github.com/dylantarre/animation-principles

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 medium-300-500ms

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylantarre/animation-principles/medium-300-500ms/github.svg)](https://agentmods.dev/skills/dylantarre/animation-principles/medium-300-500ms)
Your own site
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/medium-300-500ms"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/medium-300-500ms/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 medium-300-500ms

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/medium-300-500ms"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/medium-300-500ms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 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. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
How audits are shown
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.00032 $0.00714
Opus 5.5 $0.00013 $0.00286
Sonnet 5.5 $0.00006 $0.00143
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

medium-300-500ms 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.

skills/10-by-time-scale/medium-300-500ms/SKILL.md · 92 lines

How it starts

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

Medium Animations (300-500ms)

The 300-500ms range is standard animation territory. Long enough to be watched, short enough to not impede flow. The workhorse duration for meaningful motion.

Disney Principles at Medium Duration

All 12 Principles Applicable

Squash & Stretch: Full expression - visible deformation for bouncing, elastic elements. 15-25% stretch feels natural.

Anticipation: Clear preparation - 80-120ms anticipation before main action. Pull back before push forward.

Staging: Multi-element choreography possible - primary action leads, supporting elements follow.

Straight Ahead/Pose to Pose: Pose to pose recommended - define key positions, let easing handle in-betweens.

Follow Through: Essential - overlapping action where parts settle at different rates.

Slow In/Slow Out: Critical for naturalism - both directions need proper easing.

Arcs: Natural motion paths - elements should travel on curves matching real physics.

Secondary Action: Multiple secondary actions - hair follows head, shadow follows object.

Timing: 18-30 frames at 60fps. Enough frames for nuanced motion.

Exaggeration: Full range available - match to brand personality and context.

Solid Drawing: Complex transforms work - 3D rotations, perspective shifts.

Appeal: Character-defining animations - this is where brand personality lives.

Easing Recommendations

/* Smooth, natural motion */
transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);

/* Expressive entrance */
transition: all 450ms cubic-bezier(0.16, 1, 0.3, 1);

/* Bouncy, playful */
transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

/* Dramatic deceleration */
transition: all 350ms cubic-bezier(0, 0.55, 0.45, 1);

Best Use Cases

  • Page/view transitions
  • Complex modal sequences
  • Animated illustrations
  • Data visualization changes
  • Onboarding animations
  • Feature reveals
  • State machine transitions
  • Loading completion celebrations

Implementation Pattern

Read the full file on GitHub · 92 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. 2mo ago First seen · 92 lines · 32 tokens per session scan A d275b1fdb451

Subscribe to this mod's changes

medium-300-500ms is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 32 tokens to every session and 714 once invoked, about $0.0001 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-03.

Related

medium-300-500ms compared with skills from other repositories

medium-300-500ms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
medium-300-500msdylantarre/animation-principlesSkill73511mo agoMITA32Claude Code, Codex
agent-reelssickn33/agentic-awesome-skillsSkill51kyesterdayMITA31Claude Code
frontend-designanthropics/claude-plugins-officialSkill49ktodayApache-2.0A40Claude Code
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
visual-planBuilderIO/skillsSkill4.7k5d agoMITA32Claude Code
infographicsforyourhealth111-pixel/Vibe-SkillsSkill3.9k22d agoApache-2.0A55Claude Code
customer-journey-mapmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA86Claude Code, Codex