remotion-best-practices
Router for all Remotion skills
Install
npx skills add https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/remotion-official
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install digitalsamba-claude-code-video-toolkit@llmmart
git clone https://github.com/digitalsamba/claude-code-video-toolkit.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole digitalsamba/claude-code-video-toolkit collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Preserve user changes
Users may make edits in the code outside of the conversation.
If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.
Creating a video
If the user asks to make, create, or build a new video or composition, load Create a new Remotion video, whether or not a Remotion project already exists.
New project setup
If no Remotion project currently exists, load Create a new Remotion project
React Markup Best Practices
If you are writing Remotion React Markup, load Remotion Markup Best Practices
Maps
For static maps, animated routes and markers, geographic explainers, Mapbox, MapLibre, MapTiler, GeoJSON, or 3D geographic flyovers, load Remotion Maps.
Multimedia
For achieving multimedia tasks in the browser, such as trimming, cropping videos, or getting metadata from them, load Remotion Multimedia
For video matting, background removal, or placing content behind a subject, load Remotion Markup.
Improving Interactivity
By structuring the Remotion markup well, we can allow users to interactively change things in the Studio and write back to code. If relevant: Interactivity Best Practices
Open the preview
If the user asks to "make" a video, "create" a video, etc. Don't render the video by default unless they are very explicit. They want to instead see an interactive preview. As soon as the project can run, start Studio and open the preview in the browser before building or editing the composition. Keep it open while you work so the user can watch progress and steer.
If you are using Cursor
Run Studio without --no-open so it opens the browser automatically:
npx remotion studio
If you are using another agent client with an in-app browser
You can use the command above to let Studio open the browser, or run:
npx remotion studio --no-open
This will start a long-running process and print the server URL for the preview.
If the server is already started, it will print the URL.
If you use --no-open, open the exact printed URL in the in-app browser and verify that Studio loads. Once a composition exists, verify that its video preview loads. If you cannot open it there, run Studio without --no-open.
You can visit a specific composition by navigating to /[composition-id], for example http://localhost:3000/MapAnimation.
The Studio supports WebMCP tools.
If you do not have an in-app browser
This will open the Studio in the browser or refocus it if it is already open.
npx remotion studio
More options
To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load Remotion Studio.
Render the video
Only render if the user is very explicit in asking for it.
E.g. "Render the video", "Export", "Give me the MP4".
The preview also has a more intuitive rendering interface, so consider using it instead of the command line for rendering.
npx remotion render
For more options, see Rendering.
For advanced rendering beyond simple npx remotion render, see: Rendering Best Practices
Captions
When working with Captions, load Remotion Captions.
Creating a SaaS, automation or application
Use the Remotion SaaS skill for knowledge about Remotion-powered SaaS apps, such as <Player>, rendering on Lambda, Vercel, Cloudflare, via Express.js, client-side rendering, or for finding the right SaaS template.
Looking up Remotion APIs and documentation
To find and read current Remotion documentation, load Remotion Docs.
Licensing
For Remotion license information, FAQs, terms, or buying a license, load Remotion License.
Upgrading
To upgrade Remotion, related packages, compatible Mediabunny packages, and installed Remotion Agent Skills, load Remotion Upgrade.
Files (claude-code-video-toolkit)
-
agents
-
openai.yaml 311 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
remotion-captions
-
agents
-
openai.yaml 305 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
display-captions.md 5.8 KB
Loading… -
import-srt-captions.md 2.2 KB
Loading… -
REFERENCE.md 1.1 KB
Loading… -
transcribe-captions.md 5.4 KB
Loading…
-
-
remotion-create
-
agents
-
openai.yaml 310 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 2.9 KB
Loading… -
tailwind.md 386 B
Loading… -
video-layout.md 498 B
Loading…
-
-
remotion-docs
-
agents
-
openai.yaml 307 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 1.3 KB
Loading…
-
-
remotion-interactivity
-
agents
-
openai.yaml 320 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
inline-effects.md 993 B
Loading… -
REFERENCE.md 13.5 KB
Loading… -
timeline-structure.md 6.9 KB
Loading…
-
-
remotion-license
-
agents
-
openai.yaml 300 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 484 B
Loading…
-
-
remotion-maps
-
agents
-
openai.yaml 293 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
techniques
-
cesium
-
assets
-
cesium-path.json 12 KB
Loading… -
CesiumFlythrough.tsx 8.7 KB · in bundle
-
city-path.json 223 B
Loading… -
example-Root.tsx 923 B · in bundle
-
flight-path.ts 1.2 KB
Loading… -
sample-river.geojson 6.3 KB · in bundle
-
-
references
-
3d-data-sources.md 1.4 KB
Loading… -
3d-flyover-architecture.md 7.7 KB
Loading… -
3d-troubleshooting.md 6.6 KB
Loading…
-
-
scripts
-
prep-cesium-path.mjs 5.4 KB · in bundle
-
-
TECHNIQUE.md 3.8 KB
Loading…
-
-
mapbox
-
references
-
render-stability.md 3.6 KB
Loading…
-
-
TECHNIQUE.md 12.8 KB
Loading…
-
-
maplibre
-
references
-
render-stability.md 3.6 KB
Loading…
-
-
TECHNIQUE.md 13.5 KB
Loading…
-
-
maptiler
-
assets
-
sample-data
-
country-meta.json 325.3 KB
Loading… -
yarlung-flow.json 12.8 KB
Loading…
-
-
CountryLabel.tsx 1.8 KB · in bundle
-
example-Root.tsx 1 KB · in bundle
-
MapTilerVectorElement.ts 2.1 KB
Loading… -
RiverReveal.tsx 10.6 KB · in bundle
-
tokens.ts 1.2 KB
Loading…
-
-
references
-
map-data-sources.md 4.7 KB
Loading… -
map-explainer-architecture.md 6.7 KB
Loading… -
map-geo-prep.md 4 KB
Loading… -
render-stability.md 3.6 KB
Loading…
-
-
scripts
-
prep-geo.mjs 7.4 KB · in bundle
-
-
TECHNIQUE.md 4.4 KB
Loading…
-
-
static-map
-
TECHNIQUE.md 1.1 KB
Loading…
-
-
-
REFERENCE.md 1 KB
Loading…
-
-
remotion-markup
-
agents
-
openai.yaml 310 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
remotion-maps
-
agents
-
openai.yaml 293 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
techniques
-
cesium
-
assets
-
cesium-path.json 12 KB
Loading… -
CesiumFlythrough.tsx 8.7 KB · in bundle
-
city-path.json 223 B
Loading… -
example-Root.tsx 923 B · in bundle
-
flight-path.ts 1.2 KB
Loading… -
sample-river.geojson 6.3 KB · in bundle
-
-
references
-
3d-data-sources.md 1.4 KB
Loading… -
3d-flyover-architecture.md 7.7 KB
Loading… -
3d-troubleshooting.md 6.6 KB
Loading…
-
-
scripts
-
prep-cesium-path.mjs 5.4 KB · in bundle
-
-
TECHNIQUE.md 3.8 KB
Loading…
-
-
mapbox
-
references
-
render-stability.md 3.6 KB
Loading…
-
-
TECHNIQUE.md 12.8 KB
Loading…
-
-
maplibre
-
references
-
render-stability.md 3.6 KB
Loading…
-
-
TECHNIQUE.md 13.5 KB
Loading…
-
-
maptiler
-
assets
-
sample-data
-
country-meta.json 325.3 KB
Loading… -
yarlung-flow.json 12.8 KB
Loading…
-
-
CountryLabel.tsx 1.8 KB · in bundle
-
example-Root.tsx 1 KB · in bundle
-
MapTilerVectorElement.ts 2.1 KB
Loading… -
RiverReveal.tsx 10.6 KB · in bundle
-
tokens.ts 1.2 KB
Loading…
-
-
references
-
map-data-sources.md 4.7 KB
Loading… -
map-explainer-architecture.md 6.7 KB
Loading… -
map-geo-prep.md 4 KB
Loading… -
render-stability.md 3.6 KB
Loading…
-
-
scripts
-
prep-geo.mjs 7.4 KB · in bundle
-
-
TECHNIQUE.md 4.4 KB
Loading…
-
-
static-map
-
TECHNIQUE.md 1.1 KB
Loading…
-
-
-
REFERENCE.md 1 KB
Loading…
-
-
3d.md 2.2 KB
Loading… -
arabic-text.md 4.4 KB
Loading… -
audio-visualization.md 4.8 KB
Loading… -
audio.md 4 KB
Loading… -
calculate-metadata.md 3.4 KB
Loading… -
color-correction.md 7.3 KB
Loading… -
compositions.md 5 KB
Loading… -
connected-compositions.md 3.4 KB
Loading… -
cropping.md 1.3 KB
Loading… -
effects.md 10.6 KB
Loading… -
embedding-videos.md 3.6 KB
Loading… -
ffmpeg.md 1.1 KB
Loading… -
gifs.md 3.7 KB
Loading… -
google-fonts.md 1.7 KB
Loading… -
html-in-canvas.md 2.9 KB
Loading… -
images.md 1.5 KB
Loading… -
light-leaks.md 3.1 KB
Loading… -
local-fonts.md 1.5 KB
Loading… -
lottie.md 1.8 KB
Loading… -
measuring-dom-nodes.md 995 B
Loading… -
measuring-text.md 2.7 KB
Loading… -
motion-blur.md 2 KB
Loading… -
multi-scene-video.md 1 KB
Loading… -
parameters.md 2.3 KB
Loading… -
REFERENCE.md 13.5 KB
Loading… -
sequencing.md 1.3 KB
Loading… -
sfx.md 1.8 KB
Loading… -
silence-detection.md 2.5 KB
Loading… -
text-highlights.md 1.8 KB
Loading… -
timing-props.md 3.3 KB
Loading… -
timing.md 3.2 KB
Loading… -
transitions.md 8.6 KB
Loading… -
video-editing.md 5.7 KB
Loading… -
video-matting.md 3.3 KB
Loading… -
voiceover.md 3.6 KB
Loading…
-
-
remotion-multimedia
-
agents
-
openai.yaml 317 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
get-audio-duration.md 1.5 KB
Loading… -
get-video-dimensions.md 1.8 KB
Loading… -
get-video-duration.md 1.4 KB
Loading… -
REFERENCE.md 705 B
Loading…
-
-
remotion-render
-
agents
-
openai.yaml 286 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 1.1 KB
Loading… -
transparent-videos.md 2.2 KB
Loading…
-
-
remotion-saas
-
agents
-
openai.yaml 283 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
framework.md 908 B
Loading… -
player.md 942 B
Loading… -
REFERENCE.md 1 KB
Loading… -
rendering.md 3.3 KB
Loading…
-
-
remotion-studio
-
agents
-
openai.yaml 237 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 1.6 KB
Loading…
-
-
remotion-upgrade
-
agents
-
openai.yaml 282 B
Loading…
-
-
assets
-
remotion-icon.svg 1.3 KB · in bundle
-
-
REFERENCE.md 1.9 KB
Loading…
-
-
SKILL.md 4.4 KB
--- name: remotion-best-practices description: Router for all Remotion skills version: 4.0.542 --- ## Preserve user changes Users may make edits in the code outside of the conversation. If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation. ## Creating a video If the user asks to make, create, or build a new video or composition, load [Create a new Remotion video](./remotion-create/REFERENCE.md), whether or not a Remotion project already exists. ## New project setup If no Remotion project currently exists, load [Create a new Remotion project](./remotion-create/REFERENCE.md) ## React Markup Best Practices If you are writing Remotion React Markup, load [Remotion Markup Best Practices](./remotion-markup/REFERENCE.md) ## Maps For static maps, animated routes and markers, geographic explainers, Mapbox, MapLibre, MapTiler, GeoJSON, or 3D geographic flyovers, load [Remotion Maps](./remotion-maps/REFERENCE.md). ## Multimedia For achieving multimedia tasks in the browser, such as trimming, cropping videos, or getting metadata from them, load [Remotion Multimedia](./remotion-multimedia/REFERENCE.md) For video matting, background removal, or placing content behind a subject, load [Remotion Markup](./remotion-markup/REFERENCE.md). ## Improving Interactivity By structuring the Remotion markup well, we can allow users to interactively change things in the Studio and write back to code. If relevant: [Interactivity Best Practices](./remotion-interactivity/REFERENCE.md) ## Open the preview If the user asks to "make" a video, "create" a video, etc. Don't render the video by default unless they are very explicit. They want to instead see an interactive preview. As soon as the project can run, start Studio and open the preview in the browser before building or editing the composition. Keep it open while you work so the user can watch progress and steer. ### If you are using Cursor Run Studio without `--no-open` so it opens the browser automatically: ```bash npx remotion studio ``` ### If you are using another agent client with an in-app browser You can use the command above to let Studio open the browser, or run: ```bash npx remotion studio --no-open ``` This will start a long-running process and print the server URL for the preview. If the server is already started, it will print the URL. If you use `--no-open`, open the exact printed URL in the in-app browser and verify that Studio loads. Once a composition exists, verify that its video preview loads. If you cannot open it there, run Studio without `--no-open`. You can visit a specific composition by navigating to `/[composition-id]`, for example `http://localhost:3000/MapAnimation`. :::note The Studio supports WebMCP tools. ::: ### If you do not have an in-app browser This will open the Studio in the browser or refocus it if it is already open. ```bash npx remotion studio ``` ### More options To launch a project in Remotion Studio, open its exact local URL, or configure Studio CLI flags, load [Remotion Studio](./remotion-studio/REFERENCE.md). ## Render the video Only render if the user is very explicit in asking for it. E.g. "Render the video", "Export", "Give me the MP4". The preview also has a more intuitive rendering interface, so consider using it instead of the command line for rendering. ``` npx remotion render ``` For more options, see [Rendering](./remotion-render/REFERENCE.md). For advanced rendering beyond simple `npx remotion render`, see: [Rendering Best Practices](./remotion-render/REFERENCE.md) ## Captions When working with Captions, load [Remotion Captions](./remotion-captions/REFERENCE.md). ## Creating a SaaS, automation or application Use the [Remotion SaaS skill](./remotion-saas/REFERENCE.md) for knowledge about Remotion-powered SaaS apps, such as `<Player>`, rendering on Lambda, Vercel, Cloudflare, via Express.js, client-side rendering, or for finding the right SaaS template. ## Looking up Remotion APIs and documentation To find and read current Remotion documentation, load [Remotion Docs](./remotion-docs/REFERENCE.md). ## Licensing For Remotion license information, FAQs, terms, or buying a license, load [Remotion License](./remotion-license/REFERENCE.md). ## Upgrading To upgrade Remotion, related packages, compatible Mediabunny packages, and installed Remotion Agent Skills, load [Remotion Upgrade](./remotion-upgrade/REFERENCE.md).
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.