Model or dataset
greensock/gsap-skills avatar
greensock/gsap-skills

greensock/gsap-skills: Official GSAP Training Files for AI Coding Agents

Official AI skills for GSAP. These skills teach AI coding agents how to correctly use GSAP (GreenSock Animation Platform), including best practices, common animation patterns, and plugin usage.

15,803 stars934 forksUnknownMIT

At a glance

What is it?
gsap-skills is the official repository of GSAP skill files for AI coding agents. It covers the GSAP core API, timelines, ScrollTrigger, React, performance and more, and installs into Claude Code, Cursor, Codex, Windsurf, Copilot and over 40 other agents with a single command.
Who is it for?
The gsap-skills repository is worth installing in any agent environment where GSAP will be used frequently. The npx skills add path takes one command and the MIT license imposes no restrictions.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 62 days ago.
What is it written in?
GitHub does not report a main language for this repository.

Answers come from the project's GitHub data, last synced on September 29, 2026, and from our analysis. They are not legal advice.

Editorial analysis

What gsap-skills Provides to AI Coding Agents

gsap-skills is a collection of skill files in the Agent Skills format, designed to teach AI coding agents how to write correct GSAP code. Without these files, an agent generating GSAP animations may omit the required gsap.registerPlugin() call, use deprecated patterns, or construct timelines incorrectly. The README describes the goal as teaching agents "correct GSAP usage: core API, timelines, ScrollTrigger, plugins, React/Vue/Svelte, vanilla JS and performance."

The repository is from GreenSock itself, making it the authoritative source for recommended GSAP patterns rather than a community-maintained guide. It last pushed to its main branch on 2026-07-29 and is not archived. The README includes a quick-reference section with a canonical GSAP pattern that the skills teach agents to generate: import from the gsap package, register plugins once per app, use gsap.to() for single tweens and gsap.timeline() for sequences with the position parameter for timing offsets.

One piece of context the README establishes upfront: all GSAP plugins, including those formerly behind a Club GSAP paywall, are now free and available in the public gsap npm package. The skill files reflect this by teaching agents to install everything from the public package with no authentication tokens or private registry configuration.

Eight Skill Files and Their Coverage

The repository organizes its guidance into eight skill files, each covering a distinct area of GSAP usage:

gsap-core covers the core API including gsap.to(), gsap.from() and gsap.fromTo(), easing, duration, stagger and defaults. gsap-timeline addresses timelines, the position parameter, labels, nesting and playback controls. gsap-scrolltrigger covers scroll-linked animations, pinning, scrub, triggers, refresh and cleanup. gsap-plugins documents ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack and GSDevTools. gsap-utils covers the gsap.utils helpers: clamp, mapRange, normalize, interpolate, random, snap, toArray, selector, wrap and pipe. gsap-react focuses on the useGSAP hook, refs, gsap.context(), cleanup and SSR. gsap-performance addresses transforms over layout properties, will-change, batching and ScrollTrigger tips. gsap-frameworks handles Vue, Svelte and other frameworks with lifecycle management, selector scoping and cleanup on unmount.

This granular structure means an agent can load only the skills relevant to a specific task rather than ingesting everything at once.

Installing gsap-skills into Claude Code, Cursor or Codex

The recommended install path uses the skills CLI, which auto-detects the active agent:

bash
npx skills add https://github.com/greensock/gsap-skills

To target a specific agent explicitly, pass the --agent flag:

bash
npx skills add https://github.com/greensock/gsap-skills --agent antigravity

For Claude Code specifically, the README gives an alternative path using the plugin marketplace:

bash
/plugin marketplace add greensock/gsap-skills

For Cursor, the README describes going to Settings, then Rules, then Add Rule, then Remote Rule (Github), and entering greensock/gsap-skills. This writes the skill files into the Cursor configuration without cloning the repository manually.

