TRIM: edit your videos with Claude. The 4-step setup + 3 prompts
Make three folders, install four free tools with one prompt, show Claude a few reels you love, then drop in your clips and approve the plan before it renders. Here's the 4-step setup, the 3 prompts to copy, and a no-install option if you'd rather do it in your browser.
Affiliate disclosure: this page contains an affiliate link. If you sign up through it, we may earn a commission, at no extra cost to you.
What you need: Claude Code (or another AI coding agent that can run commands on your computer) and a laptop or desktop. The four tools are free and open source. Don't want to install anything? Skip to the browser option.
The four free tools
- FFmpeg: cuts, joins and exports the video.
- Whisper (MIT): turns speech into a timed transcript, so captions land on the right words.
- HyperFrames (Apache-2.0): lets Claude build animated captions, titles and motion as HTML and render them to MP4.
- yt-dlp: downloads a video from a link, for your style examples.
Step 1: Make a folder for your clips, your style and your exports
Create a folder called video-edit with three folders inside: clips, style and exports.- clips: your raw, unedited clips.
- style: a few reels whose look you like.
- exports: where the finished videos land.
Open Claude Code inside the video-edit folder for the next steps.
Step 2: One prompt installs four free tools
Install FFmpeg, Whisper, HyperFrames, and yt-dlp for me.Claude Code asks before it runs each command. Read it, then allow it.
If something fails, these are the install lines from each tool's README: Whisper pip install -U openai-whisper, yt-dlp python -m pip install -U "yt-dlp[default]", HyperFrames skills npx skills add heygen-com/hyperframes (pick "Core Skills"). HyperFrames needs Node.js 22 or newer and FFmpeg. Whisper needs Python.
Step 3: Show it a few reels you love, and it picks up the style
- Put 3 to 5 reels whose look you like into
style. You can paste their links and ask Claude to download them with yt-dlp. - Claude studies the fonts, colors, caption style and transitions, and writes them down as a style sheet you can reuse.
Study the reels in /style and save their look as a style sheet.Use those reels for their look only. Don't reuse someone else's footage, music or logo in your video.
Step 4: Drop in your clips, approve the plan, and it renders
- Copy your phone or camera clips into
clips. - Ask for the edit. Claude shows you a storyboard first (hook, then each part), so you can ask for changes like "captions higher" or "cut the first pause" before anything renders.
- When it looks right, say OK. The finished video lands in
exports.
Edit the clips in /clips to match the style sheet. Show me a storyboard before you render.Watch the result before you post. Captions can mishear names and slang, so read them once. This setup is the method shown in the reel. We haven't run these exact prompts end to end with all four tools, so treat them as a starting point and ask Claude to fix what you don't like.
Don't want to install anything?
OpusClip runs in your browser: upload a video or paste a link, and it reframes it to vertical and adds AI captions. It has a free plan to start (limits below).
No install: start free with OpusClip → Affiliate link
Honest notes and terms
- Needs Claude Code (or another AI coding agent) to install the tools and run the edits on your computer. The four tools themselves are free.
- Rendering happens on your computer. Long or 4K videos can take a while on an older laptop.
- Only edit footage you have the rights to. Style reels are for their look, not their footage.
- OpusClip free plan: 60 credits a month, up to 1080p, auto reframe and AI captions, with a watermark and no editing. After 3 days, clips can no longer be exported. Paid plans: Starter $15 a month (monthly only, 150 credits, removes the watermark, adds filler and silence removal) and Pro $29 a month ($14.50 a month billed yearly). From the official pricing page, checked Nov 29, 2026. Plans can change, so check them before you pay.
- The OpusClip button is an affiliate link. If you upgrade through it, we may earn a commission, at no extra cost to you.
Original sources
- HyperFrames on GitHub (install, requirements)
- Whisper on GitHub
- yt-dlp on GitHub
- FFmpeg
More guides
- 4 free tools that turn one long video into Shorts
- Let Claude break down any viral reel, shot by shot
Made for Instagram Reels. We test new creator shortcuts every week: @decode.lee