/demo-builder:demo-builderfrom demo-builder
Record polished, deterministic browser, terminal, and title-card product demo videos from declarative JSON storyboards using Playwright, vhs, ffmpeg, and optional narration/music, producing web-optimised MP4, WebM, poster PNG, and caption assets for landing pages, docs, and release notes. Use when the user asks to record a UI or terminal demo video, capture animated feature walkthroughs, or build video showcases for a website or README.
Ships in demo-builder. 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.
A vendor-agnostic plugin and Agent Skill — works identically in Claude Code, Codex, Antigravity, and as a standalone CLI.
Turns a declarative JSON storyboard into crisp, studio-polished product demo videos (<name>.mp4, <name>.webm, and <name>.png poster, plus synced <name>.vtt and <name>.srt captions when narrated) using headless Chromium (Playwright), Charmbracelet vhs, and ffmpeg. Silent demos and bring-your-own (BYO) .wav/.mp3 audio clips work first-class with zero API keys or cloud accounts; fal.ai OAuth MCP narration and background music are strictly optional.
"mode": "browser", default): runs deterministically against a live URL (local dev server or static file server) and injects a smooth animated cursor with click ripples so viewers can follow every interaction."mode": "terminal"): compiles the storyboard into a Charmbracelet vhs .tape script (defaulting to the Catppuccin Mocha theme with realistic typing cadences: smooth, brisk, human, typewriter) and renders a crisp terminal recording without Playwright."mode": "card"): renders pure-ffmpeg intro, outro, and chapter-slate cards over ray.so-style gradient presets (catppuccin, midnight, sunset, aurora, or none) with an optional logo PNG, multi-line typography, and seamless xfade transitions into and out of live footage.ffmpeg compositor): applies ray.so-style gradient presentation framing by default (catppuccin, midnight, sunset, aurora, or disabled via --no-frame), synced camera zooms and spotlight/callout highlights, and multi-scene xfade transitions with Picture-in-Picture (pip) overlays..wav/.mp3/.m4a/.ogg clips at the SHA-256 cache paths, or synthesises timed TTS voiceover cues and instrumental background music via the optional fal.ai OAuth MCP server (zero API keys). Automatically pads steps to match clip durations, ducks music beneath speech, emits synced WebVTT/SRT sidecars, and optionally burns captions into the video.When the demo-builder MCP server is connected (configured via mcp_config.json using uvx --from git+https://github.com/gofastercloud/demo-builder demo-builder-mcp), prefer these tools directly:
check_prerequisites — Inspect local ffmpeg (including drawtext/libfreetype), ffprobe, vhs, and Playwright Chromium availability with OS-specific install hints. Marks fal.ai MCP as optional.list_presets — Return available ray.so-style frame presets, xfade scene transitions, PiP corners, terminal typing cadences, narration defaults, and title-card defaults.validate_storyboard — Validate an inline storyboard JSON object or storyboard_path offline before running any recorder.plan_media — Emit the deterministic SHA-256 media synthesis manifest for optional narration cues and background music. Works with both local BYO .wav/.mp3 files and the optional fal.ai OAuth MCP server.render_demo — Record, composite, mux audio/captions, and render <name>.mp4, <name>.webm, <name>.png, and .vtt/.srt sidecars. Supports include_poster_image: true for immediate visual inspection.Local MCP development: When developing from a local checkout instead of a published package, point your client's MCP server command to
uvx --from . demo-builder-mcp.
ffmpeg (and ffprobe) on PATH — text-bearing "mode": "card" scenes require ffmpeg built with drawtext/libfreetype (on macOS: brew install ffmpeg-full; logo-only cards work without drawtext)uv (runs Playwright in an ephemeral environment with uv run --with playwright — no repo dependencies needed) and Playwright Chromium installed once (uv run --with playwright playwright install chromium)vhs on PATH (e.g. brew install vhs) — Playwright is not requiredffmpeg — neither Playwright nor vhs is required.wav/.mp3 clips; optionally connect the fal.ai OAuth MCP server in your agent client for AI voiceover and music synthesis (no FAL_KEY or API keys required)Follow this four-stage pipeline when producing a demo from a product feature or user brief:
frame preset, zoom/highlight beats, scenes/pip structure, terminal cadence, and an optional instrumental music prompt.validate_storyboard (or demo-builder validate).plan_media / --plan-media): Skip this step for silent demos. For narrated or music-backed demos, call plan_media (or demo-builder plan-media / --plan-media) to get the SHA-256 manifest. For each entry with "cached": false, either drop a local BYO .wav/.mp3 clip at target_path or synthesise it with the optional fal.ai OAuth MCP TTS/music tool.render_demo / demo-builder record): Render the video, inspect the <name>.png poster, captions, and file sizes (aim for < 3–5 MB per MP4), and run a quick Editor pass if anything needs tightening.demo-builder / scripts/record_demo.py)When MCP tools are unavailable — or when running from a terminal or CI — use the installed demo-builder CLI or the legacy scripts/record_demo.py entrypoint (resolved relative to the repository root or legacy skill symlink).
demo-builder)demo-builder doctor
demo-builder presets
demo-builder validate <storyboard.json>
demo-builder plan-media <storyboard.json> --out-dir <output-folder>
demo-builder record <storyboard.json> --out-dir <output-folder>
scripts/record_demo.py)Browser demo:
uv run --with playwright python3 <this-skill-dir>/scripts/record_demo.py \
<storyboard.json> \
--out-dir <output-folder>
Terminal demo (vhs mode, no Playwright needed):
python3 <this-skill-dir>/scripts/record_demo.py \
<storyboard.json> \
--out-dir <output-folder> \
--keep-tape
--name <stem>: override output filename stem (defaults to storyboard name or filename stem)--width <px> / --height <px>: viewport or terminal size (default 1280x720)--fps <n>: output framerate (default 30)--crf <n>: H.264 quality factor (default 22, lower is sharper/larger)--no-webm: skip VP9 WebM transcode (faster when only MP4 is needed)--no-frame: disable the default ray.so-style gradient presentation frame--poster-time <sec>: timestamp for poster PNG capture (default 1.5 or storyboard poster_time)--headed: run visible browser window for debugging (browser mode)--keep-tape: save the generated vhs .tape file into --out-dir (terminal mode)--plan-media (alias --plan-narration): print the SHA-256 cached narration and music synthesis manifest as JSON and exit without recording--narration-dir <dir>: directory for cached narration and music audio clips (default <out-dir>/.narration-cache)--burn-captions: burn synced captions into the output MP4/WebM using ffmpeg's subtitles filterfal.ai OAuth MCP)Silent demos require no audio setup at all. When a storyboard includes inline step.narrate cues, narration.cues, or a top-level music track, use this two-step workflow so clips are cached by SHA-256 hash:
plan_media MCP tool, or run:python3 <this-skill-dir>/scripts/record_demo.py \
<storyboard.json> \
--out-dir <output-folder> \
--plan-media
.wav, .mp3, .m4a, or .ogg recording at each entry's target_path (matching the stem or extension).fal.ai OAuth MCP synthesis: for each entry in cues with "cached": false, call the fal.ai OAuth MCP TTS tool using model, voice, speed, and text, and save the audio to target_path. If music is non-null and "cached": false, call the fal.ai OAuth MCP music generation tool using model, prompt, and duration_sec, and save the track to music.target_path.render_demo (or re-run demo-builder record / record_demo.py, adding --burn-captions for burned-in subtitles or --no-frame for raw unframed video). The recorder probes clip durations, pads steps so speech never overlaps, ducks background music beneath narration, muxes audio into <name>.mp4 and <name>.webm, and writes synced <name>.vtt and <name>.srt sidecars.python3 -m http.server 8765 --directory <dir>) rather than file:// URLs so fonts, WebGL textures, and relative assets behave identically to production.Silent autoplay loop:
<video autoplay loop muted playsinline poster="assets/demos/hero.png">
<source src="assets/demos/hero.webm" type="video/webm">
<source src="assets/demos/hero.mp4" type="video/mp4">
</video>
Narrated demo with synced WebVTT captions:
<video controls playsinline poster="assets/demos/cli-demo.png">
<source src="assets/demos/cli-demo.webm" type="video/webm">
<source src="assets/demos/cli-demo.mp4" type="video/mp4">
<track kind="captions" src="assets/demos/cli-demo.vtt" srclang="en" label="English" default>
</video>
frame presets, zoom/highlight effects, multi-scene scenes/transition/pip, terminal cadence, narration, music, captions, and working examples.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gofastercloud/demo-builder --plugin demo-builder