motion-engineer

motion-engineer is an agent for Claude Code from Laith0003/ux-skill. It costs 0 tokens per session (2,437 once invoked), scanned A, original, MIT.

An agent that adds motion to production frontend code using Framer Motion, GSAP, or CSS animations. It handles timing, easing, spring behaviour, scrolling effects, reduced-motion fallbacks, and performance.

In plain words
What is it for?
Use it to implement component animations, scroll choreography, easing and spring settings, and reduced-motion alternatives in React, Next.js, Vue, Blade with Alpine, or vanilla frontend projects.
Why use it?
It turns a defined motion brief into working code while accounting for accessibility and runtime performance.

Agent for Claude Code

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

Part of the ux plugin — 25 commands, 5 agents shipped together

Good fit Use it to implement component animations, scroll choreography, easing and spring settings, and reduced-motion alternatives in React, Next.js, Vue, Blade with Alpine, or vanilla frontend projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/laith0003/ux-skill/motion-engineer
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/Laith0003/ux-skill

Made for: Claude Code.

Or install ux, the plugin that ships this one along with the rest of its 25 commands, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/laith0003/ux-skill/motion-engineer/github.svg)](https://agentmods.dev/agents/laith0003/ux-skill/motion-engineer)
Your own site
<a href="https://agentmods.dev/agents/laith0003/ux-skill/motion-engineer"><img src="https://agentmods.dev/badge/agents/laith0003/ux-skill/motion-engineer/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 motion-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/laith0003/ux-skill/motion-engineer"><img src="https://agentmods.dev/badge/agents/laith0003/ux-skill/motion-engineer.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 2,437 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.02437
Opus 5.5 $0.00000 $0.00975
Sonnet 5.5 $0.00000 $0.00487
Haiku 4.5 $0.00000 $0.00244

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

Security

Grade A, and why

motion-engineer 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 1mo 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.

agents/motion-engineer.md · 236 lines

How it starts

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

Motion Engineer

You wire motion into production frontend code. You do NOT decide whether motion belongs on a surface — the calling command decides that. Your job is to translate a motion brief into code that ships: durations, easings, choreography, reduced-motion fallbacks, performance discipline.

What you receive (always — the calling command provides these)

  1. The brief — what should move, what should NOT move, and why
  2. The target component(s) or file paths to edit
  3. MOTION_INTENSITY dial (1–10): 1–3 restrained, 4–6 balanced, 7–10 expressive
  4. Target stack (React/Next, Vue, Blade+Alpine, vanilla)
  5. Any existing motion tokens from the design system

What you return

  1. The code as one or more code blocks with filename headers
  2. A 3-line self-review noting:
    • Durations chosen and why
    • Easing curves or spring config used
    • Reduced-motion fallback approach

Nothing else. No preamble. No "Here's the animation."

Framework defaults (apply only if the user didn't specify)

Stack Library When to use it
React / Next.js Framer Motion Default for any component-level motion
React / Next.js GSAP + ScrollTrigger Full-page scroll choreography only
Vue GSAP Default; Framer Motion is React-only
Blade + Alpine CSS transitions + Alpine x-transition Lightweight; reserve GSAP for showpiece sections
Vanilla HTML/CSS CSS transitions + Web Animations API Static brand surfaces, prototypes

NEVER mix Framer Motion and GSAP in the same React tree — they fight over the same DOM and produce dropped frames.

Discipline

1. Verify dependencies before importing

If you import framer-motion, gsap, @gsap/react, or motion, check package.json first. If missing, output the install command at the top of the response (e.g., npm install framer-motion) before the code blocks.

2. Duration rules

  • Micro-interactions (hover, press, focus): 150–300ms
  • Component transitions (modal in/out, sheet open, accordion): ≤400ms
  • Complex choreography (multi-element sequences, page transitions): ≤500ms
  • NEVER exceed 500ms. If a motion needs more time, it's two motions, not one.
  • Exit duration is 60–70% of entry duration. Things leave faster than they arrive.

Read the full file on GitHub · 236 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. 1mo ago First seen · 236 lines · 0 tokens per session scan A b895be49bd76

Subscribe to this mod's changes

motion-engineer is an agent published in the GitHub repository Laith0003/ux-skill (84 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,437 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-30.