Agent skill

Gsap Performance

by TheGoat395 in TheGoat395/Codex-Skills

Diagnose GSAP and ScrollTrigger performance. An agent skill from TheGoat395/Codex-Skills.

MITAuto-check passedFrontend & Design

Install Gsap Performance

skills CLI
$ npx skills add TheGoat395/Codex-Skills --skill gsap-performance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TheGoat395/Codex-Skills gsap-performance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TheGoat395/Codex-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gsap-performance .claude/skills/gsap-performance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gsap-performance
GitHub stars
126
Token cost
~1.1k tokens
SKILL.md length
536 words
Files
2
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Diagnose GSAP and ScrollTrigger performance. An agent skill from TheGoat395/Codex-Skills.

  • Tasks that involve Web animation and motion
  • SKILL.md covers When to Use This Skill, Prefer Transform and Opacity, will-change and Batch Reads and Writes, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gsap Performance is an agent skill from TheGoat395/Codex-Skills. Diagnose GSAP and ScrollTrigger performance.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering Web animation and motion. It works with GSAP. The repository describes itself as: Codex-first Agent Skills library for premium frontend, website, motion, accessibility, QA, and handoff workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Web animation and motion

Example prompts

  • “/gsap-performance”

What it can do on your machine

Read from SKILL.md and the folder at commit feff772. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are css and javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • gsap.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gsap Performance loads about 1.1k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 536 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TheGoat395/Codex-Skills at commit feff772, republished under its MIT licence (© TheGoat395). 536 words, ~1,117 tokens.

Download SKILL.mdSave it as .claude/skills/gsap-performance/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gsap-performance
description
Diagnose GSAP and ScrollTrigger performance.
license
MIT

GSAP Performance

When to Use This Skill

Apply when the affected animation uses GSAP or ScrollTrigger. Diagnose measured frame, layout/paint or lifecycle cost. Generic motion diagnosis belongs to animation-jank-qa, and a broad release review to motion-performance-qa.

Related skills: motion-performance-qa, animation-jank-qa, animation-tool-router, and reduced-motion-design.

Prefer Transform and Opacity

Animating transform (x, y, scaleX, scaleY, rotation, rotationX, rotationY, skewX, skewY) and opacity usually avoids layout and can reduce paint cost; compositor isolation depends on the browser, layer composition and effect. Measure instead of assuming GPU acceleration. Avoid animating layout-heavy properties when a transform can achieve the same effect.

  • Prefer: x, y, scale, rotation, opacity.
  • Avoid when possible: width, height, top, left, margin, padding because they trigger layout and can cause jank.

GSAP's x and y use transforms by default; use them instead of left/top for movement.

will-change

Use will-change selectively on elements that will animate soon. It hints the browser to prepare for animation work, but overusing it can increase memory pressure.

css
will-change: transform;

Remove or narrow will-change when an element no longer needs it.

Batch Reads and Writes

GSAP batches updates internally. When mixing GSAP with direct DOM reads/writes or layout-dependent code, avoid interleaving reads and writes in a way that causes repeated layout thrashing. Prefer doing all reads first, then all writes, or let GSAP handle the writes in one go.

Many Elements: Staggers and Lists

  • Use stagger instead of many separate tweens with manual delays when the animation is the same.
  • For long lists, consider virtualization or animating only visible items; avoid creating hundreds of simultaneous tweens if it causes jank.
  • Reuse timelines where possible; avoid creating new timelines every frame.

Frequently Updated Properties

Prefer gsap.quickTo() for properties that update often, such as mouse-follower x/y. It reuses a single tween instead of creating new tweens on each update.

javascript
let xTo = gsap.quickTo("#id", "x", { duration: 0.4, ease: "power3" }),
    yTo = gsap.quickTo("#id", "y", { duration: 0.4, ease: "power3" });

document.querySelector("#container").addEventListener("mousemove", (e) => {
  xTo(e.pageX);
  yTo(e.pageY);
});
Show full SKILL.md (239 more words)Show less

ScrollTrigger and Performance

  • pin: true pins the trigger element during the active range; it is not a GPU-promotion guarantee. Pin only the intended surface and inspect spacing and surrounding layout.
  • Numeric scrub sets catch-up smoothing (seconds). Animation can continue after scrolling stops; it does not inherently reduce work. Measure total frame cost and responsiveness on relevant devices.
  • Call ScrollTrigger.refresh() only when layout actually changes, such as after content load. Debounce refresh calls when possible.

Reduce Simultaneous Work

  • Pause or kill off-screen or inactive animations when they are not visible, such as when the user navigates away.
  • Avoid animating huge numbers of properties on many elements at once; simplify or sequence if needed.

Best Practices

  • Animate transform and opacity where possible; use will-change only on elements that actually animate.
  • Use stagger instead of many separate tweens with manual delays when the animation is the same.
  • Use gsap.quickTo() for frequently updated properties.
  • Clean up or kill off-screen animations; call ScrollTrigger.refresh() when layout changes, debounced when possible.

Do Not

  • Animate width, height, top, or left for movement when x, y, or scale can achieve the same look.
  • Set will-change or force3D on every element just in case; reserve them for elements that actually need them.
  • Create hundreds of overlapping tweens or ScrollTriggers without testing on lower-end devices.
  • Ignore cleanup; stray tweens and ScrollTriggers keep running and can hurt performance and correctness.

Technical semantics: GSAP ScrollTrigger. Verify the installed version for implementation details.

© TheGoat395, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/gsap-performance of TheGoat395/Codex-Skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit feff772

Compare with similar skills

