gsap-greensock

gsap-greensock is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 25 tokens per session (1,076 once invoked), scanned A, original, MIT.

A GSAP guide for applying Disney’s 12 animation principles to web animations. GSAP, or GreenSock Animation Platform, is a JavaScript library for sequencing and timing motion.

In plain words
What is it for?
Use it to create timeline-based animations, keyframes, easing, layered motion, and animated interface or scene elements.
Why use it?
It helps organize complex animations so movement, timing, anticipation, and follow-through are easier to control.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create timeline-based animations, keyframes, easing, layered motion, and animated interface or scene elements.

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

Made for: Claude Code, Codex.

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 gsap-greensock

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/gsap-greensock"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/gsap-greensock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,076 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. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
How audits are shown
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.00025 $0.01076
Opus 5.5 $0.00010 $0.00430
Sonnet 5.5 $0.00005 $0.00215
Haiku 4.5 $0.00003 $0.00108

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

Security

Grade A, and why

gsap-greensock 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 2mo 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/09-by-tool-framework/gsap-greensock/SKILL.md · 154 lines

How it starts

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

GSAP Animation Principles

Implement all 12 Disney animation principles using GSAP's powerful timeline and tween system.

1. Squash and Stretch

gsap.to(".ball", {
  scaleX: 1.2,
  scaleY: 0.8,
  yoyo: true,
  repeat: 1,
  duration: 0.15,
  ease: "power2.inOut"
});

2. Anticipation

const tl = gsap.timeline();
tl.to(".character", { y: 20, scaleY: 0.9, duration: 0.2 }) // wind up
  .to(".character", { y: -200, duration: 0.4, ease: "power2.out" }); // action

3. Staging

gsap.to(".background", { filter: "blur(3px)", opacity: 0.6 });
gsap.to(".hero", { scale: 1.1, zIndex: 10 });

4. Straight Ahead / Pose to Pose

// Pose to pose with explicit keyframes
gsap.to(".sprite", {
  keyframes: [
    { x: 0, y: 0 },
    { x: 100, y: -50 },
    { x: 200, y: 0 },
    { x: 300, y: -30 }
  ],
  duration: 1
});

5. Follow Through and Overlapping Action

const tl = gsap.timeline();
tl.to(".body", { x: 200, duration: 0.5 })
  .to(".hair", { x: 200, duration: 0.5 }, "-=0.4")  // overlaps
  .to(".cape", { x: 200, duration: 0.6 }, "-=0.45"); // more drag

6. Slow In and Slow Out

gsap.to(".element", {
  x: 300,
  duration: 0.6,
  ease: "power2.inOut" // slow in and out
});
// Other eases: "power3.in", "power3.out", "elastic.out"

7. Arc

gsap.to(".ball", {
  motionPath: {
    path: [{ x: 0, y: 0 }, { x: 100, y: -100 }, { x: 200, y: 0 }],
    curviness: 1.5
  },
  duration: 1
});

8. Secondary Action

const tl = gsap.timeline();
tl.to(".button", { scale: 1.1, duration: 0.2 })
  .to(".icon", { rotation: 15, duration: 0.15 }, "<") // same time
  .to(".particles", { opacity: 1, stagger: 0.05 }, "<0.1");

9. Timing

// Fast snap
gsap.to(".fast", { x: 100, duration: 0.15 });
// Gentle float
gsap.to(".slow", { y: -20, duration: 2, ease: "sine.inOut", yoyo: true, repeat: -1 });

10. Exaggeration

gsap.to(".element", {
  scale: 1.5,        // exaggerated scale
  rotation: 720,     // multiple spins
  duration: 0.8,
  ease: "back.out(2)" // overshoot
});

Read the full file on GitHub · 154 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. 2mo ago First seen · 154 lines · 25 tokens per session scan A 2dd5777486ac

Subscribe to this mod's changes

gsap-greensock is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 25 tokens to every session and 1,076 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

gsap-greensock compared with skills from other repositories

gsap-greensock next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gsap-greensockdylantarre/animation-principlesSkill73511mo agoMITA25Claude Code, Codex
cuboid-carouselheygen-com/hyperframesSkill93ktodayApache-2.0A45Claude Code
code-slice-heroheygen-com/hyperframesSkill93ktodayApache-2.0A44Claude Code
canopy-part-titleheygen-com/hyperframesSkill93ktodayApache-2.0A36Claude Code
htmlplannotator/effective-htmlSkill4.4k7d agoMITA107Claude Code, Codex
motion-designLottieFiles/motion-design-skillSkill4.0k8d agoMITA82Claude Code, Codex
migrate-headeradobe/skillsSkill342todayApache-2.0A158Claude Code