/explainroo:explainroofrom explainroo
Creates explainer videos (MP4) with voice-over using explainroo. Generates script and scenes from a topic, then produces narrated video with optional AI images and clips.
Ships in explainroo. 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.
None: SKILL.md is the whole skill.
Run explainroo with npx --yes explainroo. --yes stops npx from waiting
on its install question. In a source checkout, run node bin/explainroo.js
instead. The command examples below shorten this to plain explainroo, so type
the full form when you run them. Running through npx does not install a
permanent explainroo command on PATH.
This page tells you, the coding agent, how to make a video with explainroo. The user usually gives you a topic, and maybe a length or a style. You write the words and the pictures. explainroo makes the video.
explainroo turns two files into an MP4 video with narration. script.md
holds what the voice says. scenes.js draws what the viewer sees. Every
drawing can appear on a word the voice says. A voice model (Kokoro) reads
the script on this computer, or the narration comes from ElevenLabs,
Cartesia or the user's own recording. Whisper listens to the narration and writes
down when each word is spoken. Chrome draws the frames in the background.
explainroo adds music and sound effects, and ffmpeg makes the MP4. Kokoro,
Whisper, Chrome and ffmpeg run on this computer, so a video needs no account
and no key. The full documentation for people is at
https://www.explainroo.com/docs/.
Check these before you start. When a request runs into one, tell the user before you make anything.
Languages. Set language in video.json to one of these codes. No other
language works yet, with any voice.
| Language | Code | Kokoro, the free voice, also needs |
|---|---|---|
| English | en | nothing more |
| Spanish, French, Italian, Brazilian Portuguese, Hindi | es, fr, it, pt-br, hi | the espeak-ng program |
| Japanese, Mandarin Chinese | ja, zh | Python 3 with misaki |
| German | de | Kokoro has no German voice |
ElevenLabs, Cartesia and a recording of the user's voice work in all of these
languages, and they need neither program. German works only with one of these
three. explainroo docs languages has the details.
Keys, money and data. These services need a key or a sign-in. They run on the user's own account, and only when you run a command that uses them.
| Service | Used for | Needs | Costs money | What it gets |
|---|---|---|---|---|
| OpenRouter | AI images (image) and AI clips (clip) | one key for both, from connect openrouter | yes, per image and per second of clip | the prompt and any reference images, also for the company that runs the model |
| ElevenLabs, Cartesia | a paid voice | a key | yes, per character | the narration text, when narration is made |
| Blotato | posting with publish | a key | yes, creating the key starts its paid plan | the video, its title and its text |
| YouTube | posting with publish | a sign-in with the user's own Google client | no | the video, its title and its description |
| Buffer | posting with publish | a sign-in | no, on Buffer's free plan | the title, the text and a link to the video |
connect, voices --provider and publish --dry-run send only the key or
the sign-in to that service. When a post uses a link to the video, publish
and its dry run also ask that link for the size of its file. clip --dry-run
reads OpenRouter's public price list, without the prompt or a key. services
reads the same list when it lists clips, at most once a day. share will
upload the video and its title to explainroo.com, and sends nothing until that
service runs.
capture loads the page you name. The models and fonts download the first
time, and doctor --fetch may download espeak-ng's packages. Nothing of the
user's goes along. Nothing else leaves the computer, and everything else is
free.
You only need to clone explainroo to change explainroo itself. It needs Node.js 20.11 or newer, ffmpeg, and Chrome or Chromium. Run this once, in any folder:
npx --yes explainroo doctor --fetch
doctor checks Node, ffmpeg and Chrome, and the extra programs some
languages need. With --fetch it also downloads the speech models that
setup needs, the first time only: about 400 MB for English, and 252 MB for
another language. Each part is ready, missing with how to get it, or
not needed for this setup. doctor videos/<name> checks what that
project's languages and voices need, and before the project exists,
doctor --language es checks one language. On Debian and Ubuntu,
doctor --fetch --language es also sets up espeak-ng without root when it is
missing. Commands that work on a video take the
project folder first, and every command accepts --json.
npx --yes explainroo docs prints this page, and
npx --yes explainroo docs <topic> prints one of the topics listed at the end.
explainroo connect <service> sets up a key or a sign-in. It tests it and
saves it in the settings folder, so every project can use it. Never print a
key, and never put it in a script, a commit or a log. explainroo docs settings
says where keys go and how explainroo finds them.
Decide the normal things yourself, like the look, the length, the voice, the layout and the wording. Ask only when you cannot go on without an answer. When you ask, put everything you need in one message. Typical reasons to ask:
explainroo connect openrouter, elevenlabs or cartesia and show the
user what it prints.explainroo connect youtube,
buffer or blotato and show the user what it prints.Explainroo makes the whole video for free. When the user asks for something
that can use an outside service, run explainroo services <step> --json and
tell the user the options, free ones first. Say which cost money and which are
paid partners. Let the user choose. Never pick a paid service for them and
never call a partner the best. The steps are voice, timing, images,
clips, music, sharing and posting. publish and share work as
names for the last two.
When the user has already picked a service or given a budget, use it and
don't ask again. A budget for AI clips goes in video.json as
"clipBudget": 0.40. clip then stops before a clip that would go over it,
and it says how much is left. clip checks the price against the cap from
--max-cost or the budget before it buys. The final cost is known only after
the job, and it can come out a little higher.
share and publish are the only commands that upload a video, so run them
only when the user asks. Run publish with --dry-run first and show the
user the plan. Add --yes only after the user said yes. When the user wants to
see the post in Buffer before it goes out, add --draft. It saves a draft
there and publishes nothing.
explainroo docs making-a-video has each step in full.
explainroo init videos/<name> --theme paper --size 16:9 --title "...".
Pick the look for the audience, and the size for the platform
(explainroo docs sizes).
The video has a small "explainroo.com" watermark in a corner by default,
and "watermark": false in video.json turns it off. With
"captions": "auto", vertical, 4:5 and square videos get captions, and a
16:9 video gets none.script.md. The narration comes first, because it sets the
timing for everything else (explainroo docs writing). When the user
asks for a length, set it in video.json, like "targetSeconds": 40.
After voice, a shorter video gets longer holds at the scene ends to
reach it, and voice and check warn when the video is longer.
explainroo set videos/<name> targetSeconds 40 writes one setting into
video.json after the same check every command runs, and a dotted key
like sizes.shorts.pace sets a setting of one size.explainroo voice videos/<name>. Fix a word the
speech check did not confirm with {shown|spoken}, and run it again. When
the word already has one, try another spoken spelling
(explainroo docs writing).explainroo docs pictures).
explainroo words videos/<name> <scene> lists the spoken words with their
times.explainroo docs images).scenes.js, one function per scene, with each picture tied to a
spoken word or a [#marker] (explainroo docs scene-api).explainroo check videos/<name>, and fix every error and
every warning (explainroo docs troubleshooting).explainroo still videos/<name> and
explainroo sheet videos/<name>. Open the images and judge them like a
viewer would. For a platform's version, add --platform tiktok to
check, still, sheet and render.explainroo render videos/<name>. Make a draft
with --draft only when you will watch it, because still and sheet
are the cheap way to see frames. Check the file with
explainroo verify videos/<name>. It fails when the sound clips above
0 dBTP, and it warns when the loudness is off, frames are black or the
voice is hard to understand over the music. Its last line says whether
it passed.verify said and what you could not check. To post
it, read explainroo docs publishing.npx --yes explainroo docs <topic> prints one of these. Read the topic of the
step you are on. A long topic has sections:
npx --yes explainroo docs <topic> --sections lists them with their size, and
npx --yes explainroo docs <topic> <section> prints one, like
npx --yes explainroo docs publishing buffer. Print only the section you need.
| Topic | Read it when |
|---|---|
making-a-video | you want each step above in full |
writing | you write script.md: the style, the length and the script syntax |
pictures | you plan the scenes, with four layouts to start from and how the camera moves |
scene-api | you write scenes.js: everything a scene can draw, with its options |
troubleshooting | a scene breaks, or before you write the first one |
voices | you pick a voice, or the user wants a paid voice or their own recording |
languages | the video isn't in English, or comes in several languages |
japanese-and-chinese | the video is in Japanese or Mandarin Chinese |
images | the user wants AI images |
clips | the user wants AI video clips |
music | the user wants their own music, a sound file or original music from Soundroo |
sizes | the video is for a platform: sizes, captions, pace and the watermark |
short-video | you make a Short, a TikTok or a Reel |
product-demos | the user wants a product demo of an app or a website |
settings | you change video.json, make a look of your own or set up a key |
commands | you need a command or a flag that this page doesn't show |
publishing | the user wants a package for a platform, a link or a post |
web-player | the video goes on a website, in an iframe |
transparent-video | the video goes over camera footage in a video editor |
connectors | you add an outside service to explainroo |
contributing | you change explainroo itself |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vincentsch/explainroo --plugin explainrooOther plugins' skills for the same job