react-animations

react-animations is a skill for Claude Code from fcsouza/agent-skills. It costs 79 tokens per session (1,760 once invoked), scanned A, original, MIT.

A set of instructions for adding animation and motion effects to React applications, including transitions, scrolling effects, gestures, dragging, and animated interface feedback.

In plain words
What is it for?
Building entrance and exit effects, hover or scroll motion, parallax, drag interactions, card flips, loading animations, and game-style effects such as damage numbers or health-bar changes.
Why use it?
It helps developers choose and implement motion behavior consistently in React interfaces.

Skill for Claude Code

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

Part of the standalone-skills plugin — 8 skills shipped together

Good fit Building entrance and exit effects, hover or scroll motion, parallax, drag interactions, card flips, loading animations, and game-style effects such as damage numbers or health-bar changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcsouza/agent-skills/react-animations
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 fcsouza/agent-skills --skill react-animations
Clone the repo
git clone --depth 1 https://github.com/fcsouza/agent-skills

Made for: Claude Code.

Or install standalone-skills, the plugin that ships this one along with the rest of its 8 skills.

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 react-animations

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcsouza/agent-skills/react-animations/github.svg)](https://agentmods.dev/skills/fcsouza/agent-skills/react-animations)
Your own site
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/react-animations"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/react-animations/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 react-animations

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/react-animations"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/react-animations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,760 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.00079 $0.01760
Opus 5.5 $0.00032 $0.00704
Sonnet 5.5 $0.00016 $0.00352
Haiku 4.5 $0.00008 $0.00176

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

Security

Grade A, and why

react-animations 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 18d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/animation-variants.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/react-animations/SKILL.md · 116 lines

How it starts

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

React animations with Motion

Motion is the library formerly named Framer Motion. framer-motion publishes the same code under the old name, so existing projects keep working. New code installs motion and imports from motion/react.

Use the official Motion tooling first

Use the motion skill (Motion AI Kit) if it is installed, otherwise run bunx motion-ai or read https://github.com/motiondivision/ai-kit. It also configures the docs MCP server at https://mcp.motion.dev. For API details, read https://motion.dev/llms.txt. Every docs page serves Markdown when you add .md to its URL. This skill keeps only the decisions and the game-UI recipes those sources do not hold.

Choose the tool

Need Use
Hover, focus, simple fades CSS transition (Tailwind). Do not add Motion for this.
Enter and exit of conditional elements, variants, gestures, drag, layout and layoutId motion components with AnimatePresence
Values driven by input or game state (bars, counters) useMotionValue, useSpring, useTransform
One-off imperative sequences (shake, pulse) useAnimate
Timelines, ScrollTrigger, SVG drawing GSAP. Use the gsap-react skill.
Native page and route transitions The vercel-react-view-transitions skill. Use Motion's AnimateView (import { AnimateView } from 'motion/react-animate-view', not motion/react) only if the project already uses Motion. It needs React and React DOM 19.3 or later.

Setup

bun add motion
import { motion } from 'motion/react';

In a Next.js App Router server file, use import * as motion from 'motion/react-client'. Otherwise add 'use client'.

Rules that save debugging time

  1. Animate transform and opacity. Animating width, height, top or left forces layout work. Use scaleX, scaleY or the layout prop.
  2. Wrap conditional elements in AnimatePresence, or exit never runs. Give each child a stable key.
  3. Put variants outside the component so they keep one identity.
  4. Drive animation values with motion values, not useState. Motion values update without re-rendering the component.
  5. Do not mix a CSS transition and Motion on one element. They fight over the same property.
  6. An element animates on mount from its first-rendered values to animate. Set initial to choose the start. If those values already match animate, nothing plays. initial={false} renders at the animate values with no enter animation.
  7. Call motion.create(Component) at module level, never inside a render. The component you wrap must forward its ref.

Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 18d ago Changed · -229 lines · -24 tokens per session 1b64dcd4242d
  2. 3mo ago First seen · 345 lines · 103 tokens per session scan A beb2404625bf

Subscribe to this mod's changes

react-animations is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,760 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

react-animations compared with skills from other repositories

react-animations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-animationsfcsouza/agent-skillsSkill29todayMITA79Claude Code
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29kyesterdayMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14k2d agoMITA42Claude Code
onchainkitalsk1992/CloddsBotSkill3.1k20d agoMITA24Claude Code, Codex