khan-explainer
Claude Code skill: Khan Academy style explainer videos. A pen draws while a voice explains. Free, local, no API keys.
Install / Use
npx skills add haiderfarooq3/khan-explainerInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OtherSupported Platforms
Our assessment of khan-explainer
khan-explainer scores 76/100 on our quality scale, 212th of 243 Other skills we index.
Its SKILL.md is 4.5 KB long, split into 7 sections with 3 code examples: a solid amount of guidance for an agent.
It has 61 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated today, so khan-explainer is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-11. Automated pattern scan on 2026-10-11. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
khan-explainer compared with similar skills
All 4 of these similar skills score higher than khan-explainer; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| khan-explainer (this skill)by haiderfarooq3 | 76 | 61 | today | SKILL.md |
| Agent-Reachby Panniantong | 100 | 95.5k | 3d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 75.0k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 86.7k | today | MCP Server |
| crawl4aiby unclecode | 100 | 85.2k | today | MCP Server |
Frequently asked questions
- How do I install khan-explainer?
- Run
npx skills add haiderfarooq3/khan-explainer. The install tabs above show the steps for each supported agent. - Which AI agents does khan-explainer work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is khan-explainer safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is khan-explainer still maintained?
- The repository was last updated today, so khan-explainer is actively maintained.
Skill content
View source on GitHubkhan-explainer
A Claude Code skill that makes Khan Academy style explainer videos: a pen draws while a voice explains. You describe the video, Claude writes a scene file, and one command renders the MP4.
Write-up: Claude Code skills for content: how I make Khan Academy style videos for free

It runs on your Mac with an HTML canvas, Playwright, ffmpeg and the built-in say voice. No API keys, no accounts, no editor.
What it makes
| Mode | What you get | |---|---| | Blackboard lesson | A diagram drawn stroke by stroke while the voice explains it. | | Draw-over-UI tutorial | Arrows, circles and numbered steps drawn over your product screenshots. | | Real-audio clip | A YouTube video or podcast in, vertical shorts out. The speaker's own voice plays while the board is drawn to their words. It can also cut the speaker out and stand them in front of the board. |
Every mode renders as chalk on a blackboard or marker on a whiteboard, landscape or vertical. One flag switches between them, and a single beat can flip the board mid-video.
Why the pen stays in sync
The voice drives the clock. A scene is a list of beats, and a beat is one spoken clause plus the drawing that happens while it is said. The renderer speaks each beat first, measures it, and fits that beat's drawing to its length. Nobody types a timestamp, so the pen cannot run ahead of the words.
scene({
beats: [
{ say: 'What is an AI agent?', draw: p => {
write('What is an AI agent?', 60, 85, p, { size: 56, color: C.yellow });
} },
{ say: "It's software that uses a language model to think,", draw: p => {
stroke(oval(300, 330, 155, 82), seg(p, 0, .4), { color: C.blue });
write('1. THINK', 300, 328, seg(p, .4, 1), { size: 40, color: C.blue, center: true });
} },
],
})
Install
You need macOS, Node 20 or newer, and ffmpeg (brew install ffmpeg).
git clone https://github.com/haiderfarooq3/khan-explainer ~/.claude/skills/khan-explainer
cd ~/.claude/skills/khan-explainer/scripts && npm install && npx playwright install chromium
Use
Ask Claude Code for the video you want:
Make a 30-second Khan-style explainer on how DNS works.
Draw over these screenshots and show a new user how to send their first invoice.
Khanify this YouTube video: find the best moments and clip them, light and dark.
Or render one of the examples yourself:
cd ~/.claude/skills/khan-explainer
node scripts/render.js examples/ai-agents.js agents.mp4 # blackboard
KHAN_THEME=light node scripts/render.js examples/ai-agents.js light.mp4 # whiteboard
node scripts/render.js examples/ui-tutorial.js tutorial.mp4 # drawn over screenshots
node scripts/render.js examples/arabic.js arabic.mp4 # right-to-left writing
node scripts/render.js examples/languages.js languages.mp4 # one word in eight languages
Each render also prints the path of a contact sheet: the board at the end of every beat, in one image. That sheet is how Claude checks its own layout before it shows you anything.
SKILL.md is the full reference: the scene API, layout rules, the capture recipe for tutorials and the clip pipeline.
Optional extras
- A human voice. Export
ELEVENLABS_API_KEYand addeleven: '<voice id>'to a scene. The script is read in one take and cut back into beats, and takes are cached, so re-rendering the same words is free. - Kokoro, a free local human voice.
pip install kokoro soundfile, thenkokoro: trueon a scene orKHAN_TTS=kokorofor any scene. English, Spanish, French, Hindi, Italian, Japanese, Portuguese and Chinese. - Any language on the board. Arabic, Urdu and Hebrew are written right to left, Hindi, Thai, Chinese, Japanese, Korean, Russian and more left to right, each in a face that writes it properly.
lang: 'ar'on a scene picks the matching voice.node tests/run.jsrenders them all. - Real-audio clips need uv.
scripts/clip_audio.pytranscribes locally with faster-whisper. - The talking-head cutout uses macOS Vision. It builds itself with
swiftcthe first time, which needs the Xcode command line tools.
Credits
Made by Haider Farooq. MIT licensed: use it, change it, ship videos with it.
Not affiliated with or endorsed by Khan Academy. "Khan Academy style" describes the look: handwriting on a board, drawn as it is explained.
Related Skills
Agent-Reach
95.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
75.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
86.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
85.2kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
