← ClaudeAtlas

recording-a-narrated-ab-proof-videolisted

Make a narrated A/B proof video of a PR or feature: record each side's browser run with Playwright (timing marks, hooks for dynamic input like OTP codes), render title/evidence cards and A/B corner banners, voice each segment with macOS say, speed up model waits, freeze the last frame to fit the narration, and concat to one mp4. Triggers on: create a video with narration, narrated demo video, record the A/B as a video, prove it works on video, demo video for the team, screen recording with voiceover.
sblattj/agent-chandlery · ★ 0 · Code & Development · score 72
Install: claude install-skill sblattj/agent-chandlery
# Narrated A/B video ## More triggers narrated-ab-video (old name), video walkthrough of the PR, make a demo recording, voiceover demo, record both stacks, explainer video, no drawtext filter, Playwright recordVideo, headless shell missing One mp4 per claim set: title card, A clip, B clip, evidence card, verdict card, each voiced. Built for macOS on Apple Silicon (`say`, the Playwright cache under `~/Library/Caches/ms-playwright`, `chrome-mac-arm64`). Elsewhere, set `CHROMIUM_EXE` and use `--eleven` for the voice. Needs Bun, ffmpeg and Python 3. ## Do this ```bash S=${CLAUDE_SKILL_DIR:-${SKILL_DIR:-~/.claude/skills/recording-a-narrated-ab-proof-video}} $S/preflight.sh /tmp/vid # chromium, playwright ffmpeg, ffmpeg, say voice bun $S/record.ts a.json raw/a-run # one scenario per side (copy examples/scenario.json) bun $S/record.ts b.json raw/b-run bun $S/cards.ts cards.json cards # title/evidence/verdict PNGs + banner-A/B.png python3 $S/build.py plan.json # [--voice Samantha] [--rate 182] open -a "QuickTime Player" demo.mp4 # opens paused; never play it yourself ``` Examples in `examples/`: `scenario.json` (steps: wait, select, click, clickIfPresent, type, send, waitStable, expand, fetchText, waitText, probeEnabled, reload; see the header of `record.ts`), `cards.json`, `plan.json`. Plan paths are relative to the plan file. Validated end to en