motion-migration-guide

motion-migration-guide is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 41 tokens per session (701 once invoked), scanned A, original, MIT.

A migration guide for moving projects from Framer Motion to Motion, the independently maintained animation library. It explains new package imports, page-transition APIs, supported frameworks, and breaking changes.

In plain words
What is it for?
Use it when updating a project from framer-motion, adding View Transitions, or using Motion with React, Vue, or plain JavaScript.
Why use it?
It helps prevent broken imports and behavior changes during the library move. It shows how existing React animation code maps to the new package and where other framework versions fit.

Skill for Claude CodeCodex

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

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/s3yed/appie-kit/motion-migration-guide
Any agent
npx skills add S3YED/appie-kit --skill motion-migration-guide
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

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 motion-migration-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3yed/appie-kit/motion-migration-guide.svg)](https://agentmods.dev/skills/s3yed/appie-kit/motion-migration-guide)
Your own site
<a href="https://agentmods.dev/skills/s3yed/appie-kit/motion-migration-guide"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/motion-migration-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 701 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.00041 $0.00701
Opus 5 $0.00020 $0.00351
Sonnet 5 $0.00008 $0.00140
Haiku 4.5 $0.00004 $0.00070

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

Security

Grade A, and why

motion-migration-guide 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 2d 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/creative/motion-migration-guide/SKILL.md · 84 lines

What it actually says

Motion v12.42+ Migration Guide

Framer Motion has been spun out from Framer into an independent open-source project called Motion. The library is now at motion/react (was framer-motion).

Key Changes

New Import Paths

// OLD (framer-motion)
import { motion, AnimatePresence, useScroll } from "framer-motion";

// NEW (Motion)
import { motion, AnimatePresence, useScroll } from "motion/react";

animateView API (View Transitions)

Introduced in v12.41, moved to main library in v12.42:

import { animateView } from "motion/react";

// Basic page transition
animateView(() => {
  // DOM updates happen here
  updatePageContent();
}, {
  // Transition options
  duration: 0.5,
  easing: [0.16, 1, 0.3, 1],
});

Key features:

  • .add(), .new(), .old(), .layout(), .class() — fine-grained control
  • Auto-grouping — layers auto-group to match DOM hierarchy
  • .group(false) to opt out of auto-grouping
  • Auto-crop with border-radius animation (aspect-ratio aware)

Framework Support

  • React: motion/react
  • Vue 3: motion-v (new!)
  • Vanilla JS: Works without any framework
  • Solid: motion/solid (community)

Installation

npm install motion
# or
pnpm add motion
# or
yarn add motion

After installing, remove framer-motion from package.json.

Migration Steps

  1. npm uninstall framer-motion && npm install motion
  2. Replace all imports: from "framer-motion"from "motion/react"
  3. Update package.json references
  4. Test AnimatePresence exit animations (bug fixed in v12.42.2)

Version History (Recent)

Version Date Key Change
v12.41.0 2026-06-23 animateView moves from Early Access to main library
v12.42.0 2026-06-24 animateView layers auto-group, aspect-ratio aware auto-crop
v12.42.2 2026-06-30 Bug fixes: AnimatePresence exit, drag constraints, scroll hydration

Pitfalls

  • motion/react is the new canonical path, NOT motion (bare import)
  • If you still see framer-motion in lockfile after migration, run npm dedupe
  • AnimatePresence exit animation bugs were fixed in v12.42.2 — upgrade if you're on an older v12 release===ME:motion-migration-guide
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. 2d ago First seen · 84 lines · 41 tokens per session scan A 07af50256110

Subscribe to this mod's changes

motion-migration-guide is a skill published in the GitHub repository S3YED/appie-kit (7 stars, last pushed 10d ago), licensed MIT. It adds 41 tokens to every session and 701 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-09-03.

Related

Other skills, from other repositories

formkit

Use when working with FormKit forms, validation, schema, or custom inputs in React, Vue, or Nuxt projects.

formkit/formkit · 28 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

goey-toast

Install and use goey-toast — a gooey, morphing React toast component built on Sonner with Framer Motion. Use when adding toast/notification UI to a React app (success/error/warning/info/promise toasts), or when the user mentions goey-toast / gooey toast.

anl331/goey-toast · 64 tokens

animation-reverse-engineering

Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation code through frame-level dissection. Use when the user shares a video/URL and says "implement this animation", "recreate this motion", "port this interaction", "how does this animate", "clone…

sendaifun/skills · 176 tokens

motion-dev

Use when React animation library — spring physics, gesture animations, layout animations, scroll effects, SVG path drawing. Successor to Framer Motion. Use when building UI animations, micro-interactions, page transitions, shared element transitions, parallax effects.

oyi77/1ai-skills · 53 tokens

front-component-generator

Generate a React or Vue component from a natural language description, including TypeScript types, styles, and basic tests.

guyoung/boxagnts · 27 tokens