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.
npx skills add medy-gribkov/arcana --skill remotion-best-practicesgit clone --depth 1 https://github.com/medy-gribkov/arcanaWrote 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.
[](https://agentmods.dev/skills/medy-gribkov/arcana/remotion-best-practices)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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>
</>
);
What ships with it
36 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.
- rules/3d.md 2.2 KB
- rules/animations.md 790 B
- rules/assets.md 1.6 KB
- rules/assets/charts-bar-chart.tsx 3.3 KB
- rules/assets/text-animations-typewriter.tsx 2.1 KB
- rules/assets/text-animations-word-highlight.tsx 2.3 KB
- rules/audio.md 3.5 KB
- rules/calculate-metadata.md 2.9 KB
- rules/can-decode.md 1.5 KB
- rules/charts.md 2.9 KB
- rules/compositions.md 3.6 KB
- rules/display-captions.md 5.3 KB
- rules/extract-frames.md 5.4 KB
- rules/fonts.md 3.4 KB
- rules/get-audio-duration.md 1.3 KB
- rules/get-video-dimensions.md 1.6 KB
- rules/get-video-duration.md 1.3 KB
- rules/gifs.md 3.6 KB
- rules/images.md 2.7 KB
- rules/import-srt-captions.md 2.2 KB
- rules/light-leaks.md 2.3 KB
- rules/lottie.md 1.7 KB
- rules/maps.md 11 KB
- rules/measuring-dom-nodes.md 974 B
- rules/measuring-text.md 2.9 KB
- rules/parameters.md 2.3 KB
- rules/sequencing.md 2.7 KB
- rules/subtitles.md 922 B
- rules/tailwind.md 422 B
- rules/text-animations.md 700 B
- rules/timing.md 3.8 KB
- rules/transcribe-captions.md 1.9 KB
- rules/transitions.md 5.7 KB
- rules/transparent-videos.md 2.2 KB
- rules/trimming.md 1.2 KB
- rules/videos.md 3.4 KB
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.
- 11d ago First seen · 222 lines · 53 tokens per session scan A cab0931644a2
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.
Other skills, from other repositories
remotion-to-hyperframes
Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW…
react-component
Build production-ready React components — hooks, context, accessibility, TypeScript types, and Storybook stories.
svg-animator
Create animated SVGs with GSAP or CSS — loaders, illustrations, icon animations, and micro-interactions.
web-artifacts-builder
Build interactive HTML/CSS/JS artifacts — widgets, calculators, games, and mini-apps that run directly in Claude.
css-art
Generate pure CSS art and illustrations — portraits, landscapes, UI elements, and interactive CSS-only animations.
remotion-markup
Best practices for writing Remotion React Markup.