What does explainer-video do?
One video, end to end. Each stage has an exit check; don't start a stage until the one before it has passed. Read
docs/craft.md and docs/engagement.md before writing the script, and docs/agents.md before briefing a builder.
When to ask. Ask the person who wants the video at four points: the takeaway (stage 1), the format and look (stage 2), the final words (stage 5) and the go-ahead to master (stage 9). Between those, take the work to the next thing they can judge. Any other choice between options you prepared is yours to make; say in one line that you made it.
Everything for one video lives under its slug:
| What | Where |
|---|---|
| Script, facts, film, notes | src/videos/<slug>/ (narration.json, facts.md, film.tsx, notes.md) |
| Voice and word timings | public/videos/<slug>/vo/ (take.wav, words.json) |
| Drafts, sheets, masters | out/<slug>/ |
0. Set up
On a new machine, run the setup in CLAUDE.md. Otherwise bash scripts/setup/check.sh is enough.
Exit: the check passes.
1. Understand the change
- Ask for the source (the PR, design doc, incident timeline or code path) and read it yourself. Where the doc and the code disagree, the code is what the system does; say so, or ask.
- Ask who watches and where: the team, adjacent teams, product or leadership, in Slack, a doc or a meeting.
- Write the takeaway in one sentence and the stake (what changes for the viewer) in another. If the takeaway is flat, find a better one first. The Superpowers brainstorming skill helps when the change holds several candidate stories.
- Name two or three specific audiences and what each needs from the film. If you can't, the idea isn't formed yet.
- Choose a short slug.
Exit: the person asking agrees with the takeaway, the stake and the named viewers.
2. Pick the format and the look
- Ask which format: 16:9 (1920x1080) for meetings, docs and screen shares, or 9:16 (1080x1920) for phones.
- Offer two or three looks that suit this subject, a line each, from the Lemo-Opuscar style library or from the team's own visual identity. Never carry over the last video's look by default.
Exit: the person asking has picked the format and the look.
3. Script, voice first
Write src/videos/<slug>/narration.json as [{"text": "..."}], one sentence per line. Words come before any picture.
- Shape: the stake as the hook, three open threads in the first lines, a delay or a rehook in the middle, the viewer's
own question answered last, end on the payoff (
docs/engagement.md). - Length follows the subject: one to three minutes. A normal read runs about 150 words a minute.
- Write for the voice: one flowing sentence per thought, a full stop only where a beat should land, and respellings for anything a voice will misread ("engine-x" for nginx). On screen, words keep their normal spelling.
- In your notes, mark beside each line which loop it opens and which it closes.
Exit: you can name the stake, the open question, the delay, the answer and the last line, and nothing is said twice.
4. Cull, then a cold read
- Cull. Assume every line is filler until it earns its place. Cut throat clearing, restatements, announcements, hedges, stage directions and numbers the listener doesn't need (they go in the message posted with the video). Err short.
- Cold read. Re-read as a stranger. Does each line follow from the one before? Does an early line answer the one before it? Does the premise survive the strongest objection? A Sonnet cold reader can catch misreadings; it never decides structure.
Exit: the cold read makes sense, and the hook's question is still open after line three.
5. Facts
- Write
src/videos/<slug>/facts.md: one row per claim and per number, with the source (file and line, PR, doc section, dashboard or timeline entry) and a short quote from it. Every number the film shows comes from this table. - Add a keep-out list: what is undecided or unknown, and what must never appear on screen (secrets, tokens, customer data, internal hostnames).
- Run an independent check: a Sonnet agent that did not write the script reads each source itself and marks every claim confirmed, wrong or overstated. Fix what is wrong. Cut a line rather than hedge it.
- Send the person asking the final script with the takeaway and the named viewers. Words are cheap now; after the take, every changed word means a new recording and a rebuild.
Exit: every claim has a row, the check is clean, and the person asking has read the words.
6. Record and check
python3 scripts/voice/take_elevenlabs.py <slug> # one unbroken take -> public/videos/<slug>/vo/take.wav
uv run scripts/voice/words.py <slug> # word timings -> words.json, plus a word diff against the script
bash scripts/voice/take_say.sh <slug>writes the sametake.wavwith the Mac's built-in voice, for timing a rough cut on your own machine. Anything you send uses the provider's take (Apple licenses its voices for personal use only). A different text-to-speech provider is one moretake_<provider>script that writes the same file.- Read the word diff. A homophone is fine. A wrong word means a respelling in
narration.jsonand a new take. - Never splice, trim or retime inside a take. Pauses that run long are fixed in the writing.
Exit: words.json exists and the diff shows no wrong words.
7. Brief a builder, or build
- Builders own the storyboard. Start one fresh Opus builder for this video (background, xhigh effort at most)
with the brief shape in
docs/agents.md: the film, the locked voice, the facts and keep-out list, the look, the bar and reference films, the technical block, and what done means. No shot list. - The film.
src/videos/<slug>/film.tsxexports a React component built onsrc/kit/("Writing a film" inCLAUDE.md). Every event hangs on a word time fromuseTake(). - Skills worth using.
lemo-opuscarfor the chosen style (adapt its look into the film; its own render tools are not this pipeline).hyperframesandhyperframes-clias a reference for the renderer, read through "HyperFrames, our way" inCLAUDE.md. - Build it yourself only for a short, simple film, under the same rules. Check on a builder at the intervals in
docs/agents.md.
Exit: the builder has confirmed it opened the brief and the references, or your own rough cut plays.
8. Drafts and the stranger review
bash scripts/render/draft.sh <slug> <format> # out/<slug>/draft.mp4
bash scripts/review/sheets.sh out/<slug>/draft.mp4 # four contact sheets, one per quarter
bash scripts/render/preview.sh <slug> <format> # scrub it in the browser
- Send the rough cut to the person asking as soon as it plays, then each draft. Review in parallel; never hold a draft back for your own review.
- Watch the draft and read the sheets as a stranger (the review loop in
docs/craft.md). Check the story the screen tells against the voice, what a viewer knows and still wants at five seconds, whether the first cut goes dimmer, any static stretch (play it at speed), the mute test, every number againstfacts.md, every caption against the voice, and the keep-out list. - Pass notes to the builder as they were given, plus the bar, and let it decide the fixes.
Exit: the draft passes the stranger read and the person asking has seen it.
9. Master
Only after the person asking has seen a draft and said to master it.
bash scripts/render/master.sh <slug> <format>
- Read what it prints. Loudness sits at -16 LUFS, and the frame count matches the approved draft's length. Look at every near-black frame it lists: an intended fade is fine, anything else means a re-render.
- Hand over the master for meetings and the small share copy for Slack, with the companion text: owners, links, tickets and the numbers the voice left out.
- Keep the notes, script and facts. Rendered video is never committed.
Exit: the master and share copy exist, the printed checks are clean, and the person asking has both.