Free

GSAP Skills: animate an interface with an AI assistant

Use the official GSAP Skills to create motion in an existing interface. Plan a sequence and check its behaviour with a practice example.

Tools

Installation instructions · Download source code (ZIP)

GSAP Skills contains official instructions for an AI assistant working with the GSAP library. Codex can use them to build a motion sequence in an existing interface and test it on a narrow screen and with reduced motion.

Primary source.

What it is useful for

These are animation instructions for an agent: movement sequences, appearance on scroll, and work in React or ordinary JavaScript. The skill itself does not add animation to a website. The GSAP library and the selected skill are separate dependencies.

Use it when designing and checking movement: for example, to make a block appear smoothly while remaining accessible with animations disabled. CSS is usually enough for a simple button color change.

How to connect it with Codex

  1. Give Codex the official repository link and describe one desired movement. It first checks the current project, the already selected library, dependencies, and the relevant skill's contents.
  2. The README suggests the command below. Before it runs, ask Codex to check the installed installer's options, choose only the required skill, and show the installation scope. Do not install the whole catalog globally without a need.
npx skills add https://github.com/greensock/gsap-skills
  1. After your approval, Codex performs the appropriate installation and checks that the skill is available to the current client. Finding a file does not yet prove the animation is correct.
  2. Codex makes one example in the local project, then tests it on a narrow screen and with reduced motion. Only then does it apply the solution to the rest of the page.

Access, license, and costs.

The skill collection is published under MIT. That license covers the instructions; the library's terms are checked separately on the GSAP license page. For an ordinary website, GSAP and its plugins are available free, including commercial use, but free availability does not mean there are no license conditions. Codex model limits apply separately. The local example described here does not require a paid GSAP account, a private registry token, or a new subscription.

Paste the prompt below into Codex or Work with existing project access. The assistant finds the block and current library, asking only for missing information. Installation needs an environment with skill support and file access. Choose Codex and the required skills in the installer, not every detected client.

Practice example

On a services page, a heading and three cards appear in sequence. Codex finds the files and proposes an order. Compare CSS first; with GSAP, use gsap-core and gsap-timeline, plus gsap-react for React. Skills do not install the library: approve gsap and, when needed, @gsap/react separately using the project's package manager. Test returning to the page and selecting a link during entrance. Do not add ScrollTrigger for effects unrelated to scrolling.

What to check

The block must not remain transparent if a script fails. Returning to the page should not create new handlers; animation must not cover text or interfere with clicks. In React, test cleanup on unmount: gsap-react covers useGSAP and gsap.context with animation reversion. Save source and motion settings. Restore dependencies and page edits separately when undoing a change; removing a skill does not remove generated code.

Used in these instructions

After the trial effect, continue the relevant plan's checks. The result is useful motion with working actions and preserved source.

Paste into Codex or Work with project access:

Find the current project, design rules and a suitable block for a smooth entrance. Read https://github.com/greensock/gsap-skills as reference material. Check the current library; if CSS is enough, propose that route. If GSAP is needed, show minimal skills and dependencies, commands, installation location and an undo procedure. Wait for approval, check skill availability and make one local example without publication. Keep content visible if JavaScript fails and with reduced motion. Test desktop and mobile, long text, clicks during entrance, returning to the page and animation and handler cleanup. In React, scope effects to the intended component and test remounting. Save source and show performed checks.
In This Article
Saved