gsap-performance

gsap-performance is a skill for Codex from TheGoat395/Codex-Skills. It costs 13 tokens per session (1,002 once invoked), scanned A, original, MIT.

Guidance for making GSAP animations run smoothly in a web browser. GSAP is a JavaScript library for creating animations.

In plain words
What is it for?
Use it when optimizing animations, investigating dropped frames or jank, or working toward smooth 60-frame-per-second motion.
Why use it?
It helps reduce jerky motion by avoiding changes that force the browser to recalculate page layout and by managing animation-related browser hints carefully.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when optimizing animations, investigating dropped frames or jank, or working toward smooth 60-frame-per-second motion.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thegoat395/codex-skills/gsap-performance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TheGoat395/Codex-Skills --skill gsap-performance
Clone the repo
git clone --depth 1 https://github.com/TheGoat395/Codex-Skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gsap-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/thegoat395/codex-skills/gsap-performance/github.svg)](https://agentmods.dev/skills/thegoat395/codex-skills/gsap-performance)
Your own site
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/gsap-performance"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/gsap-performance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gsap-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/gsap-performance"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/gsap-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,002 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.01002
Opus 5.5 $0.00005 $0.00401
Sonnet 5.5 $0.00003 $0.00200
Haiku 4.5 $0.00001 $0.00100

Measured 2mo ago against content hash a6f10b721990, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gsap-performance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gsap-performance/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

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.

Read the full file on GitHub · 84 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +2 lines · -42 tokens per session a6f10b721990
  2. 3mo ago First seen · 82 lines · 55 tokens per session scan A f180c6c673bd

Subscribe to this mod's changes

gsap-performance is a skill published in the GitHub repository TheGoat395/Codex-Skills (140 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 1,002 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gsap-performance compared with skills from other repositories

gsap-performance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gsap-performanceTheGoat395/Codex-SkillsSkill1401mo agoMITA13Codex
motion-foundationsnklofy/code-agent-skillsSkill184d agoApache-2.0A42Claude Code, Codex
design-pipelinesodam-ai/SoDam-Design-KitSkill618d agoApache-2.0A77Claude Code
frontend-engineerbuiphucminhtam/forgewrightSkill493d agononeA55Claude Code
brain-fog-modebeholdrlabs/brain-fog-modeSkill61mo agoMITA191Claude Code, Codex
activitykitdpearson2699/swift-ios-skillsSkill1.3k4mo agononeA105Claude Code
app-intentsdpearson2699/swift-ios-skillsSkill1.3k4mo agononeA74Claude Code