motion

motion is a skill for Claude Code from Muminur/frontend-design-craft-skill. It costs 95 tokens per session (2,040 once invoked), scanned A, original, MIT.

A set of rules for designing purposeful movement on websites, such as transitions, hover effects, loading states, modals, drawers, and scroll-triggered effects.

In plain words
What is it for?
Use it when adding, fixing, reviewing, or tuning web animations, easing, micro-interactions, and other interface movement.
Why use it?
It helps distinguish motion that explains a change or improves responsiveness from animation that distracts users or feels sluggish, including users who prefer reduced motion.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the craft plugin — 4 skills, 13 commands shipped together

Good fit Use it when adding, fixing, reviewing, or tuning web animations, easing, micro-interactions…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muminur/frontend-design-craft-skill/motion
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 Muminur/frontend-design-craft-skill --skill motion
Clone the repo
git clone --depth 1 https://github.com/Muminur/frontend-design-craft-skill

Made for: Claude Code.

Or install craft, the plugin that ships this one along with the rest of its 4 skills, 13 commands.

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 motion

README.md
[![agentmods](https://agentmods.dev/badge/skills/muminur/frontend-design-craft-skill/motion.svg)](https://agentmods.dev/skills/muminur/frontend-design-craft-skill/motion)
Your own site
<a href="https://agentmods.dev/skills/muminur/frontend-design-craft-skill/motion"><img src="https://agentmods.dev/badge/skills/muminur/frontend-design-craft-skill/motion.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,040 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.00095 $0.02040
Opus 5 $0.00048 $0.01020
Sonnet 5 $0.00019 $0.00408
Haiku 4.5 $0.00010 $0.00204

Measured 6d ago against content hash 04ce205c98b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

motion 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 6d 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/motion/SKILL.md · 185 lines

How it starts

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

Motion

Animation should feel inevitable, not decorative. The best motion on the web is the kind users do not notice — it makes the interface feel responsive and physical, then gets out of the way. The worst motion is the kind that calls attention to itself: bouncy entrances on every element, decorative scroll effects, parallax for its own sake.

The four questions before adding any animation

  1. Does this animation communicate something? State changes (open/closed, loading/loaded, selected/deselected) deserve motion. Pure decoration does not.
  2. Does the user trigger it, or does it happen to them? User-triggered animations can be slightly longer (200–400ms). Animations that happen passively (entrance animations, scroll effects) must be shorter or removed entirely.
  3. What is the physical metaphor? Things falling use ease-in. Things settling use ease-out. Things being pushed use spring physics. If no physical metaphor fits, the animation probably should not exist.
  4. What happens if prefers-reduced-motion is on? Have the answer before you start.

Properties to animate

Animate freely:

  • transform (translate, scale, rotate)
  • opacity
  • filter (with care — expensive)
  • clip-path (with care)

Never animate directly:

  • width, height, top, left, right, bottom, margin, padding — these trigger layout. Use transforms instead.
  • box-shadow — animate a pseudo-element's opacity instead, or pre-render shadow states.
  • background-color on large surfaces — use a pseudo-element overlay if it must move.

If you find yourself reaching for width: 0 → width: 300px, the right answer is almost always transform: scaleX(0) → scaleX(1) with the correct transform-origin.

Timing

Match duration to perceived weight of the change. These are starting points, not rules:

What Duration Why
Color change on hover 100–150ms Should feel instant but not abrupt
Button press, tap response 100–200ms Confirms input received
Tooltip, popover open 150–200ms Light, transient
Dropdown, menu open 200–250ms Medium presence
Modal, drawer open 250–400ms Heavy, demands attention
Page transition 300–500ms Largest scope change
Hero entrance animations 400–600ms Once-per-session moments

Read the full file on GitHub · 185 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 185 lines · 95 tokens per session scan A 04ce205c98b4

Subscribe to this mod's changes

motion is a skill published in the GitHub repository Muminur/frontend-design-craft-skill (4 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 2,040 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens