scroll-hero-video

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

A set of instructions for building website heroes where a full-screen video changes frame by frame as the visitor scrolls. It covers video encoding, smooth playback, fading text, and a mobile fallback.

In plain words
What is it for?
Use it for landing-page product reveals, before-and-after stories, and transformation sections driven by scrolling.
Why use it?
It helps prevent slow seeking and rough playback in a scroll-based video effect. It also explains the file requirements and layout choices needed for the effect to work reliably.

Skill for Claude CodeCodex

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

Good fit Use it for landing-page product reveals, before-and-after stories, and transformation sections driven by scrolling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s3yed/appie-kit/scroll-hero-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-hero-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-hero-video

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/s3yed/appie-kit/scroll-hero-video"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/scroll-hero-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,828 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.00046 $0.02828
Opus 5.5 $0.00018 $0.01131
Sonnet 5.5 $0.00009 $0.00566
Haiku 4.5 $0.00005 $0.00283

Measured 1mo ago against content hash 92d3f9f9a792, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scroll-hero-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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/luxhom-vanilla-js.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-hero-video/SKILL.md · 240 lines

How it starts

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

Scroll Hero Video

Build a scroll-driven video hero where a full-screen video scrubs in sync with scroll position — the Apple product page effect.

When to use

  • Landing page hero needs a premium, interactive feel
  • You have a short video (5–10s) that tells a story (before/after, product reveal, transformation)
  • Desktop-first: mobile gets autoplay loop fallback

Requirements

  • Short video (5–10s, 720p recommended)
  • ffmpeg for encoding
  • No JS dependencies needed (vanilla JS)

Step 1: Encode the video

The video MUST have every frame as a keyframe (-g 1) so seeking is instant. Use Soleiman/LuxHom proven specs:

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

Key params:

Param Why
-g 1 Every frame is a keyframe — enables instant seeking to any position
-crf 26 Balance quality/file size (28 = smaller/lower, 24 = larger/better)
scale=1280:720 720p is plenty for background video — 1080p adds 3-4x weight
fps=24 Lower FPS = fewer frames to seek = smoother scrub
-an No audio needed for scrub
Target: ~5-6MB for a 7s video at 5.8 Mbps

Soleiman reference: 1280x714, 24fps, 6Mbps, 6MB for 8s video.

Step 2: HTML structure

<section class="hero" id="hero">
  <div class="hero-sticky">
    <video id="heroVideo" muted playsInline preload="auto" poster="poster.jpg">
      <source src="videos/scrub.mp4" type="video/mp4">
    </video>
    <div class="hero-overlay" id="heroOverlay">
      <!-- Your hero content: pre-title, heading, tagline, CTAs -->
    </div>
    <div class="hero-scroll-hint" id="scrollHint">
      <span>Scroll voor de transformatie</span>
    </div>
  </div>
</section>

Key:

  • Section height: 250vh (scrubs over ~1.5 viewports)
  • Inner div: position: sticky; top: 0; height: 100vh — pins video
  • Video: position: absolute; inset: 0; object-fit: cover

Read the full file on GitHub · 240 lines

Files

What ships with it

4 files 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. 1mo ago First seen · 240 lines · 46 tokens per session scan A 92d3f9f9a792

Subscribe to this mod's changes

scroll-hero-video is a skill published in the GitHub repository S3YED/appie-kit (12 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 2,828 once invoked, about $0.0002 per session on Opus 5.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

frame-build-minimal

Luxury-minimal whitespace hero — single word reveals letter by letter, warm-gold hairline, breathing indicators.

nexu-io/html-video · 27 tokens

motion-dev

Use when React animation library — spring physics, gesture animations, layout animations, scroll effects, SVG path drawing. Successor to Framer Motion. Use when building UI animations, micro-interactions, page transitions, shared element transitions, parallax effects.

oyi77/1ai-skills · 53 tokens

universal-designer

UniversalDesigner is the single entry point for ALL frontend design, animation, and 3D work. It understands the project architecture (stack, existing design infra, constraints), sets a design direction, then routes execution to the right specialist skill(s) among 24 design skills: 3D engines (Three.js, R3F, Babylon…

satishTheLegend/universal-designer · 242 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

ViryaZheng/recomby-geo · 77 tokens

cuboid-carousel

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

heygen-com/hyperframes · 45 tokens

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens