Skip to content
Remotion Upgrade

Remotion Upgrade Skill

Remotion's official skill for upgrading a project: run npx remotion upgrade, or move every remotion and @remotion/* package to one version, align zod and Mediabunny, and refresh the Remotion skills.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from remotion-dev/skills.

$ npx skills add remotion-dev/skills --skill remotion-upgrade

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/remotion-upgrade/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/remotion-dev/skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/remotion-upgrade ~/.claude/skills/remotion-upgrade

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/remotion-upgrade/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Detects the package manager and workspaces before changing anything
  • Uses npx remotion upgrade when @remotion/cli is installed
  • Manual path: every remotion and @remotion/* package pinned to one version
  • Aligns zod, mediabunny and @huggingface/transformers with @remotion/studio
  • Refreshes all installed Remotion skills in one command
  • Ends with a diff review and npx remotion versions check

Remotion Upgrade is the maintenance skill in Remotion's official skill set. It tells a coding agent how to move a Remotion project to the latest release without leaving packages on mixed versions, which is the usual cause of broken Remotion builds after an update.

The agent first reads the manifests and lockfile to work out the package manager and any workspaces, and keeps unrelated changes intact. If @remotion/cli is installed locally it runs npx remotion upgrade, which also updates the project's Remotion skills, and stops there.

Without the CLI it upgrades by hand: it looks up the latest stable version with npm view remotion version, sets every installed remotion and @remotion/* dependency to that exact version while respecting the project's dependency sections and workspace or catalog conventions, then reads the dependencies of @remotion/studio at that version and aligns auxiliary packages such as zod, mediabunny (and @mediabunny/*) and @huggingface/transformers to them before refreshing the lockfile. It then updates the installed Remotion skills with one npx skills update command covering the whole set.

It finishes by reviewing the manifest and lockfile diff so that all Remotion packages share one version, runs npx remotion versions as a check when the CLI is available, and can summarise what changed from Remotion's release notes. Versioned with Remotion (4.0.548 at the time of listing) and distributed under the Remotion License.

SKILL.md

The instructions your agent loads, as published by Remotion.

SKILL.md
name
remotion-upgrade
description
Upgrade Remotion, and related packages
version
4.0.548

Upgrade Remotion

  1. Inspect the project manifests and lockfile to identify the package manager and workspaces. Preserve unrelated changes.
  2. Determine whether @remotion/cli is locally available. If it is, run:
   npx remotion upgrade

This also updates project-local Remotion skills. Skip the manual upgrade below.

  1. If @remotion/cli is not available, upgrade manually:
  • Get the latest stable Remotion version with npm view remotion version.
  • Find every installed remotion and @remotion/* dependency across the project and upgrade them all to that exact version. Preserve their dependency sections and the project's workspace or catalog conventions.
  • Read the @remotion/studio dependencies for the target Remotion version using npm view @remotion/studio@<version> dependencies --json. Align installed auxiliary packages such as zod, mediabunny, and @huggingface/transformers with the versions listed there. Use the mediabunny version for installed @mediabunny/* packages.
  • Run the project's package manager to update its lockfile.
  1. If @remotion/cli is not available, update the installed Remotion skills:
   npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-elements remotion-interactivity remotion-license remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-studio remotion-upgrade --yes
  1. Review the manifest and lockfile diff. Ensure all Remotion packages use one version and installed auxiliary packages use their recommended versions. If the CLI is available, run npx remotion versions as an additional check.

The Remotion releases contain the changelog and may be useful for summarizing relevant changes after the upgrade.

Install
New

Remotion's official skill for building an app on top of Remotion: picking a SaaS template, embedding a preview with @remotion/player, and choosing between Node.js, Lambda, Vercel and other server-side rendering options.

Remotion's official skill for writing the React markup of a video: frame-driven animation with interpolate(), Studio-editable timing, media components, built-in visual effects, transitions, captions and fonts.

Browse all skills →