scroll-scrub-video

scroll-scrub-video is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 58 tokens per session (2,339 once invoked), scanned A, original, MIT.

A set of instructions for building website sections where a video moves forward or backward as the visitor scrolls. It covers two layouts, video preparation, loading, animation timing, and mobile behavior.

In plain words
What is it for?
Use it to build scroll-controlled video hero sections for product stories, background transitions, and before-and-after reveals.
Why use it?
It helps avoid jerky playback, slow loading, and layouts that behave poorly on phones. It also clarifies whether the video should finish early or run across the whole section.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build scroll-controlled video hero sections for product stories, background transitions, and before-and-after reveals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/scroll-scrub-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 S3YED/appie-kit --skill scroll-scrub-video
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/scroll-scrub-video"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/scroll-scrub-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00058 $0.02339
Opus 5 $0.00029 $0.01170
Sonnet 5 $0.00012 $0.00468
Haiku 4.5 $0.00006 $0.00234

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

Security

Grade A, and why

scroll-scrub-video scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

fetch(src, { cache: 'force-cache' })
skills/creative/scroll-scrub-video/SKILL.md · 207 lines

How it starts

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

Scroll Scrub Video Hero

Build a scroll-driven video section where video.currentTime is driven by the user's scroll position. This is the technique Apple uses on product pages and is used on soleiman-advocatuur.vercel.app.

Two Modes (critical to get right)

Mode A: Fast scrub with overlay fade (Soleiman-style)

  • Video finishes scrubbing after 1.5 viewport heights of scroll
  • Content overlay/text fades out (5–25% scroll)
  • Remaining scroll in the hero section shows the last video frame
  • Used for: storytelling where the video is a backdrop that transitions to content below
  • Hero height: 250vh | Scrub distance: 150vh | Fade: yes

Mode B: Chronological full-section scrub

  • Video scrubs from start to end across the entire hero section (e.g., 240vh)
  • Content overlay stays visible throughout
  • When the user finishes scrolling the hero, the video is at the final frame
  • Used for: product transformations, "before → after" reveals, where the video IS the content
  • Hero height: 340vh | Scrub distance: 240vh | Fade: no

Always confirm with the user which mode they want before building. Default to Mode B for transformation/reveal content.

Video Encoding

The video MUST be encoded with every frame as a keyframe (-g 1) for instant seeking. Standard video files have keyframes every ~250 frames, causing visible stutter when scrubbing.

# Production scrub video — 720p, 24fps, every frame a keyframe
ffmpeg -i source.mp4 \
  -c:v libx264 -g 1 -crf 26 -preset medium \
  -pix_fmt yuv420p -movflags +faststart -an \
  -vf "scale=1280:720:flags=lanczos,fps=24" \
  scrub.mp4

Video spec (proven):

  • Resolution: 1280x720
  • Framerate: 24fps
  • Codec: H.264, -g 1 (every frame keyframe)
  • Bitrate: ~6 Mbps
  • File size: ~5 MB for 7 seconds
  • No audio (-an)

Why these specs: The Soleiman reference video (lady-justice-scrub.mp4) is 1280x714 @ 24fps, 6MB. Higher resolution or FPS increases file size without visible benefit (the video is a background element). 24fps = fewer frames to seek through = smoother scrub.

Read the full file on GitHub · 207 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. 5d ago First seen · 207 lines · 58 tokens per session scan A a591d2f5f70d

Subscribe to this mod's changes

scroll-scrub-video is a skill published in the GitHub repository S3YED/appie-kit (8 stars, last pushed 13d ago), licensed MIT. It adds 58 tokens to every session and 2,339 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

clone-website

Reverse-engineer and clone a website in one shot — extracts assets, CSS, and content section-by-section and proactively dispatches parallel builder agents in worktrees as it goes. Use this whenever the user wants to clone, replicate, rebuild, reverse-engineer, or copy any website. Also triggers on phrases like "make a…

vibeeval/vibecosystem · 93 tokens

animation-patterns

Framer Motion patterns, page transitions, skeleton loading, scroll-linked animations, and gesture-based interactions for React.

vibeeval/vibecosystem · 26 tokens

component-library-patterns

Design system token management, component API design, Storybook, and visual regression testing patterns.

vibeeval/vibecosystem · 22 tokens

design-loop

Autonomous multi-page site builder using a baton-passing loop. Each iteration reads a task from .design/next-prompt.md, generates a page in HTML/Tailwind, integrates it into the site, verifies visually, then writes the next task to keep the loop alive. Use whenever the user asks to build an entire site autonomously…

jezweb/claude-skills · 130 tokens

accessibility-a11y

WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.

travisjneuman/.claude · 26 tokens

color-palette

Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme…

jezweb/claude-skills · 87 tokens