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 $0.00034 $0.01484
Sonnet 5 $0.00014 $0.00594
Haiku 4.5 $0.00007 $0.00297

Measured 6d ago against content hash c65ad5d44c5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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. 6d 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 3d ago), licensed MIT. It adds 69 tokens to every session and 2,969 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-09-03.

Related

Other skills, from other repositories

brand-landingpage

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established…

wshobson/agents · 112 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

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

honey-design

Same pixels, fewer tokens: dense CSS for user-facing UI.

Green-PT/honey-for-devs · 17 tokens

chat-formatting-widgets

Governs the custom markdown widgets rendered in the QuantumByte chat interface. This includes the inline highlight-mark span (use on every question the user must answer). You must check this skill on every reply to format highlights.

QuantumByteOSS/quantumbyte · 50 tokens

deepseek-harness

Use when building AI agent applications with a plugin-based architecture — Web UI, CLI, Python SDK, Cordis plugin system, multi-model orchestration. DeepSeek Harness (dsh): open-source agent harness by DeepSeek AI where everything is a plugin, powered by Cordis for spatiotemporal composability.

znlgis/opengis-skills · 68 tokens