⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

khan-explainer

@haiderfarooq3⭐ 59 stars

Use when the user wants a Khan Academy style explainer video, a blackboard or whiteboard lesson, a hand-drawn chalk-talk animation, a short narrated video that teaches a concept ("explain X in a video", "explainer video", "teach X in 30 seconds"), or a tutorial that draws hand-written arrows, circles and captions over product screenshots ("draw over the UI", "annotated walkthrough"), or clips cut from a YouTube video or podcast where the speaker's real audio plays under a blackboard drawn to it ("khanify this video", "clip this with the Khan visual"), especially when it must be free, local, and use no paid APIs or keys. macOS only.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 59 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

khan-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

The same scene on the blackboard and on the whiteboard

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

ModeWhat you get
Blackboard lessonA diagram drawn stroke by stroke while the voice explains it.
Draw-over-UI tutorialArrows, circles and numbered steps drawn over your product screenshots.
Real-audio clipA 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_KEY and add eleven: '<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, then kokoro: true on a scene or KHAN_TTS=kokoro for 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.js renders them all.
  • Real-audio clips need uv. scripts/clip_audio.py transcribes locally with faster-whisper.
  • The talking-head cutout uses macOS Vision. It builds itself with swiftc the 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.

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

59 stars