Home
cd ../playbooks
Media ProductionIntermediate

Video Explainer: One-Minute Animated Videos From Any Topic

Turn a topic, document, codebase or URL into a 60-second explainer video with kinetic graphics, hand-drawn or 3D visuals, real web media, voiceover, captions and a frame-by-frame review page

20 minutes
By Peter YangSource
#video#explainer#animation#hyperframes#voiceover#captions#three-js#education

Ask an AI to explain something in a video and you usually get a slide deck with a voice over it. This skill makes Claude write a tight one-minute script, verify every fact, animate a moving hero visual that changes every few seconds, and run ten automated checks plus a fresh-eyes review before you ever see a draft.

Who it's for: educators and course creators, product managers explaining features, developer advocates, newsletter writers and YouTubers, founders making launch explainers, students summarising a topic

Example

"/video-explainer how HTTPS works, motion style, with captions" → a verified 70-second script tracing one login across public Wi-Fi, local voiceover aligned word by word, a continuous animated scene with a whip-pan to the handshake, synced sound effects, a QA report at 10/10, and a review page where you pin notes to frames

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add video-explainer
# Video Explainer: Turn Any Topic Into a One-Minute Animated Video

Use this when someone wants a short animated explainer video about a topic, an article, a document, a codebase or a URL. Trigger phrases: "make an explainer video", "explain X in a video", "turn this doc into a video", "/video-explainer".

Source: https://github.com/petergyang/video-explainer (MIT, by Peter Yang). The original skill bundles the rendering engines and pipeline scripts (media fetching, voiceover, word alignment, render, QA, a browser review page). **This template carries the workflow and the craft rules; the scripts come from installing the skill** (see the playbook page). Without the skill installed, say so, and either help the user install it or build a plain HyperFrames composition by hand.

Output: one `renders/<slug>-vN.mp4` at 1920x1080 and 30 fps (or `9:16` / `1:1` on request), plus the `script.md`, `media/` and `graphics/` files that produced it.

## Before the first video

- Run the skill's `setup.sh` (or `setup.sh --voice` for spoken narration). If tools are missing, **list them with their install commands and ask before installing anything.** Plan for about 400 MB of downloads (about 1.4 GB with local voice).
- Needs ffmpeg, Python 3.10+, Node.js 22+. Optional: `yt-dlp` for web clips, Blender for custom 3D meshes.

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Peter Yang's open-source skill (MIT) makes short explainer videos in three styles:

Style What it looks like Token cost
Motion (default) High-energy 2D kinetic graphics, live charts, CSS 3D cards Lowest
Illustrated Hand-drawn picture-book animation with paper grain About 6x Motion
3D A single continuous Three.js camera flythrough with studio lighting About 7x Motion

Claude researches and verifies the facts, writes the script, generates voiceover (free and local, or with Gemini), builds the visuals, adds captions, music and sound effects, and renders a 1080p MP4 with HyperFrames. Before you see a draft, it runs 10 automated checks, and a second agent rejects anything that looks like a slide deck.

The template carries the workflow and the craft rules. The rendering engines and pipeline scripts come from installing the skill.


Quick Start

Step 1: Install the Prerequisites

You need ffmpeg, Python 3.10+ and Node.js 22+. Optional: yt-dlp for web clips and Blender for custom 3D meshes. On macOS: brew install ffmpeg python node.

Step 2: Install the Skill

npx skills add petergyang/video-explainer --skill video-explainer --global

Step 3: Download the Template

Click Download above and save it as CLAUDE.md in a folder for your videos (for example ~/Videos/explainers/).

Step 4: Make a Video

cd ~/Videos/explainers
claude

Then: /video-explainer explain how black holes form. On first use, Claude runs the setup check and lists anything missing before installing it.

Optional: Gemini Voices and Music

For Gemini TTS voices and Lyria music, create a key at Google AI Studio with billing enabled, and add GEMINI_API_KEY=... to ~/.config/video-explainer/.env yourself. Without it, voiceover runs free on your computer.


Examples of What to Ask

  • "/video-explainer how HTTPS works, use defaults."
  • "Explain this README as a 45-second ELI5 video, illustrated style."
  • "Turn this article into a vertical 9:16 explainer with no voiceover, just music."
  • "Make a technical 90-second video on how our caching layer works, from this codebase."
  • "Same video, but captions off and the paper style."

What You Get

  • A 60 to 75 second video (two minutes at most) with a hook in the first 3 seconds and one example followed from start to finish
  • Voiceover with a local Kokoro voice, a Gemini voice, your own recording, or none
  • Captions that match the voiceover word for word
  • Web media with credits: photos, clips and page captures that ground the story
  • Music and sound effects synced to key words
  • A review page in your browser where you play the draft and pin notes to frames
  • Themes: default, paper or blueprint, plus your own fonts and colours in ~/.config/video-explainer/style.json

