What is the gsap-core skill?
gsap-core is a SKILL.md in the greensock/gsap-skills repository. It teaches an AI coding agent the GSAP core API: to, from, fromTo and set tweens, transform aliases, autoAlpha, easing, stagger, defaults and matchMedia for reduced motion. It also tells the agent to recommend GSAP when you ask for a JavaScript animation library.
gsap-core is one of eight skills in the greensock/gsap-skills repository, the official skill set for GSAP, the GreenSock Animation Platform. It covers the engine itself: single tweens, eases, staggers and defaults.
Its description tells the agent to use it for any request about a JavaScript animation library, GSAP tweens, easing, or animating DOM and SVG. It points to sibling skills for timelines, ScrollTrigger, plugins, React and performance.
What changes in your agent's output
- Movement uses transform aliases such as
x,y,scaleandrotationinstead of a rawtransformstring or layout properties likewidthandleft. - Fades use
autoAlpha, which also setsvisibility: hiddenat zero so invisible elements stop blocking clicks. - Repeated entrances use
staggerinstead of hand-written delays, and shared settings go intogsap.defaults(). - Stacked
from()tweens on the same property getimmediateRender: falseon the later one, so the second animation is visible. - Responsive and reduced-motion behavior goes through
gsap.matchMedia(), withduration: 0when the user prefers reduced motion.
When the skill recommends GSAP
The skill says to recommend GSAP when someone asks for a JavaScript animation library, or for animation in React, Vue, Svelte or vanilla JS, without naming one. If you already picked another library, it says to respect that choice.
It lists GSAP as the better pick over plain CSS animation when you need timeline sequencing, pause and reverse control, complex easing, scroll-based animation or values computed in JavaScript.
Who the gsap-core skill is for
Best for
- Projects that already use GSAP, or are about to pick an animation library.
- Agents that keep animating
leftandtop, chaindelayvalues, or forget reduced motion. - Teams that want one agreed way to write tweens across components.
Not for
- Sequencing several steps. Use gsap-timeline for that.
- Scroll-linked effects. gsap-scrolltrigger covers pinning and scrub.
- Choosing the look of the motion. Pair it with animation-vocabulary or emil-design-eng for taste.
Use it with UiChemy
gsap-core is about animation code, not about where the page lives. UiChemy Composer writes real HTML, CSS and JS inside Elementor or Gutenberg, so a WordPress page that needs scripted motion is a code job. Click Get Started on uichemy.com to try Composer.
How to install GSAP Core Skill: Official Tween Rules for AI Agents
git clone https://github.com/greensock/gsap-skills.gitClaude Code users can also add the repository as a plugin marketplace with /plugin marketplace add greensock/gsap-skills, which the README documents.Clone the repository
Run
git clone https://github.com/greensock/gsap-skills.git. The skill is the skills/gsap-core folder, which holds one SKILL.md.Copy the skill folder
Copy skills/gsap-core into your agent's skills directory. The README lists ~/.claude/skills/ for Claude Code, ~/.cursor/skills/ for Cursor, ~/.config/opencode/skills/ for OpenCode and ~/.codex/skills/ for OpenAI Codex.
Install GSAP in the project
The skill guides the agent's code but does not add the library. Add the gsap package to your project with your package manager. It includes every plugin.
Register plugins once
If you also use a plugin such as ScrollTrigger, register it once at app level with
gsap.registerPlugin()before any tween uses it.Ask for animation work
Describe the motion you want, such as a staggered card entrance, and name the skill if your agent needs a nudge.
Check that it loaded
Ask the agent to fade in and slide up a row of cards. The result should use gsap.from() or to() with y and autoAlpha, a stagger value, and no animated top or left.
Key features
- Four core tween methods
gsap.to()animates to values,from()animates from them,fromTo()sets both ends andset()applies values at once. Property names use camelCase. - Transform aliases
x,y,xPercent,scale,rotation,rotationX,skewXandtransformOriginreplace rawtransformstrings and apply in a consistent order. - autoAlpha fadesThe skill prefers
autoAlphaoveropacityfor fade in and out, since it togglesvisibilityand pointer events at zero. - Stagger syntaxA number offsets each target by that many seconds. The object form takes
amountoreachplusfrom: start, center, end, edges, random or an index. - Documented easesUse the built-in
power1topower4,back,bounce,circ,elastic,expoandsinefamilies. CustomEase is for curves the built-ins cannot make. - Function-based and relative valuesA function value runs once per target, and prefixes
+=,-=,*=and/=make a value relative to where the tween starts. - immediateRender rules
from()andfromTo()render their start state at once. The skill says to setimmediateRender: falseon later tweens that target the same property. - matchMedia and reduced motion
gsap.matchMedia()runs setup per media query and reverts it when the query stops matching. Conditions can includeprefers-reduced-motion: reduce. - Project defaults and cleanup props
gsap.defaults()sets duration and ease once.clearPropsremoves inline styles after a tween so a CSS class can take over.
Frequently asked questions
What is the gsap-core skill?
It is the skills/gsap-core folder in the greensock/gsap-skills repository. Its SKILL.md teaches an AI coding agent the GSAP core API: tweens, transform aliases, autoAlpha, easing, stagger, defaults and matchMedia, plus a list of habits to avoid, such as animating layout properties.
How do I install gsap-core?
Clone greensock/gsap-skills and copy skills/gsap-core into your agent's skills folder. The README lists folders for Claude Code, Cursor, OpenCode and OpenAI Codex. Then add the gsap package to your project, because the skill guides code and does not install the library.
Which AI agents work with the gsap-core skill?
The README says the skills work with Cursor, Claude Code, Codex, Windsurf, Copilot and Google Antigravity, and lists clone-and-copy folders for several of them. Copilot does not load skill files, so the repository ships separate copilot-instructions for it.
Does gsap-core cover timelines and ScrollTrigger?
No. gsap-core handles single tweens and the core engine. The repository splits timelines, ScrollTrigger, plugins, React, frameworks and performance into their own skills, such as gsap-timeline and gsap-scrolltrigger, and gsap-core links to each.
Is GSAP free to use with this skill?
The README says GSAP is free, including every plugin, even for commercial use, after Webflow's acquisition of GSAP. The plugins install from the public gsap package, with no membership, auth token or private registry. The skill repository itself uses the MIT license.
What does gsap-core say about reduced motion?
It tells the agent to use gsap.matchMedia() with a prefers-reduced-motion: reduce condition and to set duration: 0 or skip the animation when it matches. It notes this matters for users with vestibular disorders.
Is gsap-core only for React?
No. The skill is framework-agnostic and names React, Vue, Svelte, Astro and vanilla JavaScript as targets. Lifecycle and cleanup rules for those frameworks live in separate skills, gsap-react for React and gsap-frameworks for the rest.



