scroll-experience

scroll-experience is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 34 tokens per session (822 once invoked), scanned A, original, MIT.

A guide to animations and interactions that respond to page scrolling, including reveals, parallax, pinned sections, horizontal movement, and scroll-linked video.

In plain words
What is it for?
Use it when building websites with scroll-triggered effects, animated timelines, pinned content, smooth scrolling, or immersive 3D and video experiences.
Why use it?
It helps turn scrolling into a controlled visual interaction while choosing between browser features and animation libraries for different levels of complexity.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hoangatg/ai-agent-toolkit/scroll-experience
Any agent
npx skills add hoangatg/ai-agent-toolkit --skill scroll-experience
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

Made for: Claude Code, 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 scroll-experience

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/scroll-experience.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/scroll-experience)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/scroll-experience"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/scroll-experience.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 822 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00822
Opus 5 $0.00017 $0.00411
Sonnet 5 $0.00007 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured yesterday against content hash d5c1c362f75a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scroll-experience 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 yesterday.

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.

.agent/skills/scroll-experience/SKILL.md · 119 lines

How it starts

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

Scroll Experience

Make scrolling an adventure, not a chore.


1. Technology Selection

Technology Best For
CSS Scroll-Driven Animations Native, performant, simple effects
GSAP ScrollTrigger Complex timelines, production-grade
Framer Motion React ecosystem, declarative
Lenis Custom smooth scrolling
Intersection Observer Trigger-based, lightweight

2. Scroll Animation Patterns

Pattern Description Complexity
Reveal on scroll Elements appear as you scroll Low
Parallax Layers move at different speeds Low-Medium
Pin + scrub Element sticks while animating Medium
Horizontal scroll Horizontal movement via vertical scroll Medium
Scroll-linked video Video progress tied to scroll High
3D scene scroll Camera/scene changes with scroll High

3. GSAP ScrollTrigger

Core Concepts

Concept Purpose
trigger Element that starts the animation
start/end When animation begins/ends
scrub Link animation progress to scroll
pin Fix element during scroll range
snap Snap to discrete positions

Performance Settings

Setting Use
scrub: true Smooth, exact scroll tracking
scrub: 0.5 Slight lag for smoothness
anticipatePin: 1 Prevent jank when pinning
invalidateOnRefresh Recalculate on resize

4. CSS Scroll-Driven Animations

Key Properties

Property Purpose
animation-timeline: scroll() Bind to scroll progress
animation-timeline: view() Bind to element visibility
animation-range Define start/end points
view-timeline Named element timelines

5. Performance Principles

Principle Application
Animate transforms only transform and opacity are GPU-accelerated
Will-change Hint browser about animated properties
Reduce repaints No layout-triggering properties (width, height)
Debounce scroll Don't fire on every pixel
Lazy load Load content as needed
Prefers-reduced-motion Respect accessibility settings

Read the full file on GitHub · 119 lines

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. yesterday First seen · 119 lines · 34 tokens per session scan A d5c1c362f75a

Subscribe to this mod's changes

scroll-experience is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 822 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories