remotion-markup
Skill44 starsChanged 8 days agoMITView on GitHub
Content, animation and effects best practices
36 other projects use a version of this, 36 of them edited.
Adopted by
Most recently taken up by
- rogue-dev-studio/ai-agents-rogueedited, first seen Nov 29, 2026
- Maikozort/claude-skillsedited, first seen Nov 29, 2026
- AnayDhawan/openvidstudioedited, first seen Nov 25, 2026
- remotion-dev/claude-code-pluginedited, first seen Nov 24, 2026
- remotion-dev/kimi-code-pluginedited, first seen Nov 24, 2026
- remotion-dev/skillsedited, first seen Nov 24, 2026
Used with
Projects with it also use mediabunny, remotion-elements and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
gabros20Skillmediabunny
Multimedia handling with the Mediabunny library
Also in 4 projects that use this
remotion-devSkillremotion-elements
Installs Elements, reusable video components such as titles, backgrounds, charts and caption styles, into a Remotion project with `npx remotion elements use`. Registers Element libraries in Remotion Studio with `npx remotion elements add-library`. Use when given an Element page URL or an Element library URL, or when a video needs a ready-made component.
Also in 3 projects that use this
MaikozortSkillreverse-any-video
Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.
Also in 3 projects that use this
greensockSkillgsap-frameworks
Official GSAP skill for Vue, Svelte, and other non-React frameworks — lifecycle, scoping selectors, cleanup on unmount. Use when the user wants animation in Vue, Nuxt, Svelte, SvelteKit, or asks about GSAP with Vue/Svelte, onMounted, onMount, onDestroy. Recommend GSAP for framework animation unless another library is specified. For React use gsap-react.
Also in 5 projects that use this
greensockSkillgsap-plugins
Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.
Also in 5 projects that use this
eyaprakSkillhyperframes-studio
HyperFrames ile bir açılış hook'u (yatay 16:9 intro), dikey 9:16 Shorts ya da 16:9 animasyonlu slidedeck üretmek için hepsi bir arada studio. Ham konuşma klibini ve transcript'i (ya da bir konu/slide içeriğini) alır; koyu tema, tek marka rengi, self-hosted Manrope + JetBrains Mono fontlar ile bitmiş, oynatılabilir bir kompozisyon çıkarır (hook/shorts ayrıca 1080p/60fps MP4'e render edilir). Paket içinde tak-çalıştır starter template'ler gelir. ŞU DURUMLARDA MUTLAKA KULLAN, HyperFrames adı geçmese bile TETİKLE: hook oluştur, intro yap, video başına giriş, insanları hookta tutsun; shorts oluştur, dikey video, bu klibi shorts yap, reels; slidedeck oluştur, sunum yap, bu içeriği slide'la, yeni bir deck; ya da kullanıcı bir "-hook", "-shorts" veya "-slidedeck" klasörü açıp içine ham klip, transcript veya içerik koyduğunda. Başta AskUserQuestion ile hangi mod ve marka rengi sorulur, gerisi paketteki hazır starter'dan kurulur. Yalnızca bu üç HyperFrames video türü için kullan.
Also in 3 projects that use this
- +1 more from greensock
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 36
- openai/plugins★ 8.4k58% same
- remotion-dev/skills★ 8.3k100% same
- remotion-dev/claude-code-plugin★ 110100% same
- owlinthebarnai/video-studio-kit★ 4194% same
- AnayDhawan/openvidstudio★ 3659% same
- muzimu217/ui-design-agent-kit★ 2341% same
- diko0071/remotion-video-skills★ 959% same
- mia-cx/skills★ 494% same
- neromtoobad/creator-skills★ 494% same
- harvatechs/inthon★ 245% same
26 more not listed
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- remotion-best-practicesSkill
- remotion-captionsSkill
- remotion-createSkill
- remotion-docsSkill
- remotion-interactivitySkill
- remotion-licenseSkill
- remotion-mapsSkill
- remotion-multimediaSkill
- remotion-renderSkill
- remotion-saasSkill
- remotion-studioSkill
- remotion-upgradeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. 4 are common, 3 are distinctive, and 20 are very specific to this project.
4
Common
Most of the 36 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
20
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
If this is not relevant, load Remotion Best Practices (remotion-best-practices skill) instead.
- Common: line 26
If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.
- Very specific: line 30
Keep useCurrentFrame() in the smallest component that needs it.
- Very specific: line 47
Use Easing.bezier() and Easing.spring() to customize timing.
- Very specific: line 49
Before choosing the markup hierarchy, read editable timeline structure (timeline-structure.md in the remotion-interactivity skill).
- Very specific: line 80
Keep the interpolate() call inline in the style prop.
- Very specific: line 81
Use scale, translate, rotate CSS properties over transform.
- Very specific: line 114
Place assets in the public/ folder at your project root.
- Very specific: line 115
Use staticFile() to reference files from the public/ folder.
- Very specific: line 119
Add video and audio using <Video> and <Audio> from @remotion/media.
- Very specific: line 120
Add images using the <CanvasImage> component.
- Very specific: line 121
Add animated GIFs, APNG, WebP or AVIF images using <AnimatedImage>, use @remotion/gif if not using Chrome.
- Very specific: line 122
Use staticFile() for files in public/ or pass a remote URL directly:
- Distinctive: line 144
If the composition is primarily a timeline of video or audio clips, read video-editing.md before choosing its source structure.
- Distinctive: line 149
Use sequencing to choose the timing boundary and timing props for the supported props and order of operations.
- Distinctive: line 166
Read connected compositions when a scene or group needs its own editable timeline, or when handling a Studio pre-compose request.
- Very specific: line 195
When adding motion blur or a movement trail, read motion-blur.md for <HtmlInCanvasMotionBlur>, transition motionBlur, Studio controls, and …
- Very specific: line 199
When adding a visual effect, first identify the element or group it should affect.
- Very specific: line 200
If the target component supports effects and a built-in effect below matches the request, prefer that effect over a CSS approximation.
- Very specific: line 223
Read effects.md before applying an effect for imports, parameters, and setup.
- Very specific: line 241
Read color-correction.md for primary adjustments with colorCorrection(), tonal mapping with levels() or curves(), their Studio editors, and …
- Common: line 251
When needing to use sound effects, load the ./sfx.md file for more information.
- Common: line 255
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./audio-visualization.md file for more …
- Very specific: line 263
When dealing with captions or subtitles, load the Remotion Captions (remotion-captions skill) skill for more information.
- Common: line 311
When needing to detect and trim silent segments from video or audio files, load the ./silence-detection.md file.
- Very specific: line 319
Before registering <Composition> or <Still> elements, read compositions.md for source-editable registrations, folders, default props and …
- Very specific: line 327
Use npx remotion add to add new packages with the right version:
“Common” is measured: kept by at least 6 in 10 of the 36 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DSH package context
Apply this DSH section only when an ancestor package.json identifies the installed dsh-remotion package. A standalone copy without that DSH package follows the official standalone instructions below. In DSH, plugin management owns updates: do not run standalone skills add/update, remotion skills, or hyperframes skills to replace this bundle. Treat the installed plugin as read-only, preserve existing projects and lockfiles, and upgrade a user project only when requested. These DSH rules override standalone setup and launcher examples for this installed package.
For DSH-managed template videos use remotion_project (list/create/get/update) and remotion_render (prepare/preview/render/job/cancel). Check readiness; explicitly prepare on first use and poll the job until done before preview/export. Use the saved project id and current revision; query/cancel with the job id. Dependency installation alone is not readiness. Never fabricate ready.json or edit the managed runtime. The workbench pins remotion 4.0.545; its local templates do not implement every advanced upstream workflow.
Preparation needs Node.js 22.19+ or 24+ with npm visible to the desktop app. Homebrew commonly uses /opt/homebrew/bin (Apple Silicon) or /usr/local/bin (Intel), with npm in prefix/lib/node_modules. Linux symlinks and Windows paths with spaces are supported. A terminal PATH can differ from an already running desktop app: restart DSH after changing its launch environment and retry the saved job. Do not reinstall over this plugin, execute shell wrappers as JavaScript, or copy secrets/whole environment dumps into diagnostics.
For advanced user-owned React projects, follow their existing package manager and installed Remotion version in the project directory. The managed runtime is separate: do not change it to match another project. Export/render only when the user requests the resulting video.
This is guidance for writing Remotion React Markup.
If this is not relevant, load Remotion Best Practices (remotion-best-practices skill) instead.
MUST marks requirements, SHOULD recommendations, MAY optional actions, and CAN capabilities. Apply them to the requested task.
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.
General rules
Keep useCurrentFrame() in the smallest component that needs it. Extract
frame-dependent audio volume, titles, and overlays into their own components
instead of subscribing the whole composition or scene; otherwise unrelated
descendants re-render on every frame. Preserve the existing frame coordinates
when extracting across timing boundaries, and keep editable interpolations
inline on the item's props.
Inside a composition or scene component, get fps from useVideoConfig() for
all seconds-to-frames calculations, including timing props such as from,
trimBefore and durationInFrames. Keeping the expression on
the JSX node, such as trimBefore={4 * fps}, lets Studio edit the timing and
keeps it correct if the composition frame rate changes.
Drive animations using useCurrentFrame() and interpolate().
CSS transition or animation will not render correctly, they need to refactored.
Tailwind animation class will not render correctly, they need to be refactored.
Use Easing.bezier() and Easing.spring() to customize timing.
Before choosing the markup hierarchy, read
editable timeline structure (timeline-structure.md in the remotion-interactivity skill).
Choose editing units first, then the tracks or shared timing boundaries they
need. It includes a complete example with interactive components and their
registrations. For source-editable styles, schemas, and keyframes, see
Remotion Interactivity (remotion-interactivity skill).
import { useCurrentFrame, useVideoConfig, Easing, interpolate, Interactive } from "remotion";
export const FadeIn = () => {
const frame = useCurrentFrame();
const {fps} = useVideoConfig();
return (
<Interactive.Div
name="Title"
style={{
opacity: interpolate(frame, [0, 2 * fps], [0, 1], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: Easing.bezier(0.16, 1, 0.3, 1),
}),
}}
>
Hello World!
</Interactive.Div>
);
};Keep the interpolate() call inline in the style prop.
Use scale, translate, rotate CSS properties over transform.
// 👍 Inline editable keyframes and transform shorthands
style={{
scale: interpolate(frame, [0, 100], [0, 1], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
output: 'perceptual-scale' // For `scale` animations, use "output: 'perceptual-scale'"
}),
translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
rotate: interpolate(frame, [0, 100], ["20deg", "90deg"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
}}
// 👎 Non-inline values and transform strings become harder to edit in Studio
const scale = interpolate(frame, [0, 100], [0, 1]);
style={{
transform: `scale(${scale})`,
}}Assets
Place assets in the public/ folder at your project root.
Use staticFile() to reference files from the public/ folder.
Media components
Add video and audio using <Video> and <Audio> from @remotion/media.
Add images using the <CanvasImage> component.
Add animated GIFs, APNG, WebP or AVIF images using <AnimatedImage>, use @remotion/gif if not using Chrome.
Use staticFile() for files in public/ or pass a remote URL directly:
import { Audio, Video } from "@remotion/media";
import { staticFile, CanvasImage, AnimatedImage } from "remotion";
export const MyComposition = () => {
return (
<>
<Video src={staticFile("video.mp4")} style={{ opacity: 0.5 }} />
<Audio src={staticFile("audio.mp3")} />
<CanvasImage
src={staticFile("logo.png")}
style={{ width: 100, height: 100 }}
/>
<Video src="https://remotion.media/video.mp4" />
<AnimatedImage src={staticFile('nyancat.gif')} />
</>
);
};If the composition is primarily a timeline of video or audio clips, read video-editing.md before choosing its source structure.
Delaying, trimming
Use sequencing to choose the timing boundary and timing props for the supported props and order of operations.
Maps
See Remotion Maps if wanting to include maps in the video.
Text highlights and annotations
See text-highlights.md for text highlights (highlight markers), circles, underlines, strike-throughs, crossed-off text, boxes.
Multi-scene videos
See multi-scene-video.md if planning to make a video with multiple subsequent scenes.
Connected compositions
Read connected compositions when a scene or group needs its own editable timeline, or when handling a Studio pre-compose request. It covers extraction, registration, inherited styles, and verification in both the parent and standalone views.
Embedding Videos
See embedding-videos.md for advanced knowledge about embedding videos - trimming, volume, speed, looping, pitch.
Embedding Audio
See audio.md for advanced audio features like trimming, volume, speed, pitch.
Cropping
See cropping.md if needing to crop the visible rectangle of a component.
Video matting
For background removal, text behind a subject, background blur or replacement,
and effects applied only to a subject, read video-matting.md.
Generate reusable foreground layers with @remotion/video-matting before composing them.
Transitions
See transitions.md for scene transition patterns.
Motion blur
When adding motion blur or a movement trail, read motion-blur.md for <HtmlInCanvasMotionBlur>, transition motionBlur, Studio controls, and preview requirements.
Visual and pixel effects
When adding a visual effect, first identify the element or group it should affect.
If the target component supports effects and a built-in effect below matches the
request, prefer that effect over a CSS approximation. For example, apply
vignette() directly to a <Video>'s effects prop when the vignette should
affect that video.
These components accept effects directly:
| Import from | Components |
remotion | <Img>, <CanvasImage>, <AnimatedImage>, <Solid>, <HtmlInCanvas> |
@remotion/media | <Video> |
@remotion/gif | <Gif> |
@remotion/rive | <RemotionRiveCanvas> |
@remotion/shapes | <Arrow>, <Callout>, <Circle>, <Ellipse>, <Heart>, <Pie>, <Polygon>, <Rect>, <Spark>, <Star>, <Triangle> |
Ordinary HTML elements, <Interactive.*> DOM wrappers, <AbsoluteFill>, and
<Sequence> do not accept effects directly. To apply effects to their content,
wrap them in <HtmlInCanvas> and put the effects prop on the wrapper.
For other elements, prefer regular HTML and CSS where suitable. Consider wrapping
a group in <HtmlInCanvas> when post-processing the whole
group is appropriate and the environment supports it.
Read effects.md before applying an effect for imports, parameters,
and setup. It also covers reusable custom effects with createEffect() when no
built-in effect matches.
Available effects
Built-in effects from @remotion/effects:
- Color and tone:
brightness(),colorCorrection(),colorKey(),contrast(),curves(),duotone(),exposure(),grayscale(),hue(),invert(),levels(),linearGradient(),linearGradientTint(),lut(),saturation(),shadowsHighlights(),thermalVision(),tint(),vibrance(),whiteBalance(). - Blur and trails:
blur(),lightTrail(),linearProgressiveBlur(),radialProgressiveBlur(),regionBlur(),zoomBlur(). - Lighting:
dropShadow(),longShadows(),glow(),lightLeak(),shine(),starburst(),vignette(). - Distortion and transforms:
barrelDistortion(),chromaticAberration(),cornerPin(),fisheye(),mirror(),noiseDisplacement(),scale(),skew(),tile(),uvTranslate(),wave(),xyTranslate(). - Textures and patterns:
burlap(),checkerboard(),contourLines(),dotGrid(),emboss(),flannel(),gridlines(),halftone(),halftoneLinearGradient(),lines(),liquidContours(),noise(),paper(),pattern(),rings(),scanlines(),speckle(),tvSignalOff(),waves(),whiteNoise(),zigzag(). - Edges:
outline(),roughenEdges(),shrinkwrap(),tear(). - Pixelation and transitions:
evolve(),linearProgressivePixelate(),pixelate(),pixelDissolve(),radialProgressivePixelate(),venetianBlinds().
Color correction
Read color-correction.md for primary adjustments with
colorCorrection(), tonal mapping with levels() or curves(), their Studio
editors, and 3D .cube color grades with lut().
3D content
See ./3d.md for 3D content in Remotion using Three.js and React Three Fiber.
Sound effects
When needing to use sound effects, load the ./sfx.md file for more information.
Audio visualization
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./audio-visualization.md file for more information.
Maps
For static maps, animated routes and markers, geographic explainers, Mapbox, MapLibre, MapTiler, GeoJSON, or 3D geographic flyovers, load Remotion Maps.
Captions
When dealing with captions or subtitles, load the Remotion Captions (remotion-captions skill) skill for more information.
Arabic and right-to-left text
For Arabic, Persian, Urdu or Hebrew text, read arabic-text.md: set the base direction, animate by word, and split letters only in a way that keeps them joined.
Google Fonts
Is the recommended way to load fonts in Remotion. See google-fonts.md for how to load Google Fonts.
Local fonts
See local-fonts.md for how to load local fonts.
GIFs
See gifs.md for how to display GIFs synchronized with Remotion's timeline.
Advanced Images
See images.md for sizing and positioning images, dynamic image paths, and getting image dimensions.
Lottie animations
See lottie.md for embedding Lottie animations in Remotion.
Timing
See timing.md for more timing techniques for interpolate().
Parameterized videos
See parameters.md for making a composition parametrizable by adding a Zod schema.
Measuring DOM nodes
See measuring-dom-nodes.md for measuring DOM element dimensions in Remotion.
Measuring text
See measuring-text.md for measuring text dimensions, fitting text to containers, and checking overflow.
Using FFmpeg
For some video operations, such as trimming videos or detecting silence, FFmpeg should be used. Load the ./ffmpeg.md file for more information.
Silence detection
When needing to detect and trim silent segments from video or audio files, load the ./silence-detection.md file.
Dynamic duration, dimensions and data
See calculate-metadata.md for dynamically set composition duration, dimensions, and props.
Compositions and stills
Before registering <Composition> or <Still> elements, read compositions.md for source-editable registrations, folders, default props and nesting. For Studio navigation into a scene's own timeline, use connected compositions.
Advanced sequencing
See sequencing.md for more sequencing patterns - delay, trim, limit duration of items.
Install modules
Use npx remotion add to add new packages with the right version:
npx remotion add @remotion/mediaThis goes for @remotion/* packages, mediabunny, @mediabunny/*, zod, and @huggingface/transformers.
Visual checks
Visual changes CAN be inspected in Remotion Studio (remotion-studio skill)
or rendered frames (remotion-render skill). Comparisons CAN include visible
layers, cut timing, and synchronized content across the full composition and
connected components.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

