Skip to content
Remotion Multimedia

Remotion Multimedia Skill

Remotion's official skill for reading media metadata with Mediabunny: get an audio file's duration and a video's width, height and duration in the browser, from inside a Remotion project.

GitHub Docs
DevelopmentDesign & Creative
Released
Remotion License

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-multimedia

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-multimedia/, 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-multimedia ~/.claude/skills/remotion-multimedia

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/remotion-multimedia/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

  • Reads media metadata with Mediabunny instead of guessing
  • Recipe: audio file duration in seconds
  • Recipe: video width and height
  • Recipe: video duration in seconds
  • Links Mediabunny's llms.txt capability overview
  • Versioned and updated with the other Remotion skills

Remotion Multimedia is the media-inspection skill in Remotion's official skill set for making videos with React. It points a coding agent at Mediabunny, the browser library for reading and writing audio and video that Remotion uses, so that the agent measures media files instead of guessing their length or size when it builds a composition.

The skill is deliberately small. It links Mediabunny's compact capability overview (its llms.txt) and three bundled recipes: getting the duration of an audio file in seconds, getting the width and height of a video file, and getting the duration of a video file in seconds. Those three numbers are what a Remotion composition usually needs before it can set durationInFrames, size a sequence to a clip or fit footage to the canvas.

It is meant to sit next to the other Remotion skills (best practices, create, render, captions and the rest) rather than to be used alone, and it is updated together with them: Remotion's own upgrade skill refreshes it with npx skills update. The SKILL.md is 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-multimedia
description
Interacting with Mediabunny
version
4.0.548

Mediabunny is a multimedia library for dealing with audio and video in the browser.
Here is a compact overview of its capabilities: https://mediabunny.dev/llms.txt

Getting audio duration

See [get-audio-duration.md](get-audio-duration.md) for getting the duration of an audio file in seconds with Mediabunny.

Getting video dimensions

See [get-video-dimensions.md](get-video-dimensions.md) for getting the width and height of a video file with Mediabunny.

Getting video duration

See [get-video-duration.md](get-video-duration.md) for getting the duration of a video file in seconds with Mediabunny.

Install
New

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.

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.

Browse all skills →