gsap-framer-scroll-animation

gsap-framer-scroll-animation is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 190 tokens per session (1,640 once invoked), scanned A, original, MIT.

A set of production recipes for animations tied to a user's scrolling, using GSAP or Framer Motion in JavaScript, React, or Next.js. GSAP and Framer Motion are libraries for building web animations.

In plain words
What is it for?
Use it to build scroll reveals, timelines, pinned or scrubbed sections, parallax effects, and scroll-based animations in websites and React applications.
Why use it?
It helps solve the technical details of scroll-triggered effects, parallax, pinned sections, horizontal scrolling, and animated text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to build scroll reveals, timelines, pinned or scrubbed sections, parallax effects, and scroll-based animations in websites and React applications.

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

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-framer-scroll-animation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/gsap-framer-scroll-animation"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/gsap-framer-scroll-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 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.00190 $0.01640
Opus 5 $0.00095 $0.00820
Sonnet 5 $0.00038 $0.00328
Haiku 4.5 $0.00019 $0.00164

Measured 6d ago against content hash 1ae197bfe22d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gsap-framer-scroll-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 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.

.trae/Skills/.agents/skills/gsap-framer-scroll-animation/SKILL.md · 152 lines

How it starts

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

GSAP & Framer Motion — Scroll Animations Skill

Production-grade scroll animations with GitHub Copilot prompts, ready-to-use code recipes, and deep API references.

Design Companion: This skill provides the technical implementation for scroll-driven motion. For the creative philosophy, design principles, and premium aesthetics that should guide how and when to animate, always cross-reference the premium-frontend-ui skill. Together they form a complete approach: premium-frontend-ui decides the what and why; this skill delivers the how.

Quick Library Selector

Need Use
Vanilla JS, Webflow, Vue GSAP
Pinning, horizontal scroll, complex timelines GSAP
React / Next.js, declarative style Framer Motion
whileInView entrance animations Framer Motion
Both in same Next.js app See notes in references

Read the relevant reference file for full recipes and Copilot prompts:

  • GSAPreferences/gsap.md — ScrollTrigger API, all recipes, React integration
  • Framer Motionreferences/framer.md — useScroll, useTransform, all recipes

Setup (Always Do First)

GSAP

npm install gsap
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
gsap.registerPlugin(ScrollTrigger); // MUST call before any ScrollTrigger usage

Framer Motion (Motion v12, 2025)

npm install motion   # new package name since mid-2025
# or: npm install framer-motion  — still works, same API
import { motion, useScroll, useTransform, useSpring } from 'motion/react';
// legacy: import { motion } from 'framer-motion'  — also valid

Workflow

  1. Interpret the user's intent to identify if GSAP or Framer Motion is the best fit.
  2. Read the relevant reference document in references/ for detailed APIs and patterns.
  3. Suggest the required package installation if not already present.
  4. Implement the scaffold for the animation structure, adhering to the requested format (React components, hook requirements, or vanilla JS).
  5. Apply the correct tools (scrolling vs in-view elements) ensuring accessibility options are present and hooks don't cause infinite re-renders.

Read the full file on GitHub · 152 lines

Files

What ships with it

2 files 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. 6d ago First seen · 152 lines · 190 tokens per session scan A 1ae197bfe22d

Subscribe to this mod's changes

gsap-framer-scroll-animation is a skill published in the GitHub repository boshi-xixixi/TraeSkill (262 stars, last pushed 4mo ago), licensed MIT. It adds 190 tokens to every session and 1,640 once invoked, about $0.0010 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

modern-css

Modern CSS best practices and patterns. Use when writing, editing, or reviewing CSS, SCSS, styled-components, or any task that produces CSS output. Provides modern alternatives to legacy hacks, JavaScript workarounds, and library dependencies.

magarcia/skills · 51 tokens

frontend-architect

Expert frontend architecture and UI engineering for React, Next.js/App Router, TypeScript, Tailwind, shadcn/ui, accessibility, performance, design systems, Web3 transaction UX, and production-quality interfaces. Use when building components/pages, reviewing frontend code, implementing mockups, improving UX polish…

Sarthib7/agentsmith · 81 tokens

animejs-animation

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

ranbot-ai/awesome-skills · 19 tokens

design-taste-frontend

A frontend-design skill for creating distinctive landing pages, portfolios, and redesigns. It first infers the desired visual character and then proposes a design direction and rules.

xiehuan123/coding-coach · 79 tokens

frontend-design-guidelines

Apply high-quality web interface design rules when building, reviewing, or styling frontend code. Use when the user says "build a frontend", "create a component", "style this", "review my UI", "build a landing page", "design this page", "make this look good", "add animation", "build a form", "improve the UI", "polish…

Sarthib7/agentsmith · 198 tokens

ui-ux-pro-max

UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design…

xiehuan123/coding-coach · 238 tokens