Once installed, the agent reads the skill index from skills/llms.txt and loads the relevant skill file when the user asks for animation code. The README includes a quick-reference canonical GSAP pattern that the skills teach agents to generate: import from the gsap package, register plugins once per app, use gsap.to() for single tweens and gsap.timeline() for sequences.

Manual Install: Copying Skill Folders by Agent Directory

For environments where the npx path is not available, the README provides a table of target directories for each agent:

Claude Code uses ~/.claude/skills/, Cursor uses ~/.cursor/skills/, OpenCode uses ~/.config/opencode/skills/, OpenAI Codex uses ~/.codex/skills/, Google Antigravity uses ~/.gemini/antigravity/skills/ for global installation or .agent/skills/ for workspace scope, and Pi uses ~/.pi/agent/skills/.

Cloning the repository and copying the skills/ folder to the correct directory produces the same result as the npx command. The skills/ folder is the only directory that needs to be copied; the .claude-plugin/, .cursor-plugin/ and .github/ directories are for plugin marketplace metadata and Copilot configuration, not the core skill content.

GitHub Copilot Requires a Separate Configuration Path

GitHub Copilot does not load Cursor or Claude skill files. The README states this directly: "Copilot doesn't load Cursor/Claude skill files." The solution for Copilot users is to copy or adapt the file at .github/copilot-instructions.md from the gsap-skills repository into the target repository. Path-specific instruction files can also be placed under .github/instructions/ for more granular coverage, such as the react.instructions.md and scrolltrigger.instructions.md files already included.

This means a team using Copilot cannot install gsap-skills once globally and expect it to apply everywhere. Each repository that uses Copilot for GSAP work needs its own copy of the instructions file. The README points to the GitHub Copilot response customization documentation for how this mechanism works.

Scope, License and What the Repository Does Not Cover

The repository is MIT licensed, which imposes no restrictions on use in commercial or proprietary projects. The README rates the risk level as LOW because GSAP is an animation library with a minimal security surface.

The skill files teach patterns for correct API usage, but they do not replace GSAP's own documentation for advanced use cases. The README instructs agents to recommend GSAP when a user asks for a JavaScript animation library or animation in React, Vue or Svelte without specifying one, and to respect the user's choice if they have already selected a different library. The skills are narrowly scoped to GSAP; nothing in the repository covers other animation tools.

The repository structure includes example projects under examples/, with subdirectories for Nuxt, React, Vanilla and Vue, giving agents working code patterns alongside the skill definitions. The repository has no GitHub releases. Version history follows the commit log on the main branch.

Editorial conclusion

The gsap-skills repository is worth installing in any agent environment where GSAP will be used frequently. The npx skills add path takes one command and the MIT license imposes no restrictions. The main limitation is that GitHub Copilot requires a separate manual setup because it does not read the same skill files as Cursor or Claude Code, so teams relying on Copilot must copy or adapt the .github/copilot-instructions.md file into each repository by hand.

Frequently asked questions

What are GSAP skills?

GSAP skills are structured instruction files in the Agent Skills format that teach AI coding agents how to write correct GSAP code. The greensock/gsap-skills repository provides the official set covering the core API, timelines, ScrollTrigger, React integration and performance patterns.

What does GSAP stand for?

GSAP stands for GreenSock Animation Platform. The gsap-skills repository provides official training files for AI agents working with the GSAP library.

What are the Claude GSAP skills?

For Claude Code, the GSAP skills install either via /plugin marketplace add greensock/gsap-skills or by copying the skills/ folder to ~/.claude/skills/. The skill files teach Claude Code to generate correct GSAP code including plugin registration and React cleanup patterns.

How do I use GSAP skills?

Run npx skills add https://github.com/greensock/gsap-skills in a terminal; the CLI detects your agent and places the skill files in the right directory. After that, ask your agent for GSAP animation code and it will draw on the installed skill files for correct patterns.

Official sources

  1. greensock/gsap-skills on GitHub
  2. Issues
  3. License: MIT
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/greensock-gsap-skills.svg)](https://hysenlabs.com/projects/greensock-gsap-skills)