TOOLS & SKILLS
Edit Videos with Claude Code: The Complete Remotion Setup 🛠️
Set up your own AI video editor in under 10 minutes using Claude Code and Remotion. No editing software needed. Just Claude and a terminal.
Claude Code can edit videos using Remotion, a React-based video framework. You describe what you want, and Claude builds it frame by frame. Here is exactly how to set it up in six steps. No video editing software needed. Just words in, video out.
Step 1: Install Node.js
Remotion needs Node.js to run. The easiest way to install it is to just ask Claude to do it. Inside Claude Code, type:
Install Node.js on my computer
Claude will handle the entire installation for you. It will figure out your operating system and run the right commands. Just follow any prompts it gives you and approve the install.
Step 2: Open Claude Code
Open the Claude desktop app. In the top left, you will see a dropdown that says "Chat." Click it and select Code. This switches you into Claude Code mode, which gives Claude access to your terminal and file system.
Step 3: Create the Remotion Project
Paste this command into Claude Code and hit enter:
npx create-video@latest
Claude will run this in your terminal. It is going to ask you a few questions. Here is what to pick:
- Project name: type whatever you want (like my-video)
- Template: select Blank
- TailwindCSS: select Yes
- Install Skills: select Yes
Step 4: Install Dependencies and Start the Editor
Once the project is created, go into the project folder, install everything, and start the Remotion Studio (the visual editor). Run these commands one at a time:
cd my-video
npm install
npm run dev
Replace my-video with whatever you named your project in Step 3. After npm run dev runs, Remotion Studio will open in your browser. This is your video editor. Leave it open.
Step 5: Open a New Tab and Start Prompting
Go back to Claude Code. Open a new tab (keep the first one running the studio in the background). Navigate to your project folder again:
cd my-video
Now just tell Claude what video you want. Be specific about what you want to see. If you want to edit an existing video, reference the file from your project folder.
Example Prompts
Create a 10-second intro video with my company name fading in with a blue background, then a tagline sliding in from the bottom.
Take the video at ./public/clip.mp4 and add animated subtitles with a yellow highlight on each word.
Make a 15-second product showcase that zooms into a screenshot, highlights three features with callout boxes, and ends with a call to action.
Step 6: Revisions and Export
Do not like something? Just tell Claude what to change:
Make the text bigger and change the background to dark blue.
Speed up the first transition.
Add a bounce effect when the logo appears.
Claude updates the code and the preview refreshes. Keep going until it looks right.
Export Your Final Video
When you are happy with the result, export it as an MP4:
npx remotion render
This renders the final video file. You can also just ask Claude to "render the video" and it will run the command for you.
That Is It
Six steps. Node.js, Claude Code, create the project, install and start, prompt your video, and export. No video editing software needed. Just words in, video out.
The real unlock of AI agents is not full autonomy, but human-in-the-loop systems design. Structure your agent inputs with explicit constraints, negative prompts, and automated test checkpoints. When building tools, keep token consumption lean by caching system prompts and isolating tasks into specialized sub-agents.