Gsap Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gsap Performance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gsap Performance this skillTheGoat395/Codex-Skills126—~1.1kAutomated safety check: PassMIT
GSAP ScrollTriggergreensock/gsap-skills16k4 repos~4.6kAutomated safety check: PassMIT
GSAP Core Animationgreensock/gsap-skills16k3 repos~3.7kAutomated safety check: PassMIT
GSAP for Reactgreensock/gsap-skills16k3 repos~1.6kAutomated safety check: PassMIT
GSAP Timelinegreensock/gsap-skills16k3 repos~1.1kAutomated safety check: PassMIT
Gsapboraoztunc/skills3985 repos~1.9kAutomated safety check: PassApache-2.0

Similar skills

  • GSAP ScrollTrigger

    greensock/gsap-skills

    Teaches an agent how to wire up GSAP's ScrollTrigger plugin for scroll-linked animation, pinned sections and scrub, including the start and end position syntax.

    16k GitHub starsUsed in 4 repos~4.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP Core Animation

    greensock/gsap-skills

    Covers the GSAP core API for tweens, easing, staggers, defaults and matchMedia, and when to choose GSAP over CSS animations or other JavaScript animation libraries.

    16k GitHub starsUsed in 3 repos~3.7k tokens
    Frontend & DesignAuto-check passed
  • GSAP for React

    greensock/gsap-skills

    Shows how to run GSAP animations in React and Next.js with the useGSAP hook, refs, scoped selectors and automatic cleanup on unmount.

    16k GitHub starsUsed in 3 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP Timeline

    greensock/gsap-skills

    Teaches the GSAP timeline API for sequencing animations: gsap.timeline(), the position parameter, labels, defaults, nesting and playback control.

    16k GitHub starsUsed in 3 repos~1.1k tokens
    Frontend & DesignAuto-check passed
  • Gsap

    boraoztunc/skills

    GSAP animation reference for HyperFrames. An agent skill from boraoztunc/skills.

    398 GitHub starsUsed in 5 repos~1.9k tokens
    Frontend & DesignAuto-check passed
  • Auteur

    agiwhitelist/auteur

    Design and build complete web experiences from scratch — award-level product and marketing pages, cinematic scroll-directed sites where the page is directed like a film, and multi-screen products…

    1k GitHub stars~5k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed

More from TheGoat395/Codex-Skills

All 23 skills in this repo
  • Premium Visual Reference Library

    TheGoat395/Codex-Skills

    Find references, Viktor Oddy and MotionSites. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~867 tokensUpdated 29 days ago
    Auto-check passed
  • Agent Evaluation Operations

    TheGoat395/Codex-Skills

    Evaluate agent and skill behavior or routing. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~1.5k tokensUpdated 29 days ago
    Auto-check passed
  • Creativity

    TheGoat395/Codex-Skills

    Generate original ideas or escape fixation. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~1.2k tokensUpdated 29 days ago
    Auto-check passed
  • Final Client Handoff

    TheGoat395/Codex-Skills

    Prepare verified ownership and delivery notes. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~477 tokensUpdated 29 days ago
    Auto-check passed
  • Visual Regression Lab

    TheGoat395/Codex-Skills

    Compare captures; stitch lazy/animated pages. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~516 tokensUpdated 29 days ago
    Auto-check passed
  • Web Reference Research

    TheGoat395/Codex-Skills

    Analyze selected sources: Viktor or MotionSites. An agent skill from TheGoat395/Codex-Skills.

    126 GitHub stars~475 tokensUpdated 29 days ago
    Auto-check passed

Works with

Questions about Gsap Performance

What does Gsap Performance do?

Diagnose GSAP and ScrollTrigger performance. An agent skill from TheGoat395/Codex-Skills. Gsap Performance is an agent skill from TheGoat395/Codex-Skills. Diagnose GSAP and ScrollTrigger performance.

When should I use Gsap Performance?

Gsap Performance fits situations like: tasks that involve Web animation and motion.

How do I install Gsap Performance in Claude Code?

Run `npx skills add TheGoat395/Codex-Skills --skill gsap-performance -a claude-code`. Or copy the skill folder (skills/gsap-performance in TheGoat395/Codex-Skills) into .claude/skills/gsap-performance in your project. Claude Code loads it when a task matches its description.

How do I install Gsap Performance in Codex?

Run `npx skills add TheGoat395/Codex-Skills --skill gsap-performance -a codex`. Or copy the skill folder (skills/gsap-performance in TheGoat395/Codex-Skills) into .agents/skills/gsap-performance in your project. Codex loads it when a task matches its description.

Can I use Gsap Performance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TheGoat395/Codex-Skills --skill gsap-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gsap-performance, .gemini/skills/gsap-performance, .github/skills/gsap-performance and .opencode/skills/gsap-performance in your project.

What does Gsap Performance need to run?

SKILL.md names no scripts, command-line tools or credentials: Gsap Performance is instructions for the agent only.

Does Gsap Performance access the network?

SKILL.md names 1 domain. As links in the text: gsap.com. This is read from the text; nothing was executed.

Is Gsap Performance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gsap Performance use?

Gsap Performance is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gsap Performance use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gsap Performance?

Skills that share tags, products or a category with Gsap Performance: GSAP ScrollTrigger (greensock/gsap-skills, 16k stars), GSAP Core Animation (greensock/gsap-skills, 16k stars), GSAP for React (greensock/gsap-skills, 16k stars) and GSAP Timeline (greensock/gsap-skills, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gsap Performance?

TheGoat395 (a GitHub user) maintains it in TheGoat395/Codex-Skills, which has 126 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 11, 2026.

Source: TheGoat395/Codex-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.