/explainer-video:make [studio|paper|system] [what to explain]from explainer-video
Make a narrated explainer or walkthrough video with motion graphics from a script - an HTML page animated in step with a text-to-speech voice, rendered to MP4 with captions. Use this skill whenever the user asks for an explainer video, a narrated walkthrough, a video summary of a change, a design, a release, an incident or a result, "a video I can share with the team", motion graphics with narration, or wants an existing explainer video corrected, re-recorded, extended, or its voice improved - even if they only say "make a video about this".
Ships in explainer-video. 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.
You make a narrated video: a 1920x1080 HTML page whose CSS animations are timed against a
text-to-speech narration, rendered frame by frame to MP4, with captions that equal the narration.
The voice and the render run on the user's machine. The skill folder is ${CLAUDE_SKILL_DIR} (the
folder that holds this file): scripts/ are the tools, styles/ the looks, assets/ the page
runtime they share, fonts/ the bundled fonts, example/ a small script that every style renders,
and references/ the detail you read when you reach that step. Start with
references/commands.md: it has every command in order.
The user's request as typed after the command: $ARGUMENTS
If its first word names a style (studio, paper, system), use that style and
treat the rest as the request. Otherwise all of it is the request, and you choose the style in step 3.
Ask in two short rounds, and only what the request leaves open. Most users type one line; two
question cards (the AskUserQuestion tool, or the same questions in one message when you do not
have it) turn it into the video they meant. Skip each question the request already answers, and skip a card when it answers all of it. Put
your recommended answer first in each question, marked "(Recommended)", so one click accepts them
all; the user can also type their own answer ("warm and a bit nerdy", "lo-fi piano", "our brand
blue"). If no one is there to answer, take the recommended answers and list them in your report.
A download and text sent to ElevenLabs need a real yes: a click on an option that states the size,
or that the text goes to ElevenLabs, is one, and so is a request that names ElevenLabs. With no
answer, download nothing and send nothing: go as far as the files on disk allow, stop at the first
step that needs a download, and say why.
Card 1, before the script. Read the material first, so your picks fit it. At most four questions:
style.py list prints them);Card 2, at the stills, before the voice and the render (the slow steps). Send the contact
sheets (frames.py --stills) and the scene titles, then ask at most four questions:
A brand colour or logo is not a question: say in one line under the card that "Change something" can add one. After a change, send the new sheets and ask only "Record it" or "Change something".
Ask nothing else, except before a download that the cards did not cover: the renderer comes before card 2, and the voice section lists the others.
The method exists because of three facts about you. You cannot hear, so pronunciation is checked as phonemes before recording, and a person must listen at the end. You cannot watch, so you look at frames taken from the final file, not at the page you think you built. And a video is shared, so every number in it must be true on the day it is rendered.
In one project folder (the one the user names, or a new folder beside the source material):
script.md: the scenes: what is on screen, and the narration.sources.md: one row for each claim and number: where it comes from.<name>.mp4 (4K, soft captions, a chapter for each scene), <name>-small.mp4 (1080p, the copy to share),
<name>.srt, and <name>-poster.png (the title frame, for the message that shares the video).build/ (your scene generator, the style's look.py, say.json), scenes/ (the page),
audio/ (WAVs, timing.json), and style.json (the style it uses).Do the steps in this order. Each one makes the next one cheap, and the expensive steps (recording, rendering) come after the checks that would make you redo them.
sources.md first. Recompute every median,
count, and total from raw data with a script; do not copy a number from a summary. Leave out what
you cannot source, and say so in a "Left out on purpose" list.script.md in the format below. Write for the ear.style.py apply, and theme.py if the user has a colour or a logo. If the style's style.md
has a section on the voice, revise the script to it now.prov_timing.py, combine.py, your generator, then
check.mjs, slopcheck.py, and stills. Look at the stills. Fix the layout now, while a change
costs seconds. Then ask card 2.phonemes.py on the script; read every line of its output.tts_elevenlabs.py or tts.py, then read pacing.py.combine.py on the real timing, the generator again with the cue table,
check.mjs, slopcheck.py.render.mjs in video mode, srt.py, sound.py (the style's music bed and
interface sounds, if it has them), mux.sh with the sound/ folder. The music is the user's
choice, and the style only gives the default. When the request or card 2 says anything about
music, pass the closest mood: sound.py --music bright (upbeat, warm), calm (quiet, slow),
pulse (steady, driving), or off; say in the report which one you chose and why. With no word about
it, the style's mood plays. If the user wants no sound at all, skip sound.py and run mux.sh
without the sound/ folder: the voice alone.frames.py and look at every sheet; capcheck.py on the captions
taken back out of the MP4; duration and sound level from mux.sh.If the project is new to you, run the style's example (style.py apply <style> <folder> writes it
as build/gen.py) on ${CLAUDE_SKILL_DIR}/example/script.md through steps 4 and 7 first: it takes
under a minute and shows every file the chain makes.
A style is a look and a way of showing: what the camera does, what carries the meaning, how
things move. Each is a folder in styles/ with its rules (style.md), its stylesheet and fonts,
its scene helpers (look.py), an example generator, and a preview. Read the chosen style's
style.md before you write the generator.
| Style | What it is | Choose it for |
|---|---|---|
studio | a product video: plain surfaces on a calm desk (a window, a prompt box, a list that ticks, a terminal), a cursor that does the work, a camera that pushes in on each action, a quiet music bed and interface sounds | product updates, features, a workflow or tool shown step by step |
paper | the reader's own documents on a desk: printed sheets land, a highlighter sweeps the line the voice reads, a pen circles the figure that matters and notes it in the margin, a calm music bed | results, reports, policy, audits, anything whose evidence is a number or a document |
system | the parts of a system on a dot-grid desk: one request travels the wires and lights its route, each part writes a log line, a timer counts, the code that matters opens with its line lit | architecture, integrations, performance, incidents, PR walkthroughs and code changes |
What makes a generated video look generated, and what to do instead. slopcheck.py checks the
first three and the look; the rest is on you.
data-raw.slopcheck.py reports these as LOOKS GENERATED, whatever the hue. Use the style's flat colour, one
accent, and type with character; a brand colour from theme.py goes on flat.# Title
---
## 1. Scene title
**On screen:** what the viewer sees, in the order it appears.
The narration, as plain sentences. Captions are these sentences, word for word.
## N. Title, numbered from 1 with no gaps (the scripts stop on a gap). The
**On screen:** line and lines that start with --- are not spoken; everything else under the
heading is.**Hold:** 4. Its cues are N, N+1.5, and Ne; it has no sentences.. ? ! (also followed by a closing quote), then a
space, then a capital letter or an opening quote. So start every sentence with a capital
letter, never a digit, and keep abbreviations with a period out ("for example", not "e.g.").
A wrong split shifts every cue after it. scripts/narration.py holds the one parser that every
script uses.An element appears with data-in and leaves with data-out. A time is N (start of scene N),
N.K (start of sentence K of scene N, counted from 0), or Ne (end of scene N), with an optional
offset in seconds: 3.2+0.5, 4e-2.6. scripts/engine.mjs resolves them against the narration timing
(and assets/cue.js does the same when you open the page in a browser),
so the picture follows the voice when the voice changes. Camera moves, highlights, and other later
animations on one element use the same times (data-moves); the helpers write them for you.
The cost of this design: a new or removed sentence shifts the index of every sentence after it
in that scene. The generator's validation catches only a cue that points past the end. So after
any wording change, run the generator with the timing file as third argument and read the cue
table it prints: each cue beside the sentence it now points to. references/styles.md explains
the generator, the camera, the helpers every style shares, and how to make a new style.
times.py gives a middle and an end time for each scene; render
them with render.mjs ... stills, join them with frames.py --stills, and look at the sheets.
check.mjs finds text that overlaps, is clipped (by a box or by a clip-path that cuts the
glyphs), leaves the frame, sits in the caption zone, or is too small to read once the camera
zooms out (under 24 px on screen), a picture shown larger than its own pixels (SOFT IMAGE), a
camera shot that shows past the edge of its world (PAST THE WORLD'S EDGE: make the desk larger
than every shot, with the frame's margin around it), and
characters that no font of the page can draw (they would show as empty boxes); it is a net, and
it also reports overlaps you drew on purpose.QUALITY=draft). Take frames from a 4K render or master at its own size, as PNG
(ffmpeg -ss <t> -i in.mp4 -frames:v 1 f.png), never scaled down first.frames.py cuts a middle and an end frame of every scene from
the MP4 and builds contact sheets. Look at all of them. Say "end frames only" in your report if
that is all you looked at; a passing check.mjs is not the same as looking.capcheck.py must report 0 mismatches for the .srt and for
<name>.from-mp4.srt, the stream mux.sh extracts back from the file.slopcheck.py must report 0 repeats of the narration and 0 LOOKS GENERATED (a gradient
that carries data, such as a heat-map legend, is the one exception: say so); read its other findings.Read references/voice.md before the first recording in a project. The rules in short:
test -n "$ELEVENLABS_API_KEY" && echo set. If it is set, record with tts_elevenlabs.py: one
request per scene, natural flow across sentences, no download. Before the first recording in a
project, tell the user that the narration text goes to ElevenLabs, and wait for a yes (card 2
asks it). If no key is set, or the user says no, record with Kokoro (tts.py), locally. Use one engine and one voice
for the whole video; both scripts write the same audio/ files. Never ask for the key in chat,
never put it in a command, a file, or a log; the user sets it in their shell profile.phonemes.py), for every name, acronym, number, unit,
and symbol, and read the sentences it prints as the voice will get them. Respell
only where the print shows a wrong reading, and only in build/say.json, which changes the text
sent to the voice and nothing else. The script and captions keep the correct spelling. A
respelling can make things worse (a single letter "A" reads as the article), so print again
after each change. ElevenLabs has no phoneme print, so run tts_elevenlabs.py --dry-run first:
it lists every all-caps word the voice would get (BLEN, API, MP4), and the recording stops until
you decide each. A name said as a word gets a say.json respelling (BLEN to Blen); an
acronym spelled out stays as it is. Then record with --caps-checked. Names, acronyms, and units
are still the places you ask the user to listen.tts.py does
this and checks the pauses), and short gaps. Speed and gap are arguments; with the model on
disk, a different pace is one command.pacing.py after each recording: words per minute, the pauses
between sentences, and the sentences that are too long. It is the part of "does it sound
natural" that you can measure.--only s08, with the engine the video was recorded with), then a new render of the whole page, because
later scenes move..srt
before you deliver.engine.mjs reads the page's stylesheets, fonts, and images from the
scene folder and stops on a URL, an absolute path, or a path that leaves the folder; scripts in
the page do not run. Use local fonts and
local images only. Do not add a remote font or image to get around the stop; ask the user for
the file.esc() in the
generator before it reaches the page. Markup in the generator is yours, never copied.render.mjs and check.mjs load the
renderer from $TAKUMI_PATH, then from its install folder (~/.cache/explainer-video/takumi),
then from the working folder. Do not run them in a folder of unknown origin.scripts/renderer/package-lock.json and installed with
npm ci --ignore-scripts. Do not
swap a pin, a hash, or a source to make a download pass. Stop and tell the user.script.md,
sources.md, the page, or a command line.script.md, read the cue table, record that scene with
--only, then steps 7 to 9. Both voice scripts name any scene whose recording no longer matches the
script, and it deletes the recording of a scene that is no longer in the script.style.py apply <style> <folder>, then write the generator again with the new
style's helpers (start from its example), then steps 4 and 7 to 9. The recording stays. A project
made before styles (no style.json) needs --force, which keeps the old generator as
build/gen.py.bak.pacing.py),
then speed and gap. Change the model only if the user asks, and treat it as a new download.End with: the files; the duration and caption count; what you checked (frames, numbers, captions, phonemes, sound level); what only a person can check, with times; what is left out and why; and any file you downloaded and whether it is still on disk.
assets/base.css (opens in a new tab)assets/cue.js (opens in a new tab)example/say.json (opens in a new tab)example/script.md (opens in a new tab)fonts/ibm-plex-mono/OFL.txt (opens in a new tab)fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2 (opens in a new tab)fonts/ibm-plex-mono/ibm-plex-mono-latin-500-normal.woff2 (opens in a new tab)fonts/ibm-plex-mono/ibm-plex-mono-latin-600-normal.woff2 (opens in a new tab)fonts/ibm-plex-sans/OFL.txt (opens in a new tab)fonts/ibm-plex-sans/ibm-plex-sans-latin-400-normal.woff2 (opens in a new tab)fonts/ibm-plex-sans/ibm-plex-sans-latin-500-normal.woff2 (opens in a new tab)fonts/ibm-plex-sans/ibm-plex-sans-latin-600-normal.woff2 (opens in a new tab)fonts/ibm-plex-sans/ibm-plex-sans-latin-700-normal.woff2 (opens in a new tab)fonts/libre-franklin/OFL.txt (opens in a new tab)fonts/libre-franklin/libre-franklin-latin-400-normal.woff2 (opens in a new tab)fonts/libre-franklin/libre-franklin-latin-600-normal.woff2 (opens in a new tab)fonts/libre-franklin/libre-franklin-latin-800-normal.woff2 (opens in a new tab)fonts/newsreader/OFL.txt (opens in a new tab)fonts/newsreader/newsreader-latin-400-italic.woff2 (opens in a new tab)fonts/newsreader/newsreader-latin-400-normal.woff2 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
explainer-video@blencorp is listed by blencorp/claude-plugins — review the source before installing
npx claudepluginhub blencorp/claude-plugins --plugin explainer-video