Free guide

Edit Your Videos with Claude Code

Build a video editor in a folder on your laptop. Claude transcribes, finds the cuts, adds captions in your style and only renders when you say yes.

Time
About 45 minutes to set up, mostly downloads
Cost
The editing tools are free. Claude Code needs a paid Claude plan.
Tools
Claude Code, FFmpeg, Whisper, Remotion
Updated

Editing is the part of making videos most people dread. Not the creative part. Cutting out every “umm”, fixing the captions, exporting three times because one word was wrong.

So hand that part to an editor that lives in a folder on your laptop. You drop in a raw clip and type /edit. It transcribes the clip, shows you where it wants to cut, and waits. You say yes or change things. It shows you a preview. Only when you’re happy does it render the final video.

This guide shows you how to build the same thing.

How it works

Four free tools do the work. Claude Code is the editor who uses them:

  • Whisper listens and writes a transcript with exact timings.
  • FFmpeg does the cutting, joining and exporting.
  • Remotion makes captions and simple graphics with code, so they look the same every time.
  • Claude Code reads the transcript, decides the cuts, writes the instructions for the other three, and checks with you.

Plus two files that make it your editor:

  • STYLE.md: how your videos look and feel. Pace, captions, colours, hooks.
  • CLAUDE.md: the house rules. What it may do alone, and what it must ask you first.

What you need

  • A Mac. These steps are written for a Mac. On Windows, use WSL and swap Homebrew for your package manager.
  • Claude Code, with a paid Claude plan. Install it from the official setup page. The free Claude plan doesn’t include Claude Code.
  • Homebrew, the Mac package installer, from brew.sh.
  • About 5 GB of free space and 45 minutes, mostly waiting for downloads.
  • 3 to 5 of your own finished videos you’re proud of, to teach it your style.

Step 1: Make the editing folder

In Terminal:

mkdir -p ~/video-editor
cd ~/video-editor
brew install ffmpeg node
claude

Keep this folder out of iCloud Drive, Dropbox and Google Drive. Video files in synced folders get uploaded, offloaded and locked while the editor is using them. It’s the number one reason this breaks.

The rest is free

Unlock the full guide

Tell me your first name and email and the rest of this guide opens right here. You’ll also get every new free guide as it comes out.

Step 2: The setup prompt

Paste this into Claude Code. It builds the whole editor and asks you before it installs anything.

Set up this folder as my personal short-form video editor. Ask me before installing anything.

1. Folders:
   raw/      my original clips. Never modify or delete these.
   work/     temporary files.
   exports/  finished videos.
   brand/    my fonts, logo and colours.
   music/    tracks I have the rights to use.

2. Tools: check ffmpeg, node and python3 are installed. Install Whisper for local
   transcription (pick the simplest reliable option for my Mac and tell me which).
   Create a Remotion project in captions/ for captions and simple title cards.

3. Scripts (in scripts/, each with a one-line comment saying what it does):
   transcribe:  raw clip -> word-level transcript with timestamps (work/<name>.json)
   proxy:       make a small 720p copy for fast previews
   cut:         apply a cut list to a clip with ffmpeg
   captions:    render captions from the transcript with Remotion, in my brand style
   render:      join everything and export 1080x1920 MP4 to exports/

4. Write CLAUDE.md with these house rules:
   - Never touch raw/. Work on copies.
   - Always show me the cut list before cutting.
   - Always make a low-resolution preview before the final render.
   - Never render the final video without my "yes".
   - Only use music from music/. Never download music or other people's videos.
   - Ask before using any paid tool or API.

5. Test everything on a 10-second clip you generate yourself, then tell me what works.

Say yes to each install as it asks. When it’s done, restart Claude Code (type /exit, then claude again) so it reads the new rules.

Step 3: Teach it your style

Copy 3 to 5 of your best finished videos into a new folder called style-examples. Your own videos only. Then:

Watch the videos in style-examples/ (transcribe them and sample frames with ffmpeg).
Write STYLE.md describing my style:
- How long my hooks are and what they do in the first 2 seconds
- How often I cut, and what I cut (pauses, repeats, filler words)
- Caption style: words per line, position, size, colours, emphasis
- Pace and energy
- How I end videos
Keep it under one page. Show me before saving.

Read it carefully. Fix anything that’s wrong. This file is what makes it edit like you and not like everyone else.

Good style notes are specific. For example:

- Hook: say the result in the first sentence. No "hey guys".
- Cut every pause over 0.4 seconds. Keep one breath before the punchline.
- Captions: 3 words per line max, centre of the screen, key word in yellow.
- End on the line, not on a goodbye. Cut the last second of silence.

Put your brand colours and fonts in brand/ and tell it to use them for captions.

Step 4: Make the /edit command

Claude Code lets you save a prompt as a command. Ask it:

Create a project command called /edit in .claude/commands/edit.md that does this, stopping where marked:

1. Take the newest clip in raw/ (or the one I name).
2. Make a proxy and a transcript.
3. Write a cut list: what to remove (pauses over 0.4s, retakes, filler words, false starts)
   and why, as a table with timestamps. STOP and wait for my yes or changes.
4. Cut the proxy and add captions following STYLE.md. Open the preview. STOP and wait.
5. On my yes, render the full-quality version to exports/ and tell me the file name.

Step 5: Edit your first video

Drop a raw clip into raw/, open Claude Code in the folder, and type:

/edit

Read the cut list. Change what you don’t like in plain words: “keep the bit where I laugh”, “cut the first sentence”, “tighter at the end”. Then look at the preview on your phone, because that’s where people will watch it.

Every time you correct it, finish with:

Add what you learned from my changes to STYLE.md.

That’s how it gets better. After a few videos, you’ll change less and less.

When it goes wrong

  • It’s very slow. You’re editing 4K. The proxy step is there for this. Make sure previews use the proxy.
  • Files vanish or won’t open. The folder is in iCloud or Dropbox. Move it.
  • Captions are out of sync. Re-run the transcript on the cut version, not the original.
  • It rendered without asking. Check CLAUDE.md still has the “never render without my yes” rule, and restart Claude Code.
  • It wants to download a song or someone’s reel. Say no. Use music you have a licence for, and only your own footage.

Want more like this?

Every new guide goes to my list first. When my courses and paid skills open, the list hears about them first too. If you unlocked this guide, you’re already on it.