motion-animations

motion-animations is a skill for Claude Code from ne11nn/cantos-plugin. It costs 53 tokens per session (2,293 once invoked), scanned A, original, MIT.

A guide for adding movement to websites, such as scroll effects, entrance reveals, layout changes, gestures, and parallax.

In plain words
What is it for?
Use it when implementing animated components or motion in a website or frontend feature.
Why use it?
It provides patterns for building consistent interface animations with the Motion library.

Skill for Claude Code

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

Part of the cantos plugin — 25 skills, 2 commands, 11 agents, 2 hooks 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/ne11nn/cantos-plugin/motion-animations
Any agent
npx skills add ne11nn/cantos-plugin --skill motion-animations
Clone the repo
git clone --depth 1 https://github.com/ne11nn/cantos-plugin

Made for: Claude Code.

Or install cantos, the plugin that ships this one along with the rest of its 25 skills, 2 commands, 11 agents, 2 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ne11nn/cantos-plugin/motion-animations.svg)](https://agentmods.dev/skills/ne11nn/cantos-plugin/motion-animations)
Your own site
<a href="https://agentmods.dev/skills/ne11nn/cantos-plugin/motion-animations"><img src="https://agentmods.dev/badge/skills/ne11nn/cantos-plugin/motion-animations.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,293 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.02293
Opus 5 $0.00026 $0.01146
Sonnet 5 $0.00011 $0.00459
Haiku 4.5 $0.00005 $0.00229

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

Security

Grade A, and why

motion-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 5d 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/motion-animations/SKILL.md · 264 lines

How it starts

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

Motion Animations

Reference skill for building production animations with the Motion library (formerly Framer Motion). Consult this before writing any animation code.

Install: npm install motion Import: import { motion, AnimatePresence } from "motion/react" Next.js RSC: use "use client" directive on any component with motion


Core Concept

Every HTML/SVG element has a motion.* counterpart. Animation is declarative via props:

<motion.div
  initial={{ opacity: 0, y: 20 }}
  animate={{ opacity: 1, y: 0 }}
  exit={{ opacity: 0 }}
  transition={{ type: "spring", stiffness: 200, damping: 20 }}
/>

Animatable properties: x, y, scale, rotate, opacity, filter, clipPath, backgroundColor, borderRadius, boxShadow. Height can animate to/from "auto".


Pattern Catalog

1. Entrance Animations (scroll-triggered)

The default for any element appearing on scroll:

<motion.div
  initial={{ opacity: 0, y: 40 }}
  whileInView={{ opacity: 1, y: 0 }}
  viewport={{ once: true, amount: 0.3 }}
  transition={{ duration: 0.6, ease: "easeOut" }}
/>

Always set viewport={{ once: true }} unless bidirectional reveal is intentional.

2. Staggered List Entrance

Use variants for coordinated parent-to-child animations:

const container = {
  hidden: {},
  visible: { transition: { staggerChildren: 0.06, delayChildren: 0.1 } }
}
const item = {
  hidden: { opacity: 0, y: 16 },
  visible: { opacity: 1, y: 0, transition: { type: "spring", bounce: 0.3 } }
}

<motion.ul variants={container} initial="hidden" whileInView="visible" viewport={{ once: true }}>
  {items.map(i => <motion.li key={i} variants={item} />)}
</motion.ul>

Children inherit initial/animate labels automatically from parent — only need variants prop.

3. Exit Animations

AnimatePresence holds elements in DOM until exit completes:

<AnimatePresence mode="wait">
  {isVisible && (
    <motion.div
      key="unique"
      initial={{ opacity: 0, scale: 0.95 }}
      animate={{ opacity: 1, scale: 1 }}
      exit={{ opacity: 0, scale: 0.95 }}
    />
  )}
</AnimatePresence>

Read the full file on GitHub · 264 lines

Files

What ships with it

1 file 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. 5d ago First seen · 264 lines · 53 tokens per session scan A 7901737c761a

Subscribe to this mod's changes

motion-animations is a skill published in the GitHub repository ne11nn/cantos-plugin (1 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 2,293 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-08-31.

Related

Other skills, from other repositories

refactoring-the-assembled-ui

Edit, split or share the CSS and JavaScript under plugins/audit/scripts/ui/ — files Python concatenates into one inline and one inline carrying code, in a self-contained page opened over file://. Covers the assembly contract and the byte-level pins in plugins/audit/tests/ that guard it, why the split must be an…

AleksandarBisevac/claude-plugins · 192 tokens

writing-css

How CSS is written in this repo — every value comes from a design token, one component gets one name across both surfaces, and the five theme lints decide what ships. Covers the token layer and the half-finished spacing migration, modern syntax that is actually safe here (cascade layers and container queries are…

AleksandarBisevac/claude-plugins · 167 tokens

frontend-aesthetics

How to make frontends that look genuinely designed instead of generic "AI slop", and how to verify UI work the pipeline can't catch with a test suite. Load whenever a task builds or restyles a user-facing surface — a page, a component, a full redesign, a dashboard, a marketing site. Covers distinctive typography…

jjilli/fable-flow · 100 tokens

eval-ui-ux

Specialized UI/UX evaluator for the Evaluate-Loop. Use this for evaluating UI shell tracks, design system tracks, screen implementation tracks, or any track where the primary deliverable is visual/interactive UI. Checks design system adherence, visual consistency, layout structure, responsive behavior, component…

Ibrahim-3d/orchestrator-supaconductor · 119 tokens

stream-chain

Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows.

spencermarx/open-code-review · 18 tokens

frontend-audit

ProductionOS frontend quality scanner. Auto-activates when editing React/Vue/Svelte components, CSS, or layout files. Checks accessibility, responsive design, performance, and design system consistency.

ShaheerKhawaja/ProductionOS · 42 tokens