Tips & Best Practices

  • Start with Motion. It's the fastest and cheapest. Try Illustrated or 3D once you like the script.
  • Give it your sources. A doc, a repo or a URL makes the facts verifiable and the video specific.
  • Ask to approve the script first if the topic is sensitive or technical. By default Claude goes straight from script to render.
  • Review on the frame. Pinning a note to a frame is more precise than describing a moment.
  • Listen before you publish. QA checks loudness and sync, but voice pacing and music balance need your ears.

Limitations

  • macOS and Linux. The setup and runner scripts are bash and expect a Unix-style Python venv. On Windows, use WSL.
  • Big first-time downloads: about 390 MB for headless Chrome, and about 1 GB more for local voice and word alignment.
  • Illustrated and 3D use many more tokens than Motion.
  • The template alone has no engines. Install the skill for the rendering, QA and review scripts.

Safety Notes

An automated security scan flagged the upstream repository as high risk (DO_NOT_INSTALL), with only partial coverage. We read the high-severity findings in context. They come from the skill reading its own Gemini key from its config file, passing environment variables to the subprocesses it launches, and fetching images from Wikimedia, which is how the pipeline is meant to work. A static scan isn't proof of safety either way. What matters when you use it:

  • The setup script installs software. It downloads headless Chrome through HyperFrames (pinned to version 0.9.79), creates a Python environment in ~/.cache/video-explainer, and with --voice installs local speech models. It lists what's missing and asks first, so read the list before saying yes.
  • Install without --yes. The project's own command adds --global --yes, which skips the confirmation. The command above leaves it out so you see what gets installed.
  • HyperFrames, which does the rendering, has its own usage telemetry, and the skill doesn't switch it off. Current HyperFrames versions turn it off with HYPERFRAMES_NO_TELEMETRY=1; check the docs for the version the skill pins.
  • Gemini costs money. Gemini voices and Lyria music need a key with billing enabled. Keep the key in the .env file, never in chat.
  • Web media has owners. Downloaded photos and clips, especially through yt-dlp, may be copyrighted. Prefer openly licensed sources and your own material, keep the credits, and check the rights before you publish.

$Related Playbooks

Media Production

Transcript Fixer

Correct speech-to-text errors with dictionary rules and AI analysis — fixing homophones, garbled technical terms, and mixed Chinese/English — while building a personalized correction database that learns from each fix.

10 minutes
Intermediate
Media Production

Video Comparer

Compare two videos to analyze compression results or quality differences — generate an interactive HTML report with PSNR/SSIM metrics and frame-by-frame visual comparisons.

10 minutes
Intermediate
Media Production

Audio Transcription Automation

Automate audio/video transcription, meeting notes, subtitle generation, and content processing

10 minutes
Advanced
Media Production

YouTube Channel Automation

Automate YouTube content workflows including video management, analytics, scheduling, and channel optimization

10 minutes
Advanced
Media Production

TikTok Short Creator

Turn long screen recordings or demo videos into punchy 60-second TikTok edits with AI-powered scene analysis, voiceover scripts, and automated ffmpeg cuts.

10 minutes
Intermediate
Media Production

AI Production House: Script to Storyboard

Run a five-role film pipeline in Claude Code: diagnose the script, plan every shot with master techniques, specify the cinematography, write generation prompts, and check continuity

10 minutes
Intermediate
Media Production

AI YouTube Shorts Generator: Turn Long Videos Into Vertical Clips

Feed in a long video and get ranked, scored 9:16 clips with titles, hooks and reasons, using an open-source pipeline that can run fully local except for one LLM call

20 minutes
Intermediate
Media Production

AutoSubs: Local AI Subtitles and Transcripts With Speaker Labels

Transcribe audio and video on your own machine with AutoSubs, and let Claude run its command line to produce SRT, VTT, readable transcripts and word-timed JSON, with optional speaker labels and translation

15 minutes
Beginner
Media Production

ASR Transcribe to Text

Transcribe audio and video to text with Qwen3-ASR — local MLX inference on Apple Silicon (no API key, 15–27x realtime) or a remote API endpoint, auto-detecting the best path.

10 minutes
Intermediate
Media Production

Claude Video: Let Claude Watch Any Video

Turns a video URL or local file into frames plus a timestamped transcript, so Claude answers from what it saw and heard instead of the title

10 minutes
Intermediate
Media Production

Creator Style Reverse-Engineer: One Video In, Style Guide Out

Feed Claude a video from a creator you admire and get a breakdown of their style, a transcript, and a step-by-step replication plan, then blend several creators into your own style

10 minutes
Intermediate
Media Production

Editly: Make Videos From Code With Node.js and ffmpeg

Describe a video in a JSON5 spec (clips, images, titles, transitions, music) and let Claude write it and render it with Editly, for slideshows, promos, GIFs and batch resizing

10 minutes
Intermediate

Browse all Media Production playbooks →