/skill-madness:website-walkthrough-videofrom skill-madness
Captures full-length desktop and mobile screenshots of website pages and renders them into smooth scrolling MP4 walkthrough videos using Playwright and ffmpeg. Useful for demo reels, launch clips, or before/after redesigns.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn a running website into a polished, smooth scrolling walkthrough video — one
continuous mp4 per device (desktop + mobile) that pans down each page in turn, the
way a person would scroll through it, with a small // PAGE | MODE label in the
corner.
For a site with N routes you get walkthrough-desktop.mp4 and
walkthrough-mobile.mp4 in your output dir. Each is N clips concatenated: per page,
a 1-second hold at the top, a smooth linear scroll to the bottom, a 1-second hold,
then on to the next page. Pages that fit in one viewport just hold for a few seconds.
Capture (scripts/capture.mjs, Playwright): for each device width and each
route, set the viewport, navigate, force lazy <img> elements to load eagerly,
force prefers-reduced-motion: reduce to defeat scroll-reveal animations,
scroll the whole page once so remaining lazy images and on-scroll animations
fire, return to top, take a screenshot, and wait for all images to finish loading.
Enforced capture bounds: the runner accepts 1–20 routes and refuses an image
over 8,000 physical pixels high or 250 MiB decoded RGBA (width × height × scale² × 4),
before scrolling and again after lazy content settles. Scroll/settle waits are bounded.
Refusal yields no success manifest: choose scoped shorter routes or a separately
reviewed tile workflow; do not silently truncate or stitch an oversized image.
The renderer applies the same limits, including --skip-capture inputs.
Render (scripts/build.mjs, ffmpeg): for each screenshot, build a clip that
overlays the tall image on a viewport-sized window and animates its vertical
position from top to bottom — that pan is the simulated scroll. Then concatenate
the clips into one video per device. The smoothness comes from 60fps + CRF 18 +
lanczos scaling + a pixel-floored pan offset (no sub-pixel shimmer on text).
scripts/walkthrough.mjs runs both stages from one config file.
ffmpeg / ffprobe on PATH (ffmpeg -version). On macOS: brew install ffmpeg.
Node.js (any recent version).
Playwright + Chromium. Install the npm package once inside the skill:
cd <this-skill>/scripts && npm install
Chromium is often already cached from other Playwright use; if capture complains
about a missing browser, run npx playwright install chromium.
Follow these steps. The only real thinking is step 2 — getting the route list right.
You need a live URL (local dev server, Docker container, or a public URL). Confirm
it responds, e.g. curl -sI http://localhost:8080 | head -1. Note the base URL.
The config is the whole interface. Minimal version — just the base URL, where to put output, and the ordered list of pages:
{
"title": "Sovereign Sampson",
"baseUrl": "http://localhost:8080",
"outDir": "./walkthrough",
"routes": [
{ "path": "/", "label": "Home" },
{ "path": "/about/", "label": "About" },
{ "path": "/dispatches/", "label": "Dispatches" },
{ "path": "/contact/", "label": "Contact" }
]
}
To find the routes, in order of preference: ask the user if they have a page list;
read the site's nav/menu (fetch the homepage and pull the primary nav links); check a
sitemap.xml; or look at the route definitions in the codebase. Put them in the order
you want them to appear in the tour (usually nav order, home first). label is what
shows on screen — keep it short. slug is optional (derived from the path).
Route completeness is the whole job — verify it before capturing. A "walkthrough of
the site" means EVERY route class, including detail pages behind dynamic routes
(/designs/[id], /blog/[slug], product pages): include at least one representative
instance of each. Cross-check the route list against the codebase's route definitions
(e.g. src/pages/** in Astro/Next) — nav links alone under-count, and a "walkthrough"
missing whole page types has caused real (and justified) anger. State the route count
and list before rendering so any gap is visible up front, not after delivery.
outDir is resolved relative to the config file. A path the project already
gitignores is a good choice (videos are large and regenerable).
See assets/example-site.json for a starting point. The full set of overridable
fields (device widths, pan speed, fps, fonts, custom modes) is documented in
references/tuning.md — you rarely need them for a first pass.
cd <this-skill>/scripts
node walkthrough.mjs --config /abs/path/to/site.json
Capture takes a few seconds per page per device; rendering is fast. Output lands in
outDir as walkthrough-desktop.mp4 and walkthrough-mobile.mp4, alongside the
screenshots and manifest.json.
--base-url <url> and --out-dir <dir> override the config at the command line — handy
for pointing the same route list at local/staging/prod, or for a project wrapper script
that reads the base URL from its own env (e.g. a repo's .env) and supplies an absolute
output path. With --base-url set, the config file can omit baseUrl.
Actually watch the videos (or open them for the user) before declaring success — smoothness and framing are visual judgments a file size can't confirm. Check: does each page scroll smoothly end to end, is text legible, are the holds long enough to read, is anything cut off, do any pages 404 or render half-loaded?
--skip-captureTuning the motion doesn't require re-screenshotting. Edit speed / maxPan /
fontSize in the generated manifest.json (or in the config and re-capture), then:
node walkthrough.mjs --config /abs/path/to/site.json --skip-capture
This re-renders from the existing PNGs in seconds. Common adjustments:
| Symptom | Fix |
|---|---|
| Scroll feels too fast | Lower speed (e.g. desktop 200 → 130) |
| Long pages drag on | Lower maxPan (caps the longest clip) |
| Label too small/large | Adjust fontSize per mode |
| Black bars on short pages | Set bg to the page color, e.g. "0xFFFFFF" |
| A page came out blank/half-loaded | Bump timeout, or that route needs auth/data |
Everything tunable, plus the device-mode schema and ffmpeg internals, is in
references/tuning.md.
reducedMotion defaults ON. The capture script always sends
prefers-reduced-motion: reduce unless config.reducedMotion is explicitly
set to false. This defeats scroll-reveal / IntersectionObserver animations
that leave whole sections at opacity:0 in the full-page shot. Previously this
was handled only by the opt-in injectCss hatch, which silently did nothing
when omitted — so the blank bands came back every time. Pass reducedMotion: false when you are deliberately capturing motion.<img loading="lazy">
to eager + decoding=sync before and after scrolling, then waits up to 20s
for every image to report complete && naturalWidth > 0. This prevents empty
boxes in the screenshot from images near the bottom of long pages.references/tuning.md for the CSS-injection
knob to neutralize sticky positioning before capture.name/value plus url, or
domain/path) as cookies in the config, or point cookiesFile at a JSON array
of them. Every capture context loads them before the first page. Keep the cookie
file outside the repo and never put session tokens in a committed config. Without
cookies, capture the public pages and note the gap to the user.outDir
gitignored.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
website-walkthrough, screenshots, video-rendering, ffmpeg, playwright, demo-reel
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/Other plugins' skills for the same job