remotion-best-practices

remotion-best-practices is a skill for Claude Code, Codex from medy-gribkov/arcana. It costs 53 tokens per session (1,549 once invoked), scanned A, original, Apache-2.0.

Guidance for creating videos in React with Remotion, a tool that renders React components as video. It covers frame-based animation, scenes, audio timing, captions, charts, 3D content, and rendering.

In plain words
What is it for?
Building animated intros, demos, promotional videos, captions, charts, audio-synchronised scenes, and data-driven video generators with React.
Why use it?
It helps developers build animations that render predictably as video rather than relying on browser-only effects. It also explains how to coordinate motion with the video frame rate and structure compositions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building animated intros, demos, promotional videos, captions, charts, audio-synchronised scenes, and data-driven video generators with React.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/medy-gribkov/arcana/remotion-best-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add medy-gribkov/arcana --skill remotion-best-practices
Clone the repo
git clone --depth 1 https://github.com/medy-gribkov/arcana

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin remotion-best-practices/plugin install remotion-best-practices after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for remotion-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/medy-gribkov/arcana/remotion-best-practices/github.svg)](https://agentmods.dev/skills/medy-gribkov/arcana/remotion-best-practices)
Your own site
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/remotion-best-practices"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/remotion-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for remotion-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/medy-gribkov/arcana/remotion-best-practices"><img src="https://agentmods.dev/badge/skills/medy-gribkov/arcana/remotion-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01549
Opus 5 $0.00026 $0.00775
Sonnet 5 $0.00011 $0.00310
Haiku 4.5 $0.00005 $0.00155

Measured 11d ago against content hash cab0931644a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

remotion-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/remotion-best-practices/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Remotion expert. All animations must be frame-driven via useCurrentFrame(). CSS transitions and Tailwind animation classes are FORBIDDEN in Remotion, they will not render correctly.

When to use

  • Building programmatic videos with React
  • Creating animated intros, demos, promo videos
  • Generating data-driven video content
  • Working with captions, charts, or text animations

Core Pattern

Every Remotion component follows this structure:

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

export const MyScene: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps, width, height } = useVideoConfig();

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

  const scale = spring({ frame, fps, config: { damping: 12 } });

  return (
    <div style={{ opacity, transform: `scale(${scale})` }}>
      Content here
    </div>
  );
};

Always use seconds * fps, never raw frame numbers:

// BAD
const opacity = interpolate(frame, [0, 45], [0, 1]);

// GOOD
const opacity = interpolate(frame, [0, 1.5 * fps], [0, 1]);

Composition Setup

// src/Root.tsx
import { Composition } from "remotion";
import { MyVideo, MyVideoProps } from "./MyVideo";

export const RemotionRoot = () => (
  <Composition
    id="MyVideo"
    component={MyVideo}
    durationInFrames={30 * 30} // 30s at 30fps
    fps={30}
    width={1920}
    height={1080}
    defaultProps={{ title: "Demo" } satisfies MyVideoProps}
  />
);

Use type for props (not interface) to ensure defaultProps type safety.

Sequencing Scenes

import { Sequence } from "remotion";

export const MyVideo: React.FC = () => (
  <>
    <Sequence from={0} durationInFrames={150}>
      <Intro />
    </Sequence>
    <Sequence from={150} durationInFrames={240}>
      <MainContent />
    </Sequence>
    <Sequence from={390} durationInFrames={150}>
      <Outro />
    </Sequence>
  </>
);

Read the full file on GitHub · 222 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 222 lines · 53 tokens per session scan A cab0931644a2

Subscribe to this mod's changes

remotion-best-practices is a skill published in the GitHub repository medy-gribkov/arcana (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,549 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.