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/espennilsen/pi/remotionnpx skills add espennilsen/pi --skill remotiongit clone --depth 1 https://github.com/espennilsen/piWrote 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/espennilsen/pi/remotion)<a href="https://agentmods.dev/skills/espennilsen/pi/remotion"><img src="https://agentmods.dev/badge/skills/espennilsen/pi/remotion.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 | $0.00013 | $0.01303 |
| Opus 5 | $0.00006 | $0.00651 |
| Sonnet 5 | $0.00003 | $0.00261 |
| Haiku 4.5 | $0.00001 | $0.00130 |
Grade A, and why
remotion 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 4d 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
73% identical to remotion-best-practices — 56 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 — 99 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.
Starting preview
Start the Remotion Studio to preview a video:
npx remotion studio
Optional: one-frame render check
You can render a single frame with the CLI to sanity-check layout, colors, or timing.
Skip it for trivial edits, pure refactors, or when you already have enough confidence from Studio or prior renders.
npx remotion still [composition-id] --scale=0.25 --frame=30
At 30 fps, --frame=30 is the one-second mark (--frame is zero-based).
Captions
When dealing with captions or subtitles, load the ./rules/subtitles.md file for more information.
Using FFmpeg
For some video operations, such as trimming videos or detecting silence, FFmpeg should be used. Load the ./rules/ffmpeg.md file for more information.
Silence detection
When needing to detect and trim silent segments from video or audio files, load the ./rules/silence-detection.md file.
Audio visualization
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./rules/audio-visualization.md file for more information.
Sound effects
When needing to use sound effects, load the ./rules/sfx.md file for more information.
How to use
Read individual rule files for detailed explanations and code examples:
- rules/3d.md - 3D content in Remotion using Three.js and React Three Fiber
- rules/animations.md - Fundamental animation skills for Remotion
- rules/assets.md - Importing images, videos, audio, and fonts into Remotion
- rules/audio.md - Using audio and sound in Remotion - importing, trimming, volume, speed, pitch
- rules/calculate-metadata.md - Dynamically set composition duration, dimensions, and props
- rules/can-decode.md - Check if a video can be decoded by the browser using Mediabunny
- rules/charts.md - Chart and data visualization patterns for Remotion (bar, pie, line, stock charts)
- rules/compositions.md - Defining compositions, stills, folders, default props and dynamic metadata
- rules/extract-frames.md - Extract frames from videos at specific timestamps using Mediabunny
- rules/fonts.md - Loading Google Fonts and local fonts in Remotion
- rules/get-audio-duration.md - Getting the duration of an audio file in seconds with Mediabunny
- rules/get-video-dimensions.md - Getting the width and height of a video file with Mediabunny
- rules/get-video-duration.md - Getting the duration of a video file in seconds with Mediabunny
- rules/gifs.md - Displaying GIFs synchronized with Remotion's timeline
- rules/images.md - Embedding images in Remotion using the Img component
- rules/light-leaks.md - Light leak overlay effects using @remotion/light-leaks
- rules/lottie.md - Embedding Lottie animations in Remotion
- rules/measuring-dom-nodes.md - Measuring DOM element dimensions in Remotion
- rules/measuring-text.md - Measuring text dimensions, fitting text to containers, and checking overflow
- rules/sequencing.md - Sequencing patterns for Remotion - delay, trim, limit duration of items
- rules/tailwind.md - Using TailwindCSS in Remotion
- rules/text-animations.md - Typography and text animation patterns for Remotion
- rules/timing.md - Timing with interpolate and Bézier easing, springs
- rules/transitions.md - Scene transition patterns for Remotion
- rules/transparent-videos.md - Rendering out a video with transparency
- rules/trimming.md - Trimming patterns for Remotion - cut the beginning or end of animations
- rules/videos.md - Embedding videos in Remotion - trimming, volume, speed, looping, pitch
- rules/parameters.md - Make a video parametrizable by adding a Zod schema
- rules/maps.md - Add a map using Mapbox and animate it
- rules/silence-detection.md - Adaptive silence detection using FFmpeg loudnorm and silencedetect
- rules/voiceover.md - Adding AI-generated voiceover to Remotion compositions using ElevenLabs TTS
What ships with it
41 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 1.1 KB
- 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-visualization.md 4.8 KB
- rules/audio.md 3.5 KB
- rules/calculate-metadata.md 3.2 KB
- rules/can-decode.md 1.7 KB
- rules/charts.md 2.9 KB
- rules/compositions.md 3.8 KB
- rules/display-captions.md 5.4 KB
- rules/extract-frames.md 5.4 KB
- rules/ffmpeg.md 1.1 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.3 KB
- rules/light-leaks.md 2.3 KB
- rules/lottie.md 1.9 KB
- rules/maps.md 11 KB
- rules/measuring-dom-nodes.md 973 B
- rules/measuring-text.md 2.7 KB
- rules/parameters.md 2.3 KB
- rules/sequencing.md 2.7 KB
- rules/sfx.md 869 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.6 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.
- 4d ago First seen · 99 lines · 13 tokens per session scan A ed46d8110ce0
remotion is a skill published in the GitHub repository espennilsen/pi (117 stars, last pushed 11d ago), licensed MIT. It adds 13 tokens to every session and 1,303 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 73% identical to remotion-best-practices, differing in 56 lines, and is treated as a copy.
Other skills, from other repositories
tamagui
Universal React UI framework for web and native. Use when building cross-platform apps with Tamagui, creating styled components with styled(), configuring design tokens/themes, using Tamagui UI components, or working with animations. Triggers: "tamagui", "styled()", "$token", "XStack/YStack", "useTheme", "@tamagui/"…
remotion-best-practices
Best practices for Remotion - Video creation in React.
remotion-best-practices
Best practices for Remotion - Video creation in React.
remocn
Build Remotion videos with remocn — copy-paste animation components and timeline-driven UI primitives from a shadcn registry. Use when composing a video or scene in a Remotion project, adding a single animation, transition, background, or UI-block sim, or reaching for a video-ready UI primitive (button, dialog…
infographic-item-creator
Generate or update infographic Item components for this repo (TypeScript/TSX in src/designs/items). Use when asked to design, implement, or modify data item visuals, layout logic, or registerItem composites.
add-frontend-component
Use when adding or modifying frontend UI components — interactive overlays for WaitingFor states, game board elements, card choice modals, animation effects, or any React component that interfaces with the engine via GameAction dispatch.