How nisse-hash/claude-skill-video-to-website works
Purpose and Invocation
This repository packages a Claude Code skill, not a standalone web application. Its sole executable artifact is the skill definition at SKILL.md, installed into Claude Code’s skills directory and invoked with /video-to-website or inferred from natural-language requests. README.md documents installation, runtime prerequisites, and generated output.
Paths: SKILL.md, README.md
Skill-Orchestrated Generation
SKILL.md defines the agent workflow that collects a source video path plus optional brand/content/style inputs, applies defaults when omitted, and creates a self-contained website project. Claude Code is the control-plane runtime: it interprets the skill, runs local media commands, and writes the generated files.
Paths: SKILL.md
Video Analysis and Frame Pipeline
The generated-site workflow depends on locally installed ffprobe to inspect video metadata and ffmpeg to extract a bounded set of optimized WebP frames. Frame count/frequency is selected to keep scroll playback smooth while constraining output size, especially for longer videos. Generated frame files become the primary visual data source for the browser renderer.
Paths: SKILL.md, README.md
Generated Website Boundary
The skill emits a static project: index.html, css/style.css, js/app.js, and frames/frame_*.webp. There is no bundler, server-side application, package install, or backend. A local HTTP server is required during testing because browsers cannot reliably load frame assets from file:// URLs.
Paths: README.md, SKILL.md
Scroll-Driven Rendering Core
The generated HTML hosts a canvas-based frame renderer. Browser scroll progress maps to frame indices, producing video-like playback from extracted images rather than native video controls. A two-phase loader preloads frames and exposes progress before/while the scroll experience becomes interactive.
Paths: README.md, SKILL.md
Animation and Interaction System
Generated js/app.js coordinates Lenis smooth scrolling with GSAP and ScrollTrigger. The scroll timeline controls the hero circle wipe, canvas playback, section entrance choreography, stat counters, marquee movement, dark-overlay opacity, and final persistent CTA. Section animations rotate among slide, fade, scale, clip, rotate, and stagger patterns to avoid consecutive repetition.
Paths: README.md, SKILL.md
Presentation and External Dependencies
Generated css/style.css owns responsive layout, typography, content-zone positioning, overlays, and mobile collapse behavior. The generated page loads Lenis, GSAP, and GSAP ScrollTrigger directly from jsDelivr CDN; these are the only external browser services. Claude Code plus local ffmpeg/ffprobe are required at generation time, while an HTTP server is only needed to serve the static result locally.
Paths: README.md, SKILL.md
Main entry points: SKILL.md Static Project Generation · README.md README
Components 15
Claude Code Skill
- README · Documents installation, prerequisites, and output.
README.md - Video-to-Website Skill · Defines the agent workflow and generated project.
SKILL.md - Claude Code · Invokes the skill and executes local generation steps.
Generation Pipeline
- Video & Brand Inputs · Source video plus optional content, style, and brand direction.
- ffprobe · Reads source video metadata.
- ffmpeg · Extracts a bounded, optimized WebP frame sequence.
- Static Project Generation · Applies defaults and writes the self-contained site.
SKILL.md
Generated Static Site
- Page Shell · Hosts the canvas renderer and page sections.
- Responsive Styles · Controls layout, typography, overlays, and mobile collapse.
- Scroll Experience · Coordinates loading, canvas playback, and section interactions.
- WebP Frame Sequence · Primary visual source for canvas playback.
- Local HTTP Server · Serves frame assets during local testing.
- Canvas Frame Renderer · Maps scroll progress to frame indices.
- Two-Phase Frame Loader · Preloads frames and exposes loading progress.
- Lenis + GSAP + ScrollTrigger · Drives smooth scrolling and scroll-triggered choreography.
Connections 21
- README → Video-to-Website Skill: documents
- Video & Brand Inputs → Claude Code: invokes with inputs
- Claude Code → Video-to-Website Skill: interprets
- Video-to-Website Skill → Static Project Generation: orchestrates
- Static Project Generation → ffprobe: inspects video
- ffprobe → ffmpeg: metadata guides sampling
- Static Project Generation → ffmpeg: runs extraction
- Static Project Generation → Page Shell: writes
- Static Project Generation → Responsive Styles: writes
- Static Project Generation → Scroll Experience: writes
- ffmpeg → WebP Frame Sequence: emits WebP frames
- Page Shell → Responsive Styles: loads
- Page Shell → Scroll Experience: loads
- Scroll Experience → Two-Phase Frame Loader: coordinates
- Two-Phase Frame Loader → WebP Frame Sequence: preloads
- Scroll Experience → Canvas Frame Renderer: drives
- Canvas Frame Renderer → WebP Frame Sequence: renders
- Scroll Experience → Lenis + GSAP + ScrollTrigger: loads from CDN
- Lenis + GSAP + ScrollTrigger → Canvas Frame Renderer: maps scroll progress
- Local HTTP Server → Page Shell: serves locally
- Local HTTP Server → WebP Frame Sequence: serves assets