motion-dev

motion-dev is a skill for Claude Code from oyi77/1ai-skills. It costs 53 tokens per session (2,506 once invoked), scanned A, original, MIT.

A React library for animating interface elements, including page transitions, gestures, scrolling effects, layout changes, and SVG drawings.

In plain words
What is it for?
It helps implement hover and tap feedback, drag interactions, enter and exit effects, parallax scrolling, shared element transitions, and staged animation sequences.
Why use it?
It provides ready-made ways to add movement and interaction to React interfaces without building animation behavior from scratch.

Skill for Claude Code

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

Part of the 1ai-skills plugin — 187 skills, 4 commands shipped together

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.

agentmods
npx agentmods add skills/oyi77/1ai-skills/motion-dev
Any agent
npx skills add oyi77/1ai-skills --skill motion-dev
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 187 skills, 4 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-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/motion-dev.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/motion-dev)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/motion-dev"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/motion-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,506 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00053 $0.02506
Opus 5 $0.00026 $0.01253
Sonnet 5 $0.00011 $0.00501
Haiku 4.5 $0.00005 $0.00251

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

Security

Grade A, and why

motion-dev 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 3d 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.

content/motion-dev/SKILL.md · 327 lines

How it starts

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

Motion.dev — React Animation Library

Motion (formerly Framer Motion) is a production-ready React animation library. Hybrid engine uses Web Animations API + ScrollTimeline for 120fps performance, with JavaScript fallback for spring physics, interruptible keyframes, and gesture tracking.

Source: motion.dev | GitHub: motiondivision/motion

When to Use

  • Building UI animations (enter/exit, hover, tap, drag)
  • Layout animations (reorder, resize, shared element transitions)
  • Scroll-triggered and scroll-linked effects (parallax, progress)
  • SVG path drawing animations
  • Micro-interactions (button feedback, loading states)
  • Page transitions and route animations
  • Gesture-driven interactions (drag, pan, pinch)
  • Complex animation orchestration (stagger, sequence)

Install

npm install motion

Import from "motion/react":

import { motion } from "motion/react"

Core API

Motion Component

Prefix any HTML/SVG tag with motion. to unlock animation props:

<motion.div animate={{ opacity: 1, scale: 1 }} />
<motion.button whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.95 }} />
<motion.circle animate={{ pathLength: 1 }} />

Animation Props

Prop Purpose Example
animate Target values { x: 100, opacity: 1 }
initial Starting values { opacity: 0, scale: 0 }
exit Exit animation (with AnimatePresence) { opacity: 0 }
whileHover Hover state { scale: 1.1 }
whileTap Tap/press state { scale: 0.95 }
whileFocus Focus state { scale: 1.05 }
whileDrag Drag state { scale: 1.1 }
whileInView Scroll-triggered { opacity: 1 }
layout Auto-layout animation true or "position" or "size"

Transition Types

// Spring physics (default for physical properties)
<motion.div animate={{ x: 100 }} transition={{ type: "spring", stiffness: 300, damping: 30 }} />

// Tween easing (default for visual properties)
<motion.div animate={{ opacity: 1 }} transition={{ duration: 0.3, ease: "easeOut" }} />

// Keyframes
<motion.div animate={{ x: [0, 100, 0] }} transition={{ duration: 2, repeat: Infinity }} />

Read the full file on GitHub · 327 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. 3d ago First seen · 327 lines · 53 tokens per session scan A 7ca862a93df6

Subscribe to this mod's changes

motion-dev is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 2,506 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

motion-advanced

Advanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loaders, and the full API decision tree. Requires motion-foundations. Use when building drag and drop, gestures, text or SVG animation, or imperative animation…

gongyijie85/dsh-ecc · 73 tokens

motion-foundations

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this. Use when setting up motion tokens, spring presets, reduced-motion handling, or SSR-safe animation in React or…

gongyijie85/dsh-ecc · 66 tokens

motion-patterns

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs. Use when animating a specific UI element in React or Next.js — button, modal, toast, stagger, page transition, or scroll.

gongyijie85/dsh-ecc · 70 tokens

Framer Motion

Framer Motion animation library — setup, motion principles, staggered lists, exit transitions, shared layout, gesture feedback, accessibility.

LuuOW/meridian-mcp · 29 tokens

web-design-engineer

Build or redesign polished browser-rendered visual artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations. Use for visual front-end creation, design-system exploration, design critique, or explicit browser acceptance / QA of a web artifact.…

ConardLi/garden-skills · 96 tokens

animation-motion-design

Animation and motion design patterns using Motion library (formerly Framer Motion) and View Transitions API. Use when implementing component animations, page transitions, micro-interactions, gesture-driven UIs, or ensuring motion accessibility with prefers-reduced-motion.

yonatangross/orchestkit · 52 tokens