pn-gsap

pn-gsap is a skill for Cursor from perniemann/pnCore. It costs 69 tokens per session (2,969 once invoked), scanned A, original, MIT.

A reference for GSAP, a JavaScript library used to animate web pages. It covers animation sequences, scroll-triggered effects, framework integration, plugins, and performance.

In plain words
What is it for?
Use it to build or debug animations in React, Vue, Svelte, and other web projects, including scroll effects and deterministic video rendering.
Why use it?
It helps developers choose the right animation approach and avoid common integration or performance problems.

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 build or debug animations in React, Vue, Svelte, and other web projects, including scroll effects and deterministic video rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perniemann/pncore/pn-gsap
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-gsap
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-gsap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-gsap"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-gsap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,969 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.00069 $0.02969
Opus 5.5 $0.00028 $0.01188
Sonnet 5.5 $0.00014 $0.00594
Haiku 4.5 $0.00007 $0.00297

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

Security

Grade A, and why

pn-gsap 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-gsap/SKILL.md · 329 lines

How it starts

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

GSAP deep API

When to use

  • Writing or debugging GSAP timelines, tweens, or ScrollTrigger sequences.
  • Choosing the right plugin (SplitText, Flip, DrawSVG, MorphSVG, MotionPath, etc.).
  • Integrating GSAP inside a framework (React / Vue / Svelte) correctly.
  • Recording GSAP animations deterministically as video via a Frame Adapter (see pn-html-to-video).
  • Auditing performance: GPU compositing, will-change usage, ticker frequency.

For motion role taxonomy (Reveal / Orient / Confirm / Delight), motion budgets, and prefers-reduced-motion requirements, load pn-animation alongside this skill.

Install

npm install gsap            # core + all free plugins (ScrollTrigger, Draggable, Observer, etc.)
npm install @gsap/react     # useGSAP hook for React

Club plugins (SplitText, Flip, DrawSVG, MorphSVG, MotionPath, ScrambleText, GSDevTools) require a GSAP Club or Business licence. Import from the gsap/dist/ bundle or from the npm-authenticated @gsap/ scoped package.

Core API

Tween

import { gsap } from 'gsap';

// from — animate from these values to current
gsap.from('.hero', { opacity: 0, y: 40, duration: 0.7, ease: 'power3.out' });

// to — animate from current to these values
gsap.to('.card', { scale: 1.04, duration: 0.2, ease: 'power2.out' });

// fromTo — explicit start and end (frame-accurate; preferred in video adapters)
gsap.fromTo('.title',
  { opacity: 0, y: 32 },
  { opacity: 1, y: 0, duration: 0.8, ease: 'power3.out' }
);

// set — instant (no duration); use for initial state before timeline plays
gsap.set('.nav', { opacity: 0, y: -16 });

Timeline

const tl = gsap.timeline({ defaults: { ease: 'power3.out', duration: 0.6 } });

tl.from('.hero-heading', { opacity: 0, y: 40 })
  .from('.hero-sub',     { opacity: 0, y: 24 }, '-=0.4')  // 0.4s overlap
  .from('.hero-cta',     { opacity: 0, scale: 0.9 }, '-=0.3')
  .from('.hero-image',   { opacity: 0, x: 60 }, '<');       // same start as previous

// Label-based positioning
tl.addLabel('features', 2)
  .from('.feature-card', { opacity: 0, y: 32, stagger: 0.1 }, 'features');

// Repeat and yoyo
const loop = gsap.timeline({ repeat: -1, yoyo: true });
loop.to('.pulse-dot', { scale: 1.3, duration: 0.8, ease: 'sine.inOut' });

Read the full file on GitHub · 329 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. 1mo ago First seen · 329 lines · 69 tokens per session scan A c65ad5d44c5a

Subscribe to this mod's changes

pn-gsap is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 2,969 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-09-03.

Related

Other skills, from other repositories

typescript

TypeScript coding conventions, best practices, and patterns for writing clean, maintainable code.

genkit-ai/genkit · 20 tokens

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

accessibility

Accessibility patterns for WCAG 2.2 compliance, keyboard focus management, React Aria component patterns, cognitive inclusion, native HTML-first philosophy, and user preference honoring. Use when implementing screen reader support, keyboard navigation, ARIA patterns, focus traps, accessible component libraries…

yonatangross/orchestkit · 65 tokens

responsive-patterns

Responsive design with Container Queries, fluid typography, cqi/cqb units, subgrid, intrinsic layouts, foldable devices, and mobile-first patterns for React applications. Use when building responsive layouts or container queries.

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