← All guides

Mohammed Bou-Saber
Mohammed Bou-SaberTested myself · November 2026

Free guide · Reels written in code

How my reels are written in code

I don't edit my reels. Claude writes each one as a web page, and a script films that page frame by frame. Here's my setup, and the free open-source tool that does the same thing: HyperFrames, by HeyGen.

4reels made this way this week
0video editors
30frames filmed per second

Four reels, one method. Tap one to play it.

How one reel gets made

  1. I write the script: 20 to 30 seconds, one idea per sentence.
  2. My cloned voice reads it (see the CLONE guide).
  3. Claude writes one HTML page: one scene per sentence, captions timed to my voice.
  4. A script opens the page in an invisible Chrome window and films it, 30 frames per second.
  5. FFmpeg adds my voice and the sound effects. Out comes a 1080 × 1920 MP4.

Full transparency: my reels run on a small engine Claude wrote for me. HyperFrames is the ready-made, open-source version of the same idea. If I were starting today, that's what I'd install.

What you need

Install HyperFrames in Claude Code

TERMINAL
claude plugin marketplace add heygen-com/hyperframes
claude plugin install hyperframes@hyperframes

Check it's there, then start a new Claude Code session (or run /reload-plugins):

TERMINAL
claude plugin details hyperframes

Your first video

PROMPT FOR CLAUDE CODE
Using /hyperframes:hyperframes, make a 5-second title card that says "Hello world".

Or straight from the command line:

TERMINAL
npx hyperframes init my-video
cd my-video
npx hyperframes preview
npx hyperframes render

Rules I follow on every reel

Before rendering the whole thing, I look at eight still frames. It catches most mistakes in a minute.