Skip to content
Back to skills

Making Explainer Videos

ASecurity

Make a finished, narrated explainer video (1080p60 MP4) for any product, project, or idea, entirely from code and entirely on the user's computer - React and Motion for the animation, a local AI voice for the narration, real product screenshots, Chromium and ffmpeg for the render. Ships a working starter project and explains the setup from zero on macOS, Linux, and Windows. Use whenever the user wants a video, such as an explainer, product demo, feature announcement, launch or roadmap video, ...

  • 5 stars
  • 0 votes
  • 1 copy
  • 3 views
  • Added December 5, 2026
ai-agentsgobashreactapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add Cristhianzl/claude-skills-czl --skill making-explainer-videos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Making Explainer Videos?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Making Explainer Videos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cristhianzl-making-explainer-videos/badge)](https://www.skillsdirectory.com/skills/cristhianzl-making-explainer-videos)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: making-explainer-videos
description: Make a finished, narrated explainer video (1080p60 MP4) for any product, project, or idea, entirely from code and entirely on the user's computer - React and Motion for the animation, a local AI voice for the narration, real product screenshots, Chromium and ffmpeg for the render. Ships a working starter project and explains the setup from zero on macOS, Linux, and Windows. Use whenever the user wants a video, such as an explainer, product demo, feature announcement, launch or roadmap video, team presentation, onboarding, tutorial, pitch, animated presentation, motion graphics, or "a video like the last one", even if they never name a tool. Also use to change, re-voice, translate, or re-render a video made this way. Not for recording a browser session as it happens (use playwright-cli) or for filmed or AI-generated footage.
license: MIT
---

# Making explainer videos

The result is one MP4: a calm voice explains, and everything it mentions happens on screen at that moment. Blocks are dragged in by named cursors, real screens open up, and the camera travels from one idea to the next.

All of it is code, so any frame can be drawn on demand, checked as an image, and changed later. Nothing is uploaded, and no account or API key is needed.

```
script.json ──narrate──▶ narration.wav + timing.json ──▶ scenes (React + Motion) ──sheet──▶ you look ──render──▶ film.mp4
```

The voice comes first because it decides the timing. Every animation starts from "when this sentence begins", so rewriting a sentence moves the motion with it.

## Read first (always)

List `learnings/` and read anything relevant: the project's brand, voice, language, and past feedback override the defaults here.

## Workflow

### 1. Start the project

Copy `template/` (next to this file) to a folder of its own, outside the product's source tree unless the user wants it there. Then, inside the copy:

```bash
npm ci
npm run setup      # says what is missing and the exact command that installs it
```

On a new computer, follow `references/setup.md`. The template is a complete film about how these videos are made, so `npm run narrate` and `npm run render` prove the machine works before you write anything.

### 2. Know what is true

Read the project: its README, its screens, its code. Write down who will watch, what they should understand or do afterwards, and the facts behind each claim. Ask only what you can't find out and can't safely assume. Length, look, and voice have good defaults.

- Say what exists today and what is planned, and never let one look like the other.
- Check every number and name at its source. Leave out what you can't confirm.
- If a feature works with several brands or tools, show several. A video that shows one reads as "only works with that one".

### 3. Write the script

Edit `script.json`: scenes in order, one sentence per idea. Then run `npm run narrate` and `npm run listen`. You can't hear the result, so `listen` transcribes it and shows every sentence that came out different.

Rules, pacing, voices, and languages: `references/script-and-voice.md`.

### 4. Set the brand

- `src/film.config.ts`: name, headline, closing line, and the parts of the film. The intro, the chapter cards, the progress map, and the outro build themselves from it.
- `src/theme.css`: colors and fonts. Take them from the product. Keep the background dark and quiet, and give each color one meaning. With a serif or narrow font, set `--tracking` to about `-0.01em`.
- `public/img/logo.svg`, and the opening screenshot named in `hero`.

### 5. Get real screens

```bash
npm run capture -- http://localhost:3000/orders orders.png --wait "text=Orders"
```

`--click` reaches a state several steps in, `--hide` leaves elements out, `--measure` prints where an element is, and `npm run capture` alone lists every option. Choose the window so the text stays readable: its final size is the page's size times `box.w / crop.w`. A 1280 px window or a tight crop usually works, and a 1920 px one rarely does.

Use the real product with sample content, in an instance you can throw away. Never show customer data, real people's details, keys, or internal addresses. When a screen doesn't exist yet, draw it with the kit instead of faking a screenshot.

### 6. Build one scene at a time

Keep `intro` and `outro`. Keep the chapter cards (`ch1`, `ch2`, ...) in films longer than about 90 seconds, and drop them in shorter ones, where they eat time the story needs. Replace the other scenes with yours, and list them in `src/scenes/index.ts` in the order of `script.json`.

For each scene, finish this sentence first: "while the voice says ___, the viewer sees ___ happen". If the second blank is text, find a better picture: `references/scene-patterns.md` maps kinds of ideas to pictures that worked. The engine, the kit, and the traps are in `references/building-scenes.md`.

Then look at it before starting the next one:

```bash
npm run typecheck
npm run sheet -- orders --every 1        # one frame per second of the scene "orders"
npm run sheet -- orders:4.2 --width 1600 # one moment, large
```

Open `out/sheet.png` as an image and read it like a viewer. Lines starting with `!` are mistakes that would render silently: a selector that matches nothing, or two moves fighting over the same property.

### 7. Review the whole film

Run `npm run sheet` and go through `references/review-and-render.md`. Most defects are one of these:

- an empty area, or a moment when nothing moves while the voice keeps talking
- text that is cut, overlaps, or is too small to read in a meeting
- a cursor that clicks beside the button
- an animation that ends after the camera has left
- a word on screen that the voice contradicts

### 8. Render and deliver

```bash
npm run render -- --title "What's new in Orders"
```

It writes `out/film.mp4` and reports length, size, loudness, and any stretch where almost nothing moves. Copy the video to where the user asked, keep the project folder so the next change is cheap, and tell them both paths. Say what you couldn't check, above all that you haven't heard the voice.

## What makes it look and sound right

These defaults come from a film its audience loved. Change them for a reason, not for variety.

| | |
|---|---|
| Voice | `af_heart`, speed 1.0, 0.32 s between sentences, -16 LUFS |
| Words | Short and concrete. Someone outside the team understands each sentence the first time |
| Length | 1 to 4 minutes, 10 to 25 seconds per scene, 3 parts (4 at most) |
| On screen | A title, one caption line, one picture. The caption sums up, it never repeats the voice |
| Motion | Things arrive from where they come from, settle softly, and move because the voice mentioned them |
| Cursors | Named after who acts: a person, a role, an agent, "You" |
| Look | Dark canvas, dotted grid, one color per meaning, thin borders, large type, no gradients, no emoji |

## Commands

| Command | Does |
|---|---|
| `npm run setup` | Checks ffmpeg, Chromium, and uv, and prints how to install what's missing |
| `npm run narrate` | Script to voice and timing. `-- --silent` skips the voice, `-- --phonemes "text"` shows a pronunciation |
| `npm run listen` | Transcribes the narration and lists sentences that sound different from the script. `-- --words orders` shows when each word of a scene is said |
| `npm run capture` | Sharp screenshot of a running product |
| `npm run typecheck` | Catches broken scenes before a browser opens |
| `npm run sheet` | Any moments of the film as one image |
| `npm run render` | The video. `-- --fps 30 --from 20 --to 45 --out out/draft.mp4` renders a quick draft of a part |

## Done means

- [ ] `npm run listen` was read line by line, and every difference is harmless (numbers, homophones)
- [ ] `npm run sheet` prints no `!` lines, and every scene was looked at, one frame per second
- [ ] `npm run render` reports no still stretch, or you can say why it's intended
- [ ] Every claim is true today or labeled as planned, and example data is labeled as an example
- [ ] No private data in any frame
- [ ] The user has the MP4, the project folder, and the list of what wasn't checked

Files in this skill

  • SKILL.md8 KB
  • learnings/README.md789 B
  • references/building-scenes.md6.3 KB
  • references/review-and-render.md2.9 KB
  • references/scene-patterns.md3.9 KB
  • references/script-and-voice.md4.3 KB
  • references/setup.md3.3 KB
  • template/.gitignore37 B
  • template/index.html225 B
  • template/package-lock.json52.8 KB
  • template/package.json1015 B
  • template/public/img/logo.svg342 B
  • template/script.json2.8 KB
  • template/scripts/capture.mjs2.5 KB
  • template/scripts/lib.mjs2.4 KB
  • template/scripts/listen.py2.6 KB
  • template/scripts/narrate.py4.2 KB
  • template/scripts/render.mjs4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.