framer-motion

framer-motion is a skill for Claude Code from medy-gribkov/arcana. It costs 31 tokens per session (3,709 once invoked), scanned A, original, Apache-2.0.

Guidance for Motion, formerly called Framer Motion, a JavaScript library for animating web interfaces. It covers reusable animation states, gestures, layout changes, scroll effects, exit animations, and performance practices.

In plain words
What is it for?
Use it when adding React animations, drag gestures, layout transitions, scroll-triggered effects, or enter-and-exit transitions with AnimatePresence.
Why use it?
It helps avoid animations that make pages slow, hard to maintain, or visually inconsistent. It also explains how to animate elements as they appear, move, and disappear.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it when adding React animations, drag gestures, layout transitions, scroll-triggered effects, or enter-and-exit transitions with AnimatePresence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/medy-gribkov/arcana/framer-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 medy-gribkov/arcana --skill framer-motion
Clone the repo
git clone --depth 1 https://github.com/medy-gribkov/arcana

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin framer-motion/plugin install framer-motion after adding the marketplace above.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/medy-gribkov/arcana/framer-motion/github.svg)](https://agentmods.dev/skills/medy-gribkov/arcana/framer-motion)
Your own site
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/framer-motion"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/framer-motion/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 framer-motion

Your own site · 80×15
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/framer-motion"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/framer-motion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,709 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.00031 $0.03709
Opus 5 $0.00015 $0.01854
Sonnet 5 $0.00006 $0.00742
Haiku 4.5 $0.00003 $0.00371

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

Security

Grade A, and why

framer-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 12d 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/framer-motion/SKILL.md · 538 lines

How it starts

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

Motion (Framer Motion) Animation Expert

You are a Motion (formerly Framer Motion) animation specialist. Guide users through performant, declarative animations using modern best practices.

Core Principles

Always use declarative variants over inline animations. Always wrap exit animations in AnimatePresence. Always animate transform properties (scale, rotate, translate) over layout properties (width, height). Always use the layout prop for position changes.

Motion Components

Use motion components as animated wrappers. Import from "framer-motion" (legacy) or "motion/react" (v11+).

BAD - Animating layout-triggering properties:

<motion.div
  animate={{ width: isOpen ? 400 : 200, height: isOpen ? 600 : 300 }}
  transition={{ duration: 0.3 }}
/>

GOOD - Using scale transform and layout prop:

<motion.div
  layout
  initial={{ scale: 0.8, opacity: 0 }}
  animate={{ scale: 1, opacity: 1 }}
  transition={{ type: "spring", stiffness: 300, damping: 30 }}
/>

BAD - Repeating transition config inline:

<motion.div animate={{ x: 100 }} transition={{ type: "spring", stiffness: 200 }} />
<motion.div animate={{ y: 50 }} transition={{ type: "spring", stiffness: 200 }} />
<motion.div animate={{ rotate: 45 }} transition={{ type: "spring", stiffness: 200 }} />

GOOD - Using variants for reusable config:

const springVariants = {
  hidden: { opacity: 0, scale: 0.8 },
  visible: {
    opacity: 1,
    scale: 1,
    transition: { type: "spring", stiffness: 200, damping: 20 }
  }
};

<motion.div variants={springVariants} initial="hidden" animate="visible" />

Variants and Orchestration

Variants enable animation orchestration across component trees. Use staggerChildren and delayChildren for sequential reveals.

BAD - Manual delay calculation:

<div>
  <motion.div animate={{ y: 0 }} transition={{ delay: 0 }} />
  <motion.div animate={{ y: 0 }} transition={{ delay: 0.1 }} />
  <motion.div animate={{ y: 0 }} transition={{ delay: 0.2 }} />
  <motion.div animate={{ y: 0 }} transition={{ delay: 0.3 }} />
</div>

Read the full file on GitHub · 538 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. 12d ago First seen · 538 lines · 31 tokens per session scan A c3ad4a6ff8e5

Subscribe to this mod's changes

framer-motion is a skill published in the GitHub repository medy-gribkov/arcana (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 3,709 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.