GSAP Core
Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion a
Overview
The GSAP Core skill provides AI agents with the foundational capabilities of the GreenSock Animation Platform. Hosted within the mxyhi/ok-skills repository, which maintains a popularity of 423 stars, this skill enables programmatic control over JavaScript-based animations. It focuses on the primary API methods including gsap.to(), gsap.from(), and gsap.fromTo() to manage state transitions. Additionally, it incorporates advanced features like staggering, custom easing, and global defaults. For modern web development, the skill supports gsap.matchMedia(), allowing agents to generate animations that respect responsive breakpoints and user preferences for reduced motion. This integration is designed for use across vanilla JavaScript, React, and Vue environments, ensuring compatibility with popular AI coding assistants like Claude and Cursor.
Use Cases
Install Notes
# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/gsap-skills/gsap-core/SKILL.mdCopy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.
Security Notes
This skill facilitates the generation of GSAP-based animation code. Users should review all generated JavaScript for adherence to project-specific security policies and ensure that animation logic does not inadvertently expose sensitive DOM elements or data.
Related Skills
Theme Factory Skill
anthropics/skills
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Anthropic Brand Styling
anthropics/skills
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
canvas design
anthropics/skills
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Web Artifacts Builder
anthropics/skills
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
algorithmic art
anthropics/skills
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violati
Frontend Design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.