mcpField
R
remotion

remotion

github.com/davila7Creative & media33.0k1.5k installsUpdated 1d ago
Repository

About remotion

remotion is a skill for developers creating programmatic videos with Remotion and React. It covers frame-based animation, media, composition, and rendering workflows.

Key features

  1. 01Frame-based animation
  2. 02Composition and metadata setup
  3. 03Audio, video, and image handling
  4. 04Captions and text animation
  5. 05Charts and 3D content
  6. 06Transitions and sequencing

Use cases

  1. 01Building animated React video compositions
  2. 02Adding captions and media to videos
  3. 03Creating chart-based video visuals

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/davila7/claude-code-templates --skill remotion

After installing, type/remotionin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
3d.md
animations.md
assets.md
audio.md
calculate-metadata.md
can-decode.md
charts.md
compositions.md
display-captions.md
extract-frames.md
fonts.md
get-audio-duration.md
get-video-dimensions.md
get-video-duration.md
gifs.md
images.md
import-srt-captions.md
lottie.md
measuring-dom-nodes.md
measuring-text.md
sequencing.md
tailwind.md
text-animations.md
timing.md
transcribe-captions.md
transitions.md
trimming.md
references/assets/
text-animations-typewriter.tsx
text-animations-word-highlight.tsx
references/assets/charts/
bar-chart.tsx

Details

From the project README

Remotion - Video Creation in React

Comprehensive skill set for creating programmatic videos using Remotion, a framework for creating videos programmatically using React.

When to use

Use this skill whenever you are dealing with Remotion code to obtain domain-specific knowledge about:

  • Creating video compositions with React components
  • Animating elements using frame-based animations
  • Working with audio, video, and image assets
  • Building charts and data visualizations
  • Implementing text animations and captions
  • Using 3D content with Three.js
  • Applying transitions and sequencing
  • Integrating Tailwind CSS and Lottie animations

Core Concepts

Remotion allows you to create videos using:

  • React Components: Build video content with familiar React syntax
  • Frame-based Animations: All animations driven by useCurrentFrame() hook
  • Compositions: Define video compositions with duration, dimensions, and props
  • Assets: Import and manipulate images, videos, audio, and fonts
  • Rendering: Export videos programmatically with customizable settings

Key Features

  • Frame-by-frame control over animations
  • Dynamic metadata calculation
  • Media processing (trimming, volume, speed, pitch)
  • Caption generation and display
  • Data visualization with charts
  • 3D content integration
  • Professional text animations
  • Scene transitions and sequencing

How to use

Read individual rule files for detailed explanations and code examples:

Core Animation & Timing
Compositions & Metadata
Assets & Media
Text & Typography
Captions & Transcription
Data Visualization
Advanced Features
Styling & Layout
Media Processing (Mediabunny)

Quick Start Example

import { useCurrentFrame, useVideoConfig, interpolate } from "remotion";

export const MyComposition = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const opacity = interpolate(frame, [0, 2 * fps], [0, 1], {
    extrapolateRight: 'clamp',
  });

  return (
    <div style={{ opacity }}>
      <h1>Hello Remotion!</h1>
    </div>
  );
};

Best Practices

  1. Always use useCurrentFrame() - Drive all animations from the current frame
  2. Avoid CSS animations - They won't render correctly in videos
  3. Think in seconds - Multiply time in seconds by fps for frame calculations
  4. Use interpolate for smooth animations - Built-in interpolation with easing functions
  5. Clamp extrapolation - Prevent values from exceeding intended ranges
  6. Test frequently - Preview in Remotion Studio before rendering

Resources

Comments

Markdown supported