scroll-reveal-video

scroll-reveal-video is a skill for Claude Code from TommyChryst/claude-web-animations. It costs 96 tokens per session (2,838 once invoked), scanned A, original, MIT.

A method for making a video follow page scrolling, so scroll position selects the video frame instead of normal playback.

In plain words
What is it for?
Building scroll-scrub sections, parallax video effects, scroll-synced timelines, and optional text overlays. It requires ffmpeg, a tool for processing video.
Why use it?
It provides precise control over cinematic scroll effects and can coordinate text cards with defined points in the video.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Building scroll-scrub sections, parallax video effects, scroll-synced timelines, and optional text overlays. It requires ffmpeg, a tool for processing video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tommychryst/claude-web-animations/scroll-reveal-video
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 TommyChryst/claude-web-animations --skill scroll-reveal-video
Clone the repo
git clone --depth 1 https://github.com/TommyChryst/claude-web-animations

Made for: Claude Code.

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-reveal-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/tommychryst/claude-web-animations/scroll-reveal-video/github.svg)](https://agentmods.dev/skills/tommychryst/claude-web-animations/scroll-reveal-video)
Your own site
<a href="https://agentmods.dev/skills/tommychryst/claude-web-animations/scroll-reveal-video"><img src="https://agentmods.dev/badge/skills/tommychryst/claude-web-animations/scroll-reveal-video/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 scroll-reveal-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/tommychryst/claude-web-animations/scroll-reveal-video"><img src="https://agentmods.dev/badge/skills/tommychryst/claude-web-animations/scroll-reveal-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,838 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.
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.00096 $0.02838
Opus 5 $0.00048 $0.01419
Sonnet 5 $0.00019 $0.00568
Haiku 4.5 $0.00010 $0.00284

Measured 11d ago against content hash cd885e09acb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

scroll-reveal-video 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 11d 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.

scroll-reveal-video/SKILL.md · 290 lines

How it starts

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

Scroll-Scrub Video

This skill turns any video into a scroll-driven animation: the video's playback position is mapped directly to scroll progress, so each frame reveals as the user scrolls. Includes optional animated text overlays that fade in and out at defined scroll positions.

Requires ffmpeg on PATH.


Step 0 — Gather Inputs

Before starting, confirm these with the user if not already provided:

  • VIDEO_PATH — absolute path to the source video file
  • OUTPUT_DIR — directory where the encoded video and HTML will be saved (default: same directory as the source video)
  • SECTION_HEIGHT — how much vertical scroll travel the section takes up (default: 200vh; use 300vh for more time per text card)
  • DISPLAY_WIDTH — max display width in px (default: 1920 for full-bleed object-cover; use 1280 for a contained layout)
  • TEXT_OVERLAYS — optional list of 2–4 text cards. For each, ask: label (overline), headline, scroll start fraction (0–1), scroll end fraction (0–1). Skip if the user wants video only.

Step 1 — Probe the Source Video

ffprobe -v quiet -print_format json -show_streams "VIDEO_PATH" 2>&1

From the output, note:

  • width × height — source resolution
  • r_frame_rate — frame rate (e.g. "24/1")
  • nb_frames — total frame count
  • duration — total seconds
  • codec_name — source codec

If the source width is already ≤ DISPLAY_WIDTH, set ENCODE_WIDTH to the source width (never upscale). Otherwise set ENCODE_WIDTH to DISPLAY_WIDTH.


Step 2 — Re-encode for Smooth Scrubbing

All-I-frame encoding means every frame is a full keyframe. This eliminates the blocking artifacts that appear when video.currentTime seeks to a B/P inter-frame — the root cause of graininess and stuttering in scroll-scrub effects.

ffmpeg -y -i "VIDEO_PATH" \
  -an \
  -vf scale=ENCODE_WIDTH:-2:flags=lanczos \
  -g 1 -keyint_min 1 \
  -crf 18 \
  -preset slow \
  -profile:v high \
  -movflags +faststart \
  "OUTPUT_DIR/scrub-video.mp4"

Read the full file on GitHub · 290 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. 11d ago First seen · 290 lines · 96 tokens per session scan A cd885e09acb1

Subscribe to this mod's changes

scroll-reveal-video is a skill published in the GitHub repository TommyChryst/claude-web-animations (45 stars, last pushed 4mo ago), licensed MIT. It adds 96 tokens to every session and 2,838 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

tailwindcss

Tailwind CSS v4 conventions — semantic design tokens for theme-safe styling, mobile-first responsive layouts, and v4-first utilities. Use when styling components or writing className utilities with Tailwind. Don't use for plain CSS, CSS-in-JS (styled-components, emotion), or other utility frameworks.

compozy/compozy · 64 tokens