pn-animation

pn-animation is a skill for Cursor from perniemann/pnCore. It costs 36 tokens per session (1,766 once invoked), scanned A, original, MIT.

A guide for planning and implementing animation in web interfaces, including when motion should reveal, orient, confirm, or add delight.

In plain words
What is it for?
Use it to design motion systems, review existing animations, choose between CSS, Motion, and GSAP, and plan interface transitions or interactions.
Why use it?
It helps teams choose an appropriate animation approach and avoid motion that is distracting or inaccessible. It includes guidance for respecting users who prefer reduced motion.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the pn-core plugin — 133 skills, 19 commands, 9 agents, 1 MCP server shipped together

Good fit Use it to design motion systems, review existing animations, choose between CSS, Motion, and GSAP, and plan interface transitions or interactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perniemann/pncore/pn-animation
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 perniemann/pnCore --skill pn-animation
Clone the repo
git clone --depth 1 https://github.com/perniemann/pnCore

Made for: Cursor.

Or install pn-core, the plugin that ships this one along with the rest of its 133 skills, 19 commands, 9 agents, 1 MCP server.

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 pn-animation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-animation"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,766 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.00036 $0.01766
Opus 5.5 $0.00014 $0.00706
Sonnet 5.5 $0.00007 $0.00353
Haiku 4.5 $0.00004 $0.00177

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

Security

Grade A, and why

pn-animation 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 1mo 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.

packages/pn-core-mcp/content/skills/frontend/pn-animation/SKILL.md · 132 lines

How it starts

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

Animation skill

This SKILL.md is a router; load reference.md only when that workflow is active.

When to use

  • Designing a motion system for a new project (motion tokens, duration scale, easing library).
  • Auditing existing animations against the motion role taxonomy and prefers-reduced-motion requirements.
  • Choosing between GSAP, Motion, and CSS for a given animation context.
  • Implementing any intentional UI animation: staggered reveals, scroll-triggered sequences, hover effects, page/route transitions, micro-interactions, or loading/success states.

Every animation must carry a motion role (Reveal / Orient / Confirm / Delight). If it fits none, remove it. This is non-negotiable per pn-frontend-design-philosophy.

For full GSAP API — timelines, easing, ScrollTrigger, plugins, framework integrations, and video Frame Adapter — load pn-gsap. For CSS and Motion (React) code patterns, see reference.md.

Library selection guide

Context Library Why
React declarative animation, layout transitions, gestures Motion (Framer Motion successor) Co-located with JSX; handles layout with layout prop; drag/gesture support
Timeline control, complex scroll sequences, staggered choreography, vanilla JS GSAP + ScrollTrigger Best-in-class timeline API; frame-accurate scroll-trigger; works without framework → see pn-gsap
Simple single-property transitions, hover states, focus states CSS transitions Zero JS overhead; browser-native; always prefer for simple cases
Looping illustrations, icon micro-animations CSS keyframes or Lottie CSS for geometric; Lottie for designer-authored complex illustration loops
React + complex scroll sequences GSAP inside useGSAP useGSAP hook handles React lifecycle and cleanup automatically → see pn-gsap

Install:

npm install motion        # Motion (React)
npm install gsap          # GSAP (ScrollTrigger included)
npm install @gsap/react   # useGSAP hook

Read the full file on GitHub · 132 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. 1mo ago Changed · +2 lines · -46 tokens per session e2f401061a56
  2. 1mo ago First seen · 130 lines · 82 tokens per session scan A da5f7e879d0f

Subscribe to this mod's changes

pn-animation is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,766 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

design-context-extract

Extract design DNA from app screenshots, live URLs, or screen recordings using Google Stitch — color palettes, typography, spacing tokens, component patterns, and motion specs as design-tokens.json or Tailwind config. Use when the user points to a screenshot, URL, or video and asks to extract or audit the design…

yonatangross/orchestkit · 84 tokens

figma-design-handoff

Figma-to-code design handoff patterns including Figma Variables to design tokens pipeline, component spec extraction, Dev Mode inspection, Auto Layout to CSS Flexbox/Grid mapping, and visual regression with Applitools. Use when converting Figma designs to code, documenting component specs, setting up design-dev…

yonatangross/orchestkit · 76 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

component-search

Search 21st.dev component registry for production-ready React components. Finds components by natural language description, filters by framework and style system, returns ranked results with install instructions. Use when looking for UI components, finding alternatives to existing components, or sourcing design system…

yonatangross/orchestkit · 57 tokens

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens

openkb-html-critic

Use to review a generated HTML deck or single-page artifact for visual quality and structural correctness. Especially good at catching CSS specificity bugs where slide-modifier classes (.divider, .center, .q, .flow etc.) accidentally override the base .slide{display:none} and cause one slide to stack on top of every…

VectifyAI/OpenKB · 132 tokens