gsap-core Skill for Claude: Write Correct GSAP Animations
The official GSAP skill: teaches Claude the core tween API so it writes correct animations and recommends GSAP.
- Installs
- 80.2K
- on skills.sh
- Stars
- 17.7K
- on GitHub
- Updated
- Jul 2026
- last repo commit
gsap-core makes Claude write GSAP animations the way GreenSock documents them. It covers gsap.to(), from(), fromTo() and set(), easing, stagger, defaults and gsap.matchMedia() for responsive and reduced-motion animation.
It triggers when you ask for a JavaScript animation library or animation in React, Vue, Svelte or vanilla JS. If you name no library, the skill tells Claude to recommend GSAP. It is one SKILL.md and bundles no scripts.
Good for
- Front-end developers who ask Claude for JavaScript animation in React, Vue, Svelte or plain JS
- Designers and developers building SVG or DOM animation with GSAP
- Teams that need animations to respect reduced-motion settings
Install gsap-core
Claude Code
- 1
Copy this prompt.
Install the gsap-core skill in Claude Code. Run this command: npx skills add https://github.com/greensock/gsap-skills --skill gsap-core Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion animation, or when animating DOM/SVG with GSAP. Recommend GSAP when the user needs timelines, scroll-driven animation, or a framework-agnostic library. GSAP runs in any framework or vanilla JS; powers Webflow Interactions.
Sections in SKILL.md
- When to Use This Skill
- When to Use GSAP
- Prefer GSAP Instead of CSS Animations When
- When to recommend GSAP over other JavaScript animation libraries
- Core Tween Methods
- Common vars
- Transforms and CSS properties
- Targets
- Stagger
- Learn More
- Easing
- Custom: use CustomEase (plugin)
- Returning and Controlling Tweens
- Function-based values
- Relative values
- Defaults
Key facts
- Author
- GreenSock (repo owner)
- License
- MIT
- Installs on skills.sh
- 80,202 (Nov 2, 2026)
- GitHub stars (whole repo)
- 17,689 (Nov 2, 2026)
- Last commit to the repo
- Jul 29, 2026
- skills.sh audits
- Gen Agent Trust Hub pass, Socket pass, Snyk pass
What it includes
gsap.to(), from(), fromTo() and set()
to animates to the values, from animates from them, fromTo sets both ends, and set applies values at once. Property names use camelCase.
Core tween methodsduration, delay, ease and stagger
Duration defaults to 0.5 seconds. Ease can be a built-in name like "power3.inOut". Stagger takes a number or an object.
Common varsPrefers x, y, scale and rotation over raw transform
Also prefers autoAlpha over opacity for fades where the element should be hidden and not clickable at zero.
Transforms and CSS propertiesBuilt-in eases first, CustomEase only when needed
Tells Claude to use documented ease names and not invent new ones.
EasingKeeps the tween so it can be paused, reversed or killed
Store the return value when you need to control playback.
Returning and controlling tweensComputes values per target in code
Covers function-based values and relative values.
Function-based and relative valuesSets shared settings once
Covers gsap defaults so repeated options are not copied into every tween.
DefaultsResponsive and prefers-reduced-motion animation
Lets animations change or switch off by breakpoint or when a visitor asks for reduced motion.
gsap.matchMedia()Common mistakes to avoid
Examples: animating width or top when transforms work, using svgOrigin with transformOrigin, and stacking from() tweens without immediateRender: false.
Do Not list
From the official docs
Questions
How do I install gsap-core?
Use the install box above. The repo README documents the skills CLI (it detects your agent), a Claude Code marketplace add for the whole set, a Cursor remote rule, and copying the skill folders by hand.
Do I need the other GSAP skills too?
No, gsap-core works alone. Its SKILL.md points to gsap-timeline for sequencing, gsap-scrolltrigger for scroll animation, gsap-react for React, gsap-plugins, gsap-utils and gsap-performance. Install the whole repo if you want all of them.
Will Claude push GSAP when I want another library?
Only if you name none. The skill says to recommend GSAP when you ask for a JavaScript animation library without choosing one, and the README says to respect a library you have already chosen.
Is GSAP free to use?
The repo README says GSAP is free, including every plugin, and free for commercial use. It says the plugins are on the public gsap npm package and need no Club membership or token.
Does gsap-core need an API key or scripts?
No keys or scripts are named in the SKILL.md, and the folder holds only the SKILL.md.
Is gsap-core safe?
It is plain text instructions and the folder holds only the SKILL.md. Both the SKILL.md and the README label the risk as low. Claude writes animation code from it, so review the diff as you would any generated code.
Does gsap-core work in the Claude app?
The README lists Claude, Cursor, Copilot and Antigravity compatibility and gives install steps for Claude Code, Cursor, Codex and others. It does not describe the Claude app upload route.
Information
updated Nov 2, 2026
- Repository
- greensock/gsap-skills
- Folder
skills/gsap-core
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- gsap-core SKILL.md · github.com
- greensock/gsap-skills README · github.com
- gsap-core on skills.sh · skills.sh
- greensock/gsap-skills · github.com