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 agentmods add skills/f-amine/vibe-stack/remotion-best-practicesnpx skills add f-amine/vibe-stack --skill remotion-best-practicesgit clone --depth 1 https://github.com/f-amine/vibe-stackWrote 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/f-amine/vibe-stack/remotion-best-practices)<a href="https://agentmods.dev/skills/f-amine/vibe-stack/remotion-best-practices"><img src="https://agentmods.dev/badge/skills/f-amine/vibe-stack/remotion-best-practices.svg" alt="Measured on agentmods" 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.00017 | $0.02378 |
| Opus 5 | $0.00009 | $0.01189 |
| Sonnet 5 | $0.00003 | $0.00476 |
| Haiku 4.5 | $0.00002 | $0.00238 |
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 5d 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.
This is a copy
100% identical to remotion-best-practices — 0 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.
How it starts
The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Use this skills 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
Animate properties using useCurrentFrame() and interpolate(). Use Easing to customize the timing of the animation.
import { useCurrentFrame, Easing } 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>;
};
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.
Use staticFile() to reference files from the public/ folder.
Add images using the <Img> component:
import { Img, staticFile } from "remotion";
export const MyComposition = () => {
return <Img src={staticFile("logo.png")} style={{ width: 100, height: 100 }} />;
};
Add videos using the <Video> component from @remotion/media:
import { Video } from "@remotion/media";
import { staticFile } from "remotion";
export const MyComposition = () => {
return <Video src={staticFile("video.mp4")} style={{ opacity: 0.5 }} />;
};
Add audio using the <Audio> component from @remotion/media:
import { Audio } from "@remotion/media";
import { staticFile } from "remotion";
export const MyComposition = () => {
return <Audio src={staticFile("audio.mp3")} />;
};
Assets can be also referenced as remote URLs:
import { Video } from "@remotion/media";
export const MyComposition = () => {
return <Video src="https://remotion.media/video.mp4" />
};
What ships with it
38 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/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-visualization.md 4.8 KB
- rules/audio.md 3.5 KB
- rules/calculate-metadata.md 3.2 KB
- rules/compositions.md 3.3 KB
- rules/display-captions.md 5.3 KB
- rules/ffmpeg.md 1.1 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/google-fonts.md 1.7 KB
- rules/html-in-canvas.md 3.5 KB
- rules/images.md 1.4 KB
- rules/import-srt-captions.md 2.2 KB
- rules/light-leaks.md 2.3 KB
- rules/local-fonts.md 1.5 KB
- rules/lottie.md 1.8 KB
- rules/maplibre.md 12 KB
- rules/measuring-dom-nodes.md 973 B
- rules/measuring-text.md 2.7 KB
- rules/parameters.md 2.3 KB
- rules/sequencing.md 3.2 KB
- rules/sfx.md 867 B
- rules/silence-detection.md 2.5 KB
- rules/subtitles.md 922 B
- rules/tailwind.md 420 B
- rules/text-animations.md 700 B
- rules/timing.md 4.4 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
- rules/voiceover.md 3.2 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.
- 5d ago First seen · 341 lines · 17 tokens per session scan A 829d9e0b1c5a
remotion-best-practices is a skill published in the GitHub repository f-amine/vibe-stack (21 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 2,378 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to remotion-best-practices, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
diceui
Build complex, accessible UI components using DiceUI — combobox, tags-input, sortable, kanban, data-table, file-upload, color-picker, and 40+ more. Use when the user wants to add any DiceUI component, mentions @diceui packages, asks for complex interactive components like combobox, sortable lists, kanban boards…
tanstack-query-best-practices
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management. Activate when building data-driven React applications with server state.
tanstack-router-best-practices
TanStack Router best practices for type-safe routing, data loading, search params, and navigation. Activate when building React applications with complex routing needs.
react-hook-form
React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, and the v7.55+ subscribe() API. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions…
react:components
Converts Stitch designs into modular Vite and React components using system-level networking and AST-based validation.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…