explainer-video
Skill18 starsChanged 6 months agoMITView on GitHub
Generate an animated narrated explainer video (MP4). Claude writes a custom HTML animation page tailored to the topic, then the skill handles voiceover (free Edge TTS), recording (Playwright), and merging (ffmpeg). Use when the user says "make an explainer video about X", "generate an animated narrated video for [topic]", "create an explainer video". Output is a 1280×720 H.264 MP4 with synced narration.
- Installs packages
27 other projects use a version of this.
Adopted by
Most recently taken up by
- EmbeddedLLM/nice-skillstheir own version, first seen Nov 29, 2026
- emanueledenaro/claude-skillstheir own version, first seen Nov 29, 2026
- timothyjoh/skillstheir own version, first seen Nov 29, 2026
- ericmjl/skillstheir own version, first seen Nov 29, 2026
- yassine2med/claude-code-skillstheir own version, first seen Nov 29, 2026
- JacobStephens2/thirdshifttheir own version, first seen Nov 29, 2026
Used with
Projects with it also use handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- threerocks/article2media★ 596same name
- microsoft/cat-agent-skills★ 121same name
- iart-ai/explainer-video-skills★ 110same name
- ericmjl/skills★ 45same name
- eisbaw/mped-skills★ 11same name
- charlie947/reel-editing-skills★ 9same name
- konradre/video-production-skills★ 7same name
- Neelshah1810/Claude-Video-Skills★ 6same name
- manoletre/explainer-video★ 5same name
- arthurkatcher/explainer-video★ 4same name
17 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Run once from this skill's directory: cd lib && npm install --silent
- Distinctive: line 34
No API keys or accounts required — voiceover uses Microsoft Edge's free neural TTS endpoint.
- Very specific: line 57
Set
window.__done = true: when your animation finishes. - Very specific: line 108
Time the animation to AUDIO_DURATION: If you have 5 scenes, distribute proportionally to script segments — not equal slices.
- Very specific: line 116
If your animation never sets window.__done = true, the pipeline will timeout after audioDur + 30s.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Explainer Video Skill
End-to-end pipeline: topic → custom HTML page (you write) → MP4.
Each video gets its own visual language designed around its topic. A CRISPR video shouldn't look like a quantum computing video shouldn't look like a supply chain video. Design something fresh every time; the skill handles the plumbing.
Pipeline
1. Claude writes the narration script
2. Claude writes a complete custom HTML page (with GSAP animations)
3. Pipeline generates voiceover via Edge TTS (free, no API key)
4. Pipeline measures audio duration and injects it into the page
5. Page reads window.__AUDIO_DURATION and scales scene timing
6. Pipeline records the page playback via headless Chromium
7. Pipeline merges the recorded video + voiceover MP3 into final MP4Prerequisites
ffmpegon PATH- Run once from this skill's directory:
cd lib && npm install --silent
No API keys or accounts required — voiceover uses Microsoft Edge's free neural TTS endpoint.
How Claude should invoke this skill
Step 1 — Clarify
Briefly ask the user for: topic, length (60-90s default), voice (brian default), and any tone notes. Don't over-ask — sensible defaults are fine.
Step 2 — Write the script
150–220 words for 60–90s. TTS-friendly:
- Numbers as words ("three hundred", not "300")
- Em dashes (—) and ellipses (...) for natural pauses
- Short sentences; vocal variety
- Save it to
<workdir>/script.txt
Step 3 — Write a custom HTML page
Save to <workdir>/page.html. The HTML must satisfy this contract:
- Viewport: 1280×720. Set html/body width/height explicitly.
- Load GSAP:
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/gsap.min.js"></script> - Read
window.__AUDIO_DURATION(seconds, float) — the pipeline injects this before the page runs. Use it to scale your animation timing so visuals stay synced to the voiceover. - Set
window.__done = truewhen your animation finishes. The pipeline waits for this flag. - No external network requests other than the jsdelivr GSAP CDN — pipeline runs headless and won't have arbitrary network.
Everything else is up to you: design language, animation style, scene structure, palette, typography, illustrations, motion. Build what fits the topic.
See examples/quantum.html for one reference implementation. Don't copy it — design something fresh for the new topic.
Step 4 — Run the pipeline
From this skill's directory:
node lib/pipeline.js \
--html /path/to/page.html \
--script /path/to/script.txt \
--voice brian \
--out /path/to/output.mp4Or with a single config JSON:
{
"title": "My Explainer",
"voice": "brian",
"script": "Full narration...",
"html": "/abs/path/to/page.html"
}Run with --config /path/to/config.json --out output.mp4.
Audio caching. Voiceover MP3s are cached by sha256(voice + script) at ~/.cache/explainer-video/voice/<hash>.mp3. Re-running with the same script + voice reuses the cached MP3 (faster startup). Iterate freely on visuals.
To reuse a specific audio file (e.g. one you generated externally), pass --audio path/to.mp3 and TTS is skipped entirely.
Step 5 — Report
Give the user the output path. Offer to iterate on script, voice, or visual design.
Voices
Friendly names map to Azure neural voices via Edge TTS:
brian (calm documentary) · adam (deep authoritative) · rachel (warm friendly) · sarah (confident modern) · antoni (younger energetic) · emma · ryan (British) · sonia (British)
You can also pass any Azure neural voice ID directly (e.g. en-GB-RyanNeural, en-AU-NatashaNeural, es-ES-ElviraNeural).
Design tips for the HTML you write
- Match the topic's emotional register. Quantum → cosmic, mysterious. CRISPR → biological, precise. History → editorial, restrained. Climate → urgent, grounded.
- Use GSAP timelines to coordinate entrance/exit/hold for each scene.
- Kinetic typography (word-by-word stagger, character splits) reads well at 1280×720.
- Time the animation to AUDIO_DURATION. If you have 5 scenes, distribute proportionally to script segments — not equal slices.
- Avoid arbitrary stock-feel motion. Make every animation reinforce a specific idea from the narration.
- Flat colors render well. Heavy gradients/glows can flash during the headless capture.
- Keep CSS animations smooth — Playwright records at ~25fps.
Gotchas
- The pipeline injects
<script>window.__AUDIO_DURATION=…</script>just before</head>. Make sure your page has a</head>tag. - If your animation never sets
window.__done = true, the pipeline will timeout afteraudioDur + 30s. - Render time ≈ realtime (60s of video takes ~60s to record).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

