gsap-timeline
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
Skill by imMamdouhaboammar
Chalk Labs
Need help deploying gsap-timeline?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/immamdouhaboammar-gsap-timeline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
gsap-timeline- Description
- Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback. Use when sequencing animations, choreographing keyframes, or when the user asks about animation sequencing, timelines, or animation order (in GSAP or when recommending a library that supports timelines).
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GSAP Timeline
## When to Use This Skill
Apply when building multi-step animations, coordinating several tweens in sequence or parallel, or when the user asks about timelines, sequencing, or keyframe-style animation in GSAP.
**Related skills:** For single tweens and eases use **gsap-core**; for scroll-driven timelines use **gsap-scrolltrigger**; for React use **gsap-react**.
## Creating a Timeline
```javascript
const tl = gsap.timeline();
tl.to(".a", { x: 100, duration: 1 })
.to(".b", { y: 50, duration: 0.5 })
.to(".c", { opacity: 0, duration: 0.3 });
```
By default, tweens are **appended** one after another. Use the **position parameter** to place tweens at specific times or relative to other tweens.
## Position Parameter
Third argument (or position property in vars) controls placement:
- **Absolute**: `1` — start at 1 second.
- **Relative (default)**: `"+=0.5"` — 0.5s after end; `"-=0.2"` — 0.2s before end.
- **Label**: `"labelName"` — at that label; `"labelName+=0.3"` — 0.3s after label.
- **Placement**: `"<"` — start when recently-added animation starts; `">"` — start when recently-added animation ends (default); `"<0.2"` — 0.2s after recently-added animation start.
Examples:
```javascript
tl.to(".a", { x: 100 }, 0); // at 0
tl.to(".b", { y: 50 }, "+=0.5"); // 0.5s after last end
tl.to(".c", { opacity: 0 }, "<"); // same start as previous
tl.to(".d", { scale: 2 }, "<0.2"); // 0.2s after previous start
```
## Timeline Defaults
Pass defaults into the timeline so all child tweens inherit:
```javascript
const tl = gsap.timeline({ defaults: { duration: 0.5, ease: "power2.out" } });
tl.to(".a", { x: 100 }).to(".b", { y: 50 }); // both use 0.5s and power2.out
```
## Timeline Options (constructor)
- **paused: true** — create paused; call `.play()` to start.
- **repeat**, **yoyo** — same as tweens; apply to whole timeline.
- **onComplete**, **onStart**, **onUpdate** — timeline-level callbacks.
- **defaults** — vars merged into every child tween.
## Labels
Add and use labels for readable, maintainable sequencing:
```javascript
tl.addLabel("intro", 0);
tl.to(".a", { x: 100 }, "intro");
tl.addLabel("outro", "+=0.5");
tl.to(".b", { opacity: 0 }, "outro");
tl.play("outro"); // start from "outro"
tl.tweenFromTo("intro", "outro"); // pauses the timeline and returns a new Tween that animates the timeline's playhead from intro to outro with no ease.
```
## Nesting Timelines
Timelines can contain other timelines.
```javascript
const master = gsap.timeline();
const child = gsap.timeline();
child.to(".a", { x: 100 }).to(".b", { y: 50 });
master.add(child, 0);
master.to(".c", { opacity: 0 }, "+=0.2");
```
## Controlling Playback
- **tl.play()** / **tl.pause()**
- **tl.reverse()** / **tl.progress(1)** then **tl.reverse()**
- **tl.restart()** — from start.
- **tl.time(2)** — seek to 2 seconds.
- **tl.progress(0.5)** — seek to 50%.
- **tl.kill()** — kill timeline and (by default) its children.
## Official GSAP Best practices
- ✅ Prefer timelines for sequencing
- ✅ Use the **position parameter** (third argument) to place tweens at specific times or relative to labels.
- ✅ Add **labels** with `addLabel()` for readable, maintainable sequencing.
- ✅ Pass **defaults** into the timeline constructor so child tweens inherit duration, ease, etc.
- ✅ Put ScrollTrigger on the timeline (or top-level tween), not on tweens inside a timeline.
## Do Not
- ❌ Chain animations with **delay** when a **timeline** can sequence them; prefer `gsap.timeline()` and the position parameter for multi-step animation.
- ❌ Forget to pass **defaults** (e.g. `defaults: { duration: 0.5, ease: "power2.out" }`) when many child tweens share the same duration or ease.
- ❌ Forget that **duration** on the timeline constructor is not the same as tween duration; timeline “duration” is determined by its children.
- ❌ Nest animations that contain a ScrollTrigger; ScrollTriggers should only be on top-level Tweens/Timelines.From imMamdouhaboammar/motion-graphics-skills, MIT.
More from imMamdouhaboammar/motion-graphics-skills
- 0.652score
motion-design
LottieFiles
Applies motion design principles to create emotionally-driven, technically sound animations and transitions.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
motion-director
imMamdouhaboammar
Master motion-graphics director for concept, art direction, timing, production, review, and rendering across brand films, event promos, title sequences…
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
paper-cut-motion
imMamdouhaboammar
Create tactile stop-motion paper-cut and collage sequences with deterministic 12 fps stepped motion, physical layering, paper shadows, stamps, pins, and…
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
video-review-loop
imMamdouhaboammar
Use when a rendered motion video, MP4, MOV, reel, promo, title sequence, or final export must be reviewed from recorded video evidence before signoff.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
text-to-lottie
imMamdouhaboammar
Create, edit, or fix Lottie/Bodymovin JSON animations for the local Skia Skottie player.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
assetseeker
imMamdouhaboammar
Search free commercial-use creative assets across multiple online sources - photos, illustrations, icons, video footage, music, sound effects, and fonts.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
tonejs
imMamdouhaboammar
Use when adding audio, sound design, music sequencing, or audio-reactive animation to a project.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
speech-to-text
imMamdouhaboammar
Directs the agent to use faster-whisper as the high-accuracy speech-to-text / Voice-over transcription engine.
SkillAFreshness: A★ 33Claude Code +9 - 0.534score
video-style-cloner
imMamdouhaboammar
Style-cloning video director for AI agents.
SkillAFreshness: A★ 33Claude Code +9 - 0.533score
gpt-taste
imMamdouhaboammar
Elite UX/UI & Advanced GSAP Motion Engineer.
SkillAFreshness: A★ 33Claude Code +9 - 0.533score
brand-intake
imMamdouhaboammar
The setup step every other skill in this pack reads.
SkillAFreshness: A★ 33Claude Code +9 - 0.533score
animated-chart
imMamdouhaboammar
Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code.
SkillAFreshness: A★ 33Claude Code +9
Signals
- Stars
- 33
- Forks
- 14
- Open issues
- 3
- Last commit (this folder)
- Sep 29, 2026 (1 month ago)
- Last release
- Oct 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.683score
gsap-timeline
greensock
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillDFreshness: D★ 17KClaude Code +9 - 0.378score
gsap-timeline
12-Studio
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: A★ 10Claude Code +9 - 0.339score
gsap-timeline
phamTuan207
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: AClaude Code +9 - 0.339score
gsap-timeline
NachikethReddyY
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: AClaude Code +9 - 0.335score
gsap-timeline
Vinayak-RZ
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillBFreshness: B★ 2Claude Code +9 - 0.322score
gsap-timeline
imMamdouhaboammar
Official GSAP skill for timelines - gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: A★ 33Claude Code +9 - 0.285score
gsap-timeline
eivmosn
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillCFreshness: CClaude Code +9
More from imMamdouhaboammar
- 0.537score
paper-cut-motion
imMamdouhaboammar
Create tactile stop-motion paper-cut and collage sequences with deterministic 12 fps stepped motion, physical layering, paper shadows, stamps, pins, and…
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
motion-director
imMamdouhaboammar
Master motion-graphics director for concept, art direction, timing, production, review, and rendering across brand films, event promos, title sequences…
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
text-to-lottie
imMamdouhaboammar
Create, edit, or fix Lottie/Bodymovin JSON animations for the local Skia Skottie player.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
speech-to-text
imMamdouhaboammar
Directs the agent to use faster-whisper as the high-accuracy speech-to-text / Voice-over transcription engine.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
tonejs
imMamdouhaboammar
Use when adding audio, sound design, music sequencing, or audio-reactive animation to a project.
SkillAFreshness: A★ 33Claude Code +9 - 0.537score
video-review-loop
imMamdouhaboammar
Use when a rendered motion video, MP4, MOV, reel, promo, title sequence, or final export must be reviewed from recorded video evidence before signoff.
SkillAFreshness: A★ 33Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gsap-timeline running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gsap-timeline skill. Agent Mart. https://agentmart.dev/skills/immamdouhaboammar-gsap-timeline (last updated 2026-10-24)