Point at any page that uses GSAP.
Get its GSAP back.

Animation Grabber pulls the live GSAP tweens, timelines and ScrollTriggers out of a page and hands them to you, or your coding agent, as runnable code.

gsap.registerPlugin(ScrollTrigger);

const intro = gsap.timeline({ defaults: { ease: "power3.out" } });
intro.from(".hero-heading", { y: 40, opacity: 0, duration: 0.8 }, 0);
intro.from(".hero-lede", { y: 24, opacity: 0, duration: 0.6 }, 0.2);

gsap.to(".feature-card", {
  y: 0, opacity: 1, stagger: 0.1,
  scrollTrigger: { trigger: ".features", start: "top 80%" }
});

Why your agent needs this

Chrome extension

Open, grab, paste.

Works on any page that exposes window.gsap. Needs only activeTab; host access is requested per site, only when you record.

Add to Chrome Add to Firefox
  1. Extract Click the toolbar icon on a live page. Tweens, timelines and ScrollTriggers are listed instantly.
  2. Reload & record Missing the intro? Record reloads the page with a recorder attached so load-time animations are kept.
  3. Copy Switch between Code, JSON and the page's own GSAP source snippets. Copy or download.

CLI

URL in, GSAP out.

Runs a headless Chromium with the recorder attached from the first byte, then prints code, JSON or source snippets to stdout.

View on npm
Run directly
npx animation-grabber https://example.com
Install globally
npm i -g animation-grabber
JSON for your agent
animation-grabber https://example.com --format json -o anim.json

Agent skill

One slash command.

Give Claude Code (or any agent that reads SKILL.md) a URL. It grabs the animations and rebuilds them in your project.

View the skill
Install
npx skills add shotcowboystyle/animation-grabber
Use
/animation-grabber https://example.com

FAQ

How do I copy a GSAP animation from a website?

Open the page and click the Animation Grabber toolbar icon. It lists the page's live tweens, timelines and ScrollTriggers, which you can copy as GSAP code, as JSON, or as the page's own GSAP snippets. From a terminal, run npx animation-grabber <url>.

Does it work on Webflow sites?

Yes. It reads Webflow's built-in GSAP interactions, and any site that loads GSAP from a script tag or a CDN. Webflow's older IX2 interaction engine isn't GSAP, so those animations can't be read.

Does it work in Firefox?

A Firefox version is waiting for review on Mozilla's add-on store. Until it's approved, use the Chrome extension or the CLI.

Why does it say window.gsap is not defined?

The site either bundles GSAP inside its own JavaScript build (Vite, webpack) or doesn't use GSAP. A bundled copy can't be read live, but the Scripts view still lists any GSAP calls found in the page's script files. The CLI does the same with --format scripts.

Why are the page's intro animations missing?

GSAP discards animations once they finish, so a load-time intro is gone by the time you click. Use Reload & record: it reloads the page with a recorder attached so those animations are kept. The CLI records automatically.

Why did it find GSAP but zero animations?

The page probably creates its animations only after a hover, click or scroll. In the extension, trigger the interaction first, then extract. In the CLI, --wait 3000 gives the page more time, but it doesn't scroll or click for you.

How is this different from reading the site's source?

Source is usually minified, and parts of it may be generated at runtime. Animation Grabber reads what GSAP is actually running: the final durations, eases, positions, targets and ScrollTrigger start and end points.

Can I reuse animations I grab from someone else's site?

Treat the output as a reference for learning how something was built. The motion design belongs to whoever made the site, so check their terms before shipping a copy. Animation Grabber is not affiliated with GreenSock.

Limitations

Privacy

Animation Grabber runs entirely on your device. The extension reads the current tab only when you click Extract, asks for access to a site only when you choose Reload & record, and never sends page content, URLs or usage data anywhere. The CLI and skill do the same from your machine.