doable-me/doable/remotion-video-creation
Claude Code and agent skill by doable-me/doable
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Build programmatic videos with Remotion (React-based video generation framework). Use this skill whenever the user wants to create, script, or render any kind of video using code — slideshows/photo montages, kinetic typography and animated titles, data visualizations (bar chart races, animated counters, line/pie charts), social media content (Reels/Shorts/TikTok captions, audiograms), personalized or data-driven videos (certificates, invoices, recaps generated per-user from a data set), lower-thirds and scene transitions, subtitle/caption burn-ins, or explainer/product-demo videos. Also use for rendering and deployment questions (remotion render CLI, Remotion Lambda, server-side rendering, CI pipelines) and for embedding Three.js/Lottie/audio-reactive visuals inside a video. Trigger on mentions of "Remotion", "programmatic video", "video with React", "render a video from data", "generate a video for every user/row", "animated video", "motion graphics", "video player in my app", or requests to turn a template into a video pipeline. Also use whenever the user wants to export, download, or see a rendered video file. Read this skill BEFORE installing any Remotion package or writing a composition — it documents the Doable-specific setup (no create-video scaffold, install_package, an in-app Player, and in-browser rendering via @remotion/web-renderer that displays the finished MP4 in the preview) and the sandbox limits that make CLI rendering impossible.
Install
npx vskill@latest install doable-me/doable/remotion-video-creationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as doable-me/doable/remotion-video-creation.
Remotion Video Creation
Remotion lets you build videos as React components: every frame is a pure function of state, driven by a frame counter. This skill covers the core mental model plus a library of video-type recipes with working code.
⛔ How Remotion works inside Doable (read this before writing any code)
Doable is not a standalone Remotion project, and video is rendered in the browser rather than by the CLI. These constraints are not negotiable — violating them produces a broken app or a promise you cannot keep.
- The project already exists — never scaffold one. Every Doable project is a Vite + React 19 + Tailwind v4 app. There is no
create-videoscaffold, noremotion.config.ts, and nosrc/index.tsrender entry. Never run `npx create-video@latest` — it would fight the existing app structure. Just addsrc/Root.tsx(with your<Composition>s) and embed it, as described in "The deliverable" below.
- Install packages with the `install_package` tool, never `npm i` in bash.
install_packageenforces the blocked-package and workspace sandbox policy and restarts the Vite dev server so the new package is actually picked up. A rawnpm iskips both — the import will keep failing until something else restarts the server. Everywhere a reference file saysnpm i X, callinstall_package(["X"])instead. Pin Remotion add-ons to the same version as `remotion` itself (mismatched versions are a top source of failures).
- 🚫 Never render via `bash`/CLI — render in the browser instead. The AI
bashtool runs inside theai-bashjail: 256 MB memory, 50% of one CPU core, a hard 60-second wall/CPU timeout, and network egress denied except the npm registry + AI providers. Chromium cannot even launch in 256 MB, a real render takes minutes, and Remotion's first-run Chrome Headless Shell download is blocked by the egress allowlist. `npx remotion render` will fail — do not run it. To produce an actual video file, use@remotion/web-renderer, which renders in the preview's browser via WebCodecs and is completely unaffected by these limits. See "Rendering the video into the preview" below.
The deliverable: a live <Player>, plus a real rendered video
Ship both, in this order:
- `<Player>` — the scrubbable live preview. Always build this; it is the baseline and it always works.
- A rendered video file, produced in-browser and displayed in the preview — whenever the user wants "a video" as an artifact (download, export, share, "make me a video"). Build this with
@remotion/web-renderer, per the section below.
The <Player> half
The shipped artifact is the running app with `@remotion/player` embedded. That is what the user sees and what the platform surfaces. Build it this way:
`<Player>` takes `component={MyVideo}` — the composition component itself — plus `durationInFrames`/`fps`/`compositionWidth`/`compositionHeight` as its own props. Passing the RemotionRoot (the component that returns <Composition> elements) renders nothing but a blank player. Keep src/Root.tsx with its <Composition> + registerRoot() as the render entry point for later/external rendering, but wire the Player directly to the video component.
Because these duration/fps values are now written in two places, define them once in a shared constants module and import into both Root.tsx and App.tsx — a <Player durationInFrames> that disagrees with its <Composition durationInFrames> silently truncates or pads the preview.
Tailwind classes render in the Player but not in remotion render
Doable styles come from @tailwindcss/vite, a Vite plugin. The <Player> runs through Vite, so Tailwind classes work in the preview. Remotion's CLI/bundler does not use Vite, so a later remotion render would drop every Tailwind class and produce an unstyled video. Two consequences:
- For anything visual and layout-critical inside a composition, prefer inline `style={{…}}` objects over Tailwind classes (this is also why every recipe in the reference files uses inline styles). Tailwind is fine for the surrounding app chrome outside the
<Player>. - If a project genuinely needs Tailwind inside compositions and real rendering, that requires
@remotion/tailwind-v4plus aremotion.config.tsoverride — out of scope for a build session, and it does not lift the sandbox limits above.
Rendering the video into the preview (@remotion/web-renderer)
This is how a real rendered video reaches the user. @remotion/web-renderer encodes the composition to an MP4 in the browser using WebCodecs — it runs in the preview iframe, not in the ai-bash jail, so none of the sandbox limits apply. The result is a Blob you turn into an object URL and display in a <video> element right there in the preview, with a download link.
Install it explicitly: `install_package(["@remotion/web-renderer"])`. It is often already present in node_modules as a transitive dependency but is not in package.json — relying on that hoisting is how you get a build that works in dev and breaks later. Pin it to the same version as remotion.
Key points, all verified against the installed @remotion/web-renderer types:
- `composition` is a plain object, not a
<Composition>element:{ component, id, width, height, fps, durationInFrames, defaultProps }. That is exactly theVIDEO_CONFIGshape above — which is why sharing one constants module across<Composition>,<Player>, and the renderer eliminates the whole class of "preview and render disagree" bugs. - If the video component takes props, `inputProps` is REQUIRED — and it goes at the top level, as a sibling of `composition`, not inside it. Putting the data only in the composition's
defaultPropsis a type error (Property 'inputProps' is missing), and it is the single easiest way to lose a turn here. Components with no props need neither field:
``tsx await renderMediaOnWeb({ composition: { ...VIDEO_CONFIG, component: Certificate, defaultProps: { name: 'Preview' } }, inputProps: { name: 'Ada Lovelace' }, // ← required, top level, wins over defaultProps }); ``
- `renderMediaOnWeb` resolves to `{ getBlob, internalState }` — you must
await result.getBlob()to get theBlob. It does not return the blob directly. - `onProgress` receives `{ progress, renderedFrames, encodedFrames, doneIn, renderEstimatedTime }` —
progressis 0–1. Always surface it; a 1080p render takes real time and a dead button reads as a hang. - Always call `canRenderMediaOnWeb` first and show
issues[].messageon failure. WebCodecs and WebGL availability differ across browsers, and a hard failure with no explanation is the worst outcome. - Pass an `AbortSignal` so a long render can be cancelled, and revoke object URLs — each one pins an entire video in memory.
renderStillOnWebis the same pattern for a single frame (thumbnails/poster images).container: 'mp4'with the default codecs is the safe choice.getEncodableVideoCodecs()/getSupportedVideoCodecsForContainer()are available if you need to negotiate alternatives.
If the user instead wants rendering outside the browser — batch/CI/at-scale — that is the CLI, server-side Node API, or Lambda path in references/rendering-deployment.md. Those run on their machine or infrastructure, never in a build session.
Licensing — Remotion is source-available, not open source
Remotion is free for individuals, non-profits, and for-profit companies with up to 3 employees; larger for-profit companies must buy a Company License from remotion.pro. This is a real obligation that falls on whoever ends up running the app, not just on Doable.
Two things every Remotion build must do:
- Pass `licenseKey` to `renderMediaOnWeb`/`renderStillOnWeb`. Use
'free-license'when the user qualifies under the terms above, or their real key if they have one. Omitting it logs a warning on every render. - Pass `acknowledgeRemotionLicense` to `<Player>`, which silences the equivalent console notice.
Be aware that rendering reports usage to Remotion. renderMediaOnWeb sends a web-render telemetry event to remotion.pro containing window.location.origin, whether the render succeeded, and a production flag — on every render, including with `licenseKey: 'free-license'` (that value is sent as a null key, so it is a declaration of eligibility, not an opt-out). There is no watermark and no functional restriction; the enforcement model is honour-based plus this telemetry.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingservices/api/src/ai/skills/_system/remotion-video-creation/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 21
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/doable-me/doable/remotion-video-creation)