MIT Open-source skill for Claude Code and Codex

Whiteboard videos, written in code.

Give your agent a script. A real hand writes it, draws it, colors it in. Rendered to MP4 for $0.

Made by עסק חכם, an Israeli business-systems studio
turn the sound on

Native Hebrew. Right to left, with narration.

A 36-second brand explainer. The voice-over lands phrase by phrase on the drawing it describes, the music ducks under it, and the hand writes Hebrew the way Hebrew is written.

  • 36s narrated
  • 3 board pages
  • -14 LUFS mix
  • 0 video API calls
  1. Board frame: a handwritten Hebrew title with an orange underline, the hand still writing.
    the hookTitle writes itself in.
  2. Board frame: a buzzing phone full of unread messages, drawn by the hand.
    the problemNotifications pile up.
  3. Board frame: a lead comes in, an arrow, and a bot that answers right away, drawn as icons.
    the fixIcons, drawn stroke by stroke.
  4. Board frame: less chaos, more business, with a green rising chart.
    bottom lineThe chart climbs on cue.

A whole whiteboard studio, in one skill folder.

Handwritten board text: Less chaos. More business. with a yellow highlight.
HelloEnglish, in Caveat שלוםHebrew, Arabic: RTL, auto

Handwriting that writes itself

Letter by letter, with marker jitter on every stroke. Latin goes left to right, Hebrew and Arabic right to left, detected from the text. Ships with Gveret Levin and Playpen Sans Hebrew.

Any icon, drawn by the hand

Hand it a 24x24 SVG path, Lucide-style, and the marker traces it stroke by stroke. One line: svg(ICON_CHAT, x, y, 9).

A hand holding a marker, half on a magenta backdrop and half already keyed onto the board.

Your own hand, keyed

Shoot a hand on magenta. pack_hand.py cuts it out and finds the marker tip on its own.

An AI-generated phone illustration revealed under the hand on the board.

Any AI image, revealed

pack_codex_asset.py keys it and the hand uncovers it.

Narration, in sync

Each spoken phrase lands on the drawing it describes. Use any TTS, or none.

A nearly blank frame, flagged by QA

Visual QA before the render

--grid for a contact sheet, --only for single frames, --qa to catch frozen, blank or flashing frames.

Sound that mixes itself

A marker scratch under every stroke and a whoosh on every camera pan. mix-vo.mjs ducks the music under the voice and normalizes to -14 LUFS.

Outline first. Color second.

Characters come in like a real artist draws them. The hand outlines the figure in black ink, then scribbles flat color into every region, the way a marker actually fills a shape.

  1. The hand outlining a cartoon man holding a phone, in black line art only.
    outline
  2. The same man now colored in with marker scribbles, stressed, with colorful message bubbles.
    scribble-fill
  3. Next page: the hand outlines a happy man giving a thumbs up next to a small robot.
    next page
  4. The finished page: the man and the robot fully colored, with a handwritten title above.
    done
any cartoon pack_color_char.py line art pen paths flat color regions
28 seconds, no sound needed

From script to MP4 in six moves.

Your agent runs the whole pipeline. You approve the script and watch the cut.

  1. 1

    Script

    Three pages: the problem, the solution, the bottom line.

  2. 2

    Board timeline

    Every stroke is a call on a timeline.

    text() path() svg() char() pan()
  3. 3

    Visual QA

    Contact sheet and frame grabs, checked before anything renders.

    render.mjs --qa
  4. 4

    Narration

    Voice-over from any TTS, synced phrase by phrase.

  5. 5

    Render

    Headless Chrome draws each frame, ffmpeg encodes 1080x1920.

  6. 6

    Mix and deliver

    Voice, music and SFX ducked and leveled. Ready for Reels, Shorts, TikTok.

    mix-vo.mjs

Five lines. One page of the board.

No timeline editor, no keyframes. The film is a plain script your agent writes and you can read.

films/my-explainer.htmlCanvas 2D
text({ str: 'Less chaos.', x: 540, y: 420, size: 200, family: HEAD, color: INK, dur: 1.5 });path({ paths: P.arrow(300, 700, 780, 700), color: ORANGE, width: 12, dur: .6 });svg(ICON_CHAT, 540, 1000, 9);   // the hand draws a Lucide-style iconchar({ slug: 'owner-happy', x: 540, y: 1100, hgt: 760, drawDur: 4.6, colorDur: 5 });pan(1920);                       // scroll the board to the next page
  • writes letter by letter
  • a marker arrow
  • traced, not pasted
  • outline, then color
  • whoosh, page two

Rendering costs $0

There is no video model in the loop. Your machine draws every frame, so the render bill is zero no matter how many cuts you make.

Always free

  • Drawing the boardCanvas 2D in headless Chrome$0
  • Rendering to MP4ffmpeg, 1080x1920 by default$0
  • Marker SFX and mixWebAudio plus ffmpeg loudness$0
  • Video-generation APInot needed, not used$0

Optional, bring your own

  • Narrationany TTS you like, or skip ityour call
  • Musica licensed track, or none at allyour call

Install in two lines.

Terminal
git clone https://github.com/malachi-user/whiteboard-video ~/.claude/skills/whiteboard-videocd ~/.claude/skills/whiteboard-video/studio && npm install

then ask:

"Make a 30-second whiteboard video explaining <topic>"

  • Node 22+
  • Chrome or Chromium
  • ffmpeg
  • Python 3 + Pillow, numpy, scipy (asset packing)

Try it without an agent: cd studio && node render.mjs films/starter-en.html

Questions, answered.

Do I need a video-generation API?

No. Every frame is drawn with Canvas 2D in headless Chrome and encoded with ffmpeg on your own machine. There is no video model, no credits and no per-second pricing.

Which TTS does it work with?

Any of them. Generate the voice-over with whatever you already use, cloud or local, and the skill syncs each phrase to its drawing. mix-vo.mjs ducks the music under it and levels the result to -14 LUFS. Silent videos work too.

Does it work in English?

Yes. English writes left to right in a handwriting face like Caveat. Hebrew and Arabic are detected and written right to left, with Gveret Levin and Playpen Sans Hebrew built in for Hebrew.

Can I use my own characters?

Yes. Bring any flat cartoon, from an image model or your own art. pack_color_char.py splits it into line art, pen paths and color regions so the hand outlines it and then scribbles the color in. Other images go through pack_codex_asset.py, and pack_hand.py turns a photo of your own hand into the drawing hand.

Which agents can run it?

Claude Code and Codex. Clone into ~/.claude/skills or ~/.codex/skills and ask for a video. The engine is plain Node, so you can also run render.mjs yourself.

Our community

Bonim BeBina.

"Building with AI": the עסק חכם WhatsApp community for building websites, apps and automations with AI (in Hebrew). Members share skills like this one, guides, new tools and real projects, and ask when they get stuck. Joining is free.

from the team at עסק חכם

Want a video like this for your business?

עסק חכם (Esek Chacham, "Smart Business") turns businesses into smart systems: less overload, more control, more growth. This skill came out of our day-to-day work with businesses, and we share it for free.

  • Explainer videos and content for your business, ready to publish
  • Work systems and processes that give you back hours every week
  • Smart tools and automations that answer leads and customers on time