motion-director

motion-director is an agent for Claude Code from memi-design/design-sandbox. It costs 42 tokens per session (629 once invoked), scanned A, original, MIT.

An agent for adding limited animation to an already working web interface. It can use Framer Motion, a React animation library, or existing CSS animations, while accounting for users who prefer reduced motion.

In plain words
What is it for?
Use it after a component has been built when a brief calls for entrances, hover effects, transitions, or other interface motion.
Why use it?
It helps introduce movement without changing the static layout or piling on too many effects. The reduced-motion handling makes the result more accessible.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it after a component has been built when a brief calls for entrances, hover effects, transitions, or other interface motion.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/memi-design/design-sandbox/motion-director
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/memi-design/design-sandbox

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 motion-director

README.md
[![agentmods](https://agentmods.dev/badge/agents/memi-design/design-sandbox/motion-director.svg)](https://agentmods.dev/agents/memi-design/design-sandbox/motion-director)
Your own site
<a href="https://agentmods.dev/agents/memi-design/design-sandbox/motion-director"><img src="https://agentmods.dev/badge/agents/memi-design/design-sandbox/motion-director.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 629 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.00042 $0.00629
Opus 5 $0.00021 $0.00315
Sonnet 5 $0.00008 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured 8d ago against content hash cdfe8e0d504d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

motion-director 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 8d 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/motion-director.md · 44 lines

How it starts

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

You add motion to an already-rendering static composition. Restraint is the job.

Workflow per invocation

  1. Confirm the surface. Read src/app/sandbox/page.tsx. Identify the elements to animate (entrances, hovers, transitions, exit).

  2. Install framer-motion if not present.

    pnpm add framer-motion
    

    Skip if already in package.json. For pure CSS animations (entrance fades, simple slides), don't install — use Tailwind utilities (transition-*, animate-in, etc.) and the existing tw-animate-css.

  3. Add "use client" to the page if it isn't already there and you're using Framer Motion.

  4. Apply ONE motion concept per turn. If the brief asks for "a smooth, springy reveal with a shimmer accent", do the reveal first. Wait for the user to verify before stacking shimmer.

  5. Default motion grammar:

    • Duration: 150–350ms for UI; cinematic moments may push to 600ms but justify it
    • Easing: [0.16, 1, 0.3, 1] (out-expo) or easeOut for entrances; easeInOut for state changes
    • Springs: { stiffness: 300, damping: 30 } is a safe default
    • Stagger: 40–80ms between siblings
  6. Always add a reduced-motion guard. Use Framer Motion's useReducedMotion hook, or for CSS, conditionally swap motion-safe: for motion-reduce::

    const reduce = useReducedMotion();
    const transition = reduce ? { duration: 0 } : { duration: 0.25, ease: "easeOut" };
    
  7. Verify. pnpm typecheck, then describe what should be visually testable. If the dev server isn't running, suggest pnpm dev.

Hard rules

  • One animation per turn. Stacking is forbidden until the user signs off on the previous layer.
  • No animation longer than 400ms for plain UI feedback. Cinematic loops (showcase pages) are exempt but flag them as such.
  • Always honor prefers-reduced-motion. Untested = not done.
  • Never animate layout-shifting properties (top, left, width, height) when transform + opacity will do.
  • Don't reach for Remotion unless the brief is explicitly about exporting video. For Remotion installs, also add @remotion/cli and a src/remotion/ composition root.

Read the full file on GitHub · 44 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. 8d ago First seen · 44 lines · 42 tokens per session scan A cdfe8e0d504d

Subscribe to this mod's changes

motion-director is an agent published in the GitHub repository memi-design/design-sandbox (7 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 629 once invoked, about $0.0002 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 agents, from other repositories

gsp-polisher

Detects and fixes AI-slop craft failures in React/Tailwind codebases. Spawned by /gsp-polish.

jubscodes/get-shit-pretty · 31 tokens

grid

Designs spatial foundations — spacing scales, responsive grids, breakpoints, and layout primitives for design systems. Use when creating or auditing layout systems for a product. Trigger with "design a layout system", "audit our grid".

jeremylongshore/tons-of-skills-marketplace · 47 tokens

move

Designs animation systems — timing tokens, easing curves, micro-interactions, and prefers-reduced-motion fallbacks — that guide attention without blocking users. Use when speccing motion for a component library, auditing existing animations, or building a product motion system. Trigger with "design the animation…

jeremylongshore/tons-of-skills-marketplace · 67 tokens

html-slides

Render a presentation-brief.md into a self-contained HTML slide presentation with speaker notes, keyboard navigation, and themed styling. Delegates to the render-html-slides skill and returns JSON statistics. Use when the user wants HTML slides, browser-based presentations, or an alternative to PowerPoint output.

cogni-work/insight-wave · 62 tokens

design-master

Comprehensive design guide drawing from timeless principles, legendary designers, and historical movements. Masters visual hierarchy, color theory, typography, composition, and translates classical design wisdom into modern implementation. Use PROACTIVELY for any UI/UX design, component creation, or visual…

HermeticOrmus/LibreUIUX-Claude-Code · 59 tokens

layout-builder

Layout . Textand Image Integration HTML/CSS Visual Story page produce. Responsive , Typography, design.

revfactory/harness-100 · 23 tokens