Claude Β· Workflows

Edit your videos with Remotion and Claude Code

Install Remotion, create an editing skill, iterate by prompt. The pipeline to produce videos in code, not on a timeline.

QQuentin Megevand
May 24, 2026 Β· 5 min read

Before you start

Remotion is an open-source library that lets you create videos with code (React + TypeScript). Combined with Claude Code, you can ask Claude to edit your videos right from VS Code: captions, transitions, animations, clip assembly.

No more editing software. You describe what you want, Claude writes the Remotion code, and you get your final video back as an MP4.

Claude AI Lab

The Claude AI Lab is my Skool community where I share my Claude systems and the more advanced modules. Entry is free.

Join the Lab β†’
πŸ“‹What you'll need
1
Claude Code installed in VS Code. If you haven't done it yet, follow my guide "Install Claude Code in VS Code" (available on my Instagram).
2
Node.js (version 18 or higher). Remotion runs on Node.js. Check your version with node --version in the terminal.
3
ffmpeg installed. Remotion uses ffmpeg to encode videos. Install it with brew install ffmpeg (Mac) or from ffmpeg.org (Windows).
4
Some video clips to edit. Your video files (.mp4, .mov) ready in a folder inside your project. Claude will assemble and edit them for you.
Why Remotion?

Traditional editing software (Premiere, DaVinci, CapCut) takes time and practice. Remotion turns editing into code, and Claude Code knows how to write code. The result: you describe your video in plain English, Claude edits it.

1

Install Remotion in your project

βš™οΈ5 steps to set up Remotion and make it accessible to Claude Code
1
Create a new Remotion project. Open your terminal in VS Code and type: npx create-video@latest mon-projet-video. Remotion will create a folder with the whole structure you need.
2
Open the project in VS Code. Go to File β†’ Open Folder and select the mon-projet-video folder. Claude Code will automatically see every file in the project.
3
Install the dependencies. In the terminal, run npm install. This installs Remotion and all the libraries it needs (React, video codecs, etc.).
4
Test the preview. Run npx remotion studio to open Remotion Studio in your browser. You'll see a real-time preview of your video. That's where you check the render before exporting.
5
Add your video clips. Create a public/clips/ folder in your project and drop your video files in it (.mp4, .mov). Remotion can access them directly in the code.
🎯Tip
β†’
If you already have a project with Claude Code, you can add Remotion to it with npm install remotion @remotion/cli @remotion/player instead of creating a new project.
2

Create a video editing skill

πŸ’‘What's a skill?

A skill is an instructions file Claude follows to carry out a recurring task. A SKILL.md file you place in .claude/skills/: it describes step by step what Claude should do when you invoke it. For video editing, the skill tells Claude how to cut the clips, add captions, apply transitions, and render the final video.

βš™οΈHow do you create it?
1
Create the skill folder. In your project, create the path .claude/skills/montage-video/.
2
Create the SKILL.md file. Create a SKILL.md file in that folder. It's the brain of the skill.
3
Write the instructions. Spell out exactly what Claude should do: read the clips, assemble them, add captions, render to MP4.
πŸ“„SKILL.md example

Trigger β€” when the user provides video clips and asks for an edit. Steps: 1. Read the clips in public/clips/ β€” 2. Transcribe the audio with Whisper (if needed) β€” 3. Create the Remotion React components β€” 4. Add animated captions β€” 5. Apply transitions between clips β€” 6. Render the video with npx remotion render.

3

Use the skill and improve it

πŸš€Run your first edit
1
Put your clips in the project. Drop your video files into public/clips/. You can also drag them straight into VS Code.
2
Ask Claude for the edit. In the Claude Code chat, type something like: "Edit these clips into a 60-second video with captions and smooth transitions."
3
Check the preview. Claude will offer to run npx remotion studio so you can see the result. Watch the render and give your feedback.
πŸ”Give feedback that works
🎯
Be specific in your feedback
Instead of saying "it's not good", say "the captions are too small, make them size 60 and white with a black outline". The more concrete your feedback, the faster Claude fixes it.
πŸ”„
Ask Claude to update the skill
When you like an adjustment, say "add this rule to SKILL.md". Claude updates the instructions so the next edit picks up that feedback automatically. The skill gets better every time you use it.
πŸ› οΈ
Iterate until it's perfect
You can relaunch the preview as many times as you want. Each iteration takes a few seconds. Tweak the colors, the transition durations, the caption placement, the pacing of the edit. It's like having an instant video editor.
🎯Pro tip
β†’
Tell Claude "remember that I prefer captions at the bottom, white, size 48". It will add it to your Claude memory and apply it automatically to every future edit.

Example prompts for your edit

Here are some concrete examples you can send to Claude Code to get different types of edits with Remotion.

🎞️
Instagram Reel with captions
"Take the 3 clips in public/clips/, assemble them in vertical 1080x1920 format, add word-by-word captions in TikTok style (colored background, per-word animation), and render it all as an MP4 of 60 seconds max."
🎨
Video with intro and outro
"Create a 3-second intro with my logo (public/logo.png) on a purple background, then roll into my clips, and end with an outro showing my handle @quentin_iamarketing. Fade transitions between each clip."
✏️
Fix and iterate
"The captions are too fast, slow them down by 20%. Bump the font size up to 56px. And add a slight 5% zoom-in on each clip to give it some motion. Update SKILL.md with these preferences."
πŸš€
Export the final video
"I like the preview. Render the final video as an MP4, high quality, 1080x1920 format. Put the file in output/video-finale.mp4."
The virtuous circle

With every edit, your skill gets richer with your preferences. After 3-4 videos, Claude knows your style by heart: format, colors, transitions, caption placement. Editing becomes almost automatic.

Want to go further?

And day-to-day, I post one reel a day on Instagram: @quentin_iamarketing