Remotion is a React framework that turns components into video files. Claude Code writes the components for you. We followed this guide on a fresh project: we created a Remotion project, added Remotion's official skills for Claude, asked for a 15-second explainer about invoice automation, then asked for one change. Here is the video, the exact prompts, and what each step took.
The result
Time and cost
| First video (step 3) | One change (step 4) | |
|---|---|---|
| Time | About 1.5 minutes (17 turns) | About 1 minute (14 turns) |
| Cost | About $0.56 | About $0.85 |
| What Claude did | Loaded the Remotion skill, added the font, wrote the video, checked still frames, rendered | Edited the video file, checked still frames, rendered again |
The costs are what Claude Code reported at API prices for our single run of each prompt. On a Claude subscription the same work counts toward your usage instead. Rendering the 15-second video took about 12 seconds on a 4-core desktop CPU, with no GPU.
Before you start
- Claude Code installed and signed in
- Node.js 20.19 or newer, or 22.13 or newer. That is what a new Remotion project asks for.
- No React knowledge needed to follow along. It helps if you want to adjust the code by hand.
Create a Remotion project
It asks a few questions. We took the defaults: template Blank, and Install all skills when it asks about agent skills. It then installs the packages, which took about 35 seconds for us. The last question offers to open the project in Cursor; you can say no. Then:
To skip the questions, for example in a script: npx create-video@latest --yes --blank --skills my-video.
Check the Remotion skills
Remotion maintains official skills that teach Claude its components, animation and rendering. If you chose Install all skills in step 1, they are already there: 14 skills in .agents/skills, which Claude Code finds through a .claude/skills link that the installer creates. The main one, remotion-best-practices, tells Claude which of the others to read for the task.
For an existing project, or if you skipped them:
Licence: Remotion is free for individuals, for companies with up to 3 employees, and for non-profits. Larger for-profit companies need a company licence. Check the current terms on remotion.dev/docs/license.
Ask for your first video
In Claude Code, describe the video scene by scene, with timings. This is the prompt we used, word for word:
In our run Claude loaded the remotion-best-practices skill and read its guides, added the Nunito font with npx remotion add @remotion/google-fonts, wrote the video in src/InvoiceVideo.tsx and registered it in src/Root.tsx under the ID InvoiceAutomation. It then rendered still frames with npx remotion still, looked at them, and rendered the MP4. It added one thing we didn't ask for, the word "accounts" in the accent colour, and said so.
To preview and render the video yourself:
Use your own composition ID in place of InvoiceAutomation. Claude tells you what it called it, and npx remotion compositions lists them all. npm run dev is the same as npx remotion studio.
Ask for changes
Everything is code, so you change the video by asking for what you want, in the same Claude Code session. Our follow-up prompt, word for word:
Claude edited the one video file, checked three still frames, made the icons a little bigger after looking at them, and rendered again. Compare the second and third images above. Each change is a code change, so you can review it and keep it in git (the project starts as a git repository).
Other requests in the same style (we didn't run these):
More ideas (not tested by us)
One template, many videos
Remotion components take props, so one template can render many versions from data:
Code walkthroughs
Animated reports
Tips
- Give timings. Say how long each scene lasts. Claude turns seconds into frames for you.
- Give your brand. Hex colours, font names and logo paths in the prompt.
- Ask Claude to check frames. Ours rendered stills with
npx remotion stilland looked at them before rendering the full video. If yours doesn't, ask for it. - Start simple. Get the scenes and timing right, then add effects.
- Preview in Studio.
npm run devshows changes as Claude saves them.
Troubleshooting
"Could not find composition with ID …"
The ID in your render command doesn't match the one in src/Root.tsx. The error message lists the IDs that exist, for example Available compositions: MyComp, InvoiceAutomation. MyComp is the empty placeholder from the Blank template.
"Port 3000 is busy, trying another"
Remotion Studio moves to the next free port by itself. Open the address it prints, such as http://localhost:3001.
Claude keeps asking before it renders
Claude Code asks before running a new command. Allow npx remotion commands once and say not to ask again, or add Bash(npx remotion *) to the allowed tools in the project's .claude/settings.json. That rule covers single commands only: in our run, a render joined to another command with && still needed approval, and Claude ran the render on its own instead.
Claude doesn't seem to use the skills
Check that .claude/skills exists in the project and lists the remotion-… folders, and that you started claude in the project folder. If they're missing, run npx remotion skills add.
What's next? You can keep video scripts as notes and have Claude turn them into compositions. See Claude Code with Obsidian.
Credits
- Remotion, under its own licence (see above).
- remotion-dev/skills, the official Remotion skills.
More tutorials: all tutorials, including diagrams with Excalidraw and Claude Code with Obsidian.
Tested on 28 November 2026 with Claude Code 2.1.332 on Ubuntu, Node.js 22.18, Remotion 4.0.547 (create-video 4.0.547), and remotion-dev/skills at commit a3f4098.