remotion-best-practices

remotion-best-practices is a skill for Claude Code from guanyang/open-agent-hub. It costs 116 tokens per session (3,086 once invoked), scanned A, a copy of remotion-best-practices, MIT.

Best-practice guidance for building videos programmatically with Remotion, a React and TypeScript framework that renders videos.

In plain words
What is it for?
Use it to start Remotion projects, design scenes, animate elements, and prepare videos for rendering.
Why use it?
It helps avoid common layout and animation mistakes when creating video scenes in code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the open-agent-hub plugin — 103 skills, 3 commands, 5 agents, 6 MCP servers shipped together

Good fit Use it to start Remotion projects, design scenes, animate elements, and prepare videos for rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guanyang/open-agent-hub/remotion
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 guanyang/open-agent-hub --skill remotion
Clone the repo
git clone --depth 1 https://github.com/guanyang/open-agent-hub

Made for: Claude Code.

Or install open-agent-hub, the plugin that ships this one along with the rest of its 103 skills, 3 commands, 5 agents, 6 MCP servers.

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/guanyang/open-agent-hub/remotion/github.svg)](https://agentmods.dev/skills/guanyang/open-agent-hub/remotion)
Your own site
<a href="https://agentmods.dev/skills/guanyang/open-agent-hub/remotion"><img src="https://agentmods.dev/badge/skills/guanyang/open-agent-hub/remotion/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/guanyang/open-agent-hub/remotion"><img src="https://agentmods.dev/badge/skills/guanyang/open-agent-hub/remotion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,086 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 95% copy Near-identical to another mod 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.00116 $0.03086
Opus 5 $0.00058 $0.01543
Sonnet 5 $0.00023 $0.00617
Haiku 4.5 $0.00012 $0.00309

Measured 9d ago against content hash a55fd14b749b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

Origin

This is a copy

95% identical to remotion-best-practices — 23 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/remotion/SKILL.md · 365 lines

How it starts

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

When to use

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

New project setup

When in an empty folder or workspace with no existing Remotion project, scaffold one using:

npx create-video@latest --yes --blank --no-tailwind my-video

Replace my-video with a suitable project name.

Designing a video

Before designing visual scenes, layouts, promos, motion graphics, or text-heavy videos, load rules/video-layout.md for video-first layout and text sizing guidance.

Animate properties using useCurrentFrame() and interpolate(). Prefer interpolate() over spring() unless physics-based motion is explicitly needed. Use Easing.bezier() to customize timing, including jumpy or overshooting motion.

For animations that should be editable in Remotion Studio, keep the interpolate() call inline in the style prop and use individual CSS transform properties (scale, translate, rotate) instead of composing a transform string.

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

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

  const opacity = interpolate(frame, [0, 2 * fps], [0, 1], {
    extrapolateRight: "clamp",
    extrapolateLeft: "clamp",
    easing: Easing.bezier(0.16, 1, 0.3, 1),
  });

  return <div style={{ opacity }}>Hello World!</div>;
};

Prefer:

style={{
  scale: interpolate(frame, [0, 100], [0, 1]),
  translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"]),
  rotate: interpolate(frame, [0, 100], ["20deg", "90deg"]),
}}

Over:

const scale = interpolate(frame, [0, 100], [0, 1]);

style={{
  transform: `scale(${scale})`,
}}

CSS transitions or animations are FORBIDDEN - they will not render correctly.
Tailwind animation class names are FORBIDDEN - they will not render correctly.

Place assets in the public/ folder at your project root.

Read the full file on GitHub · 365 lines

Files

What ships with it

48 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 365 lines · 116 tokens per session scan A a55fd14b749b

Subscribe to this mod's changes

remotion-best-practices is a skill published in the GitHub repository guanyang/open-agent-hub (967 stars, last pushed yesterday), licensed MIT. It adds 116 tokens to every session and 3,086 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to remotion-best-practices, differing in 23 lines, and is treated as a copy.

Related

Other skills, from other repositories

json-ui

CRITICAL: Use for json-ui component rendering and development. Triggers on: json-ui, json render, component catalog, report render, HTML report, I18nString, i18n, bilingual, language switch, dual language, PaperHeader, AuthorList, Abstract, MetricsGrid, Section, Highlight, Zod schema, catalog.ts, cli.ts…

actionbook/actionbook · 118 tokens

airflow-plugins

Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI. Use when building anything custom inside Airflow 3.1+ that involves Python and a browser-facing interface - creating an Airflow plugin, adding a custom UI page or…

astronomer/agents · 147 tokens

shadcn-ui

Provides complete shadcn/ui component library patterns including installation, configuration, and implementation of accessible React components. Use when setting up shadcn/ui, installing components, building forms with React Hook Form and Zod, customizing themes with Tailwind CSS, or implementing UI patterns like…

giuseppe-trisciuoglio/developer-kit · 74 tokens

react-patterns

Provides comprehensive React 19 patterns for Server Components, Server Actions, useOptimistic, useActionState, useTransition, concurrent features, Suspense boundaries, and TypeScript integration. Generates executable code patterns, validates security for public endpoints, and optimizes performance with React Compiler…

giuseppe-trisciuoglio/developer-kit · 87 tokens

yida-canvas-custom-page

A development guide for creating custom pages in Yida, a business application platform, using React 18. It covers pages such as websites, dashboards, workspaces, lists, details, and portals inside YidaCodeCanvas.

openyida/openyida · 93 tokens

yida-custom-page

A set of rules for building custom React-style pages on the Yida platform, a business application platform. It covers page structure, event handling, state, and Yida's JavaScript interface.

openyida/openyida · 67 tokens