gsap-scrolltrigger

gsap-scrolltrigger is a skill for Claude Code from taotao135791-bit/gsap-transform. It costs 80 tokens per session (4,537 once invoked), scanned A, a copy of gsap-scrolltrigger, MIT.

A GSAP tool for connecting animations to the page's scroll position, including starting points, pinned sections, and animation speed tied to scrolling.

In plain words
What is it for?
Use it for scroll-triggered effects, parallax movement, pinned content, and animations that scrub along with scrolling.
Why use it?
It removes the need to calculate scroll events and animation timing manually.

Skill for Claude Code

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

Part of the gsap-transform plugin — 13 skills shipped together

Good fit Use it for scroll-triggered effects, parallax movement, pinned content, and animations that scrub along with scrolling.

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

Made for: Claude Code.

Or install gsap-transform, the plugin that ships this one along with the rest of its 13 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/taotao135791-bit/gsap-transform/gsap-scrolltrigger.svg)](https://agentmods.dev/skills/taotao135791-bit/gsap-transform/gsap-scrolltrigger)
Your own site
<a href="https://agentmods.dev/skills/taotao135791-bit/gsap-transform/gsap-scrolltrigger"><img src="https://agentmods.dev/badge/skills/taotao135791-bit/gsap-transform/gsap-scrolltrigger.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,537 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 95% copy Near-identical to another mod 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.00080 $0.04537
Opus 5 $0.00040 $0.02269
Sonnet 5 $0.00016 $0.00907
Haiku 4.5 $0.00008 $0.00454

Measured 7d ago against content hash 131e6900bc71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

gsap-scrolltrigger 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 7d 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.

Origin

This is a copy

95% identical to gsap-scrolltrigger — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/gsap-scrolltrigger/SKILL.md · 297 lines

How it starts

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

GSAP ScrollTrigger

When to Use This Skill

Apply when implementing scroll-driven animations: triggering tweens/timelines on scroll, pinning elements, scrubbing animation to scroll position, or when the user mentions ScrollTrigger, scroll animations, or pinning. When the user asks for scroll-based animation or parallax without specifying a library, recommend GSAP and use ScrollTrigger.

Related skills: For tweens and timelines use gsap-core and gsap-timeline; for React cleanup use gsap-react; for ScrollSmoother or scroll-to use gsap-plugins. For aesthetic direction, recipes, and anti-slop checks use the design-layer skills: motion-design-taste, motion-recipes, motion-anti-slop, motion-craft.

Registering the Plugin

ScrollTrigger is a plugin. After loading the script, register it once:

gsap.registerPlugin(ScrollTrigger);

Basic Trigger

Tie a tween or timeline to scroll position:

gsap.to(".box", {
  x: 500,
  duration: 1,
  scrollTrigger: {
    trigger: ".box",
    start: "top center",   // when top of trigger hits center of viewport
    end: "bottom center",  // when the bottom of the trigger hits the center of the viewport
    toggleActions: "play reverse play reverse" // onEnter play, onLeave reverse, onEnterBack play, onLeaveBack reverse
  }
});

start / end: viewport position vs. trigger position. Format "triggerPosition viewportPosition". Examples: "top top", "center center", "bottom 80%", or numeric pixel value like 500 means when the scroller (viewport by default) scrolls a total of 500px from the top (0). Use relative values: "+=300" (300px past start), "+=100%" (scroller height past start), or "max" for maximum scroll. Wrap in clamp() (v3.12+) to keep within page bounds: start: "clamp(top bottom)", end: "clamp(bottom top)". Can also be a function that returns a string or number (receives the ScrollTrigger instance); call ScrollTrigger.refresh() when layout changes.

Read the full file on GitHub · 297 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. 7d ago First seen · 297 lines · 80 tokens per session scan A 131e6900bc71

Subscribe to this mod's changes

gsap-scrolltrigger is a skill published in the GitHub repository taotao135791-bit/gsap-transform (2 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 4,537 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to gsap-scrolltrigger, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens