MoizIbnYousaf/marketing-cli/skills/cmo-remotion/SKILL.md
cmo-remotion
Brand-grounded Remotion video pipeline. Take a brief, ground it in `brand/` (voice, audience, positioning, creative-kit), write a beat sheet, scaffold a fresh Remotion project, generate any required assets, compose with frame-driven animations, and bake a final MP4. Use this skill whenever the user wants to build a NEW Remotion video from scratch — product films, motion graphics, code-driven shaders, CRT/glitch effects, HTML-in-canvas demos, React video. Triggers on requests like "make a remotio
- Source repository stars
- 27
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
The mktg-native end-to-end pipeline for building a new Remotion video from a brief. Brief in, MP4 out. Brand memory grounds it; remotion-best-practices powers the compose stage.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/MoizIbnYousaf/marketing-cli --skill "skills/cmo-remotion"Inspect the Agent Skill "cmo-remotion" from https://github.com/MoizIbnYousaf/marketing-cli/blob/f12fbcbe4929584697b309b9096c9427b0cfce8e/skills/cmo-remotion/SKILL.md at commit f12fbcbe4929584697b309b9096c9427b0cfce8e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow — the six stages
Each stage produces a checkpoint artifact under marketing/video//-/. The pipeline is resumable — read pipeline.json, pick a stage, continue. Never re-run a completed stage unless the user explicitly asks for "redo stage X".
Goal. "What's this video supposed to do?" (Drive signups, explain product, demo a feature, build authority, hype a launch.)Audience. "Who's watching?" If brand/audience.md is populated, propose the most relevant persona; ask if it's right.Runtime. Default to 8–15s for social, 30–90s for product film, ≤10s for shaders/loops. Push back on anything over 60s without a real reason. - 02
Stage 1 — BRIEF
Capture in one short conversation:
Goal. "What's this video supposed to do?" (Drive signups, explain product, demo a feature, build authority, hype a launch.)Audience. "Who's watching?" If brand/audience.md is populated, propose the most relevant persona; ask if it's right.Runtime. Default to 8–15s for social, 30–90s for product film, ≤10s for shaders/loops. Push back on anything over 60s without a real reason. - 03
Stage 2 — SCRIPT
A beat sheet is a table — one row per scene — with these columns:
A beat sheet is a table — one row per scene — with these columns:The script is the load-bearing stage. A bad script makes a beautiful render boring. Co-write it: propose 2–3 beats, get a reaction, revise. Don't dump 8 beats in one shot.Before approving, run the one-line gut check: "If I read just the voiceover column out loud, does it tell the story?" If not, rewrite. - 04
Stage 3 — SCAFFOLD
Use --blank so we don't inherit the demo composition. Use --no-tailwind so the project stays minimal — Remotion has no inherent need for Tailwind, and the styles we author live alongside the components.
Use --blank so we don't inherit the demo composition. Use --no-tailwind so the project stays minimal — Remotion has no inherent need for Tailwind, and the styles we author live alongside the components.Project lives at marketing/video//project/. Add out/, nodemodules/, and any large generated assets to .gitignore if not already there. - 05
Stage 4 — ASSETS
If the video is code-driven (CRT shader, type-only, geometric) — skip this stage. The composition needs no PNGs.
Use /codex:image (preferred for craft-grade prompting) or /image-gen (Gemini Nano Banana 2 — model gemini-3.1-flash-image-preview, never older).Cap the asset count: ≤ 12 generated images for a single-scene 8s video, ≤ 8 per scene for multi-scene work. More than that and you're bloating cost and inviting style drift.Cut every transparent-background asset through rembg. Image models lie about transparency.
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
npx create-video@latest --yes --blank --no-tailwind <project-slug>Runs scripts
The documentation asks the agent to run terminal commands or scripts.
npm installEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 27 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- MoizIbnYousaf/marketing-cli
- Skill path
- skills/cmo-remotion/SKILL.md
- Commit
- f12fbcbe4929584697b309b9096c9427b0cfce8e
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
/cmo-remotion — Brand-Grounded Remotion Video Pipeline
The mktg-native end-to-end pipeline for building a new Remotion video from a brief. Brief in, MP4 out. Brand memory grounds it; remotion-best-practices powers the compose stage.
North Star
The user wants a Remotion video that is theirs — voiced like their brand, aimed at their audience, hitting their positioning. They do not want a generic motion-graphics template, and they do not want to recreate someone else's video literally.
This skill is the Remotion equivalent of /cmo-video, with one key difference: /cmo-video is a style transfer pipeline — point it at a reference URL and it deconstructs the reference, generates fresh assets in that idiom, and ships a recreation. /cmo-remotion is a brief-to-render pipeline — start from a goal ("explain our product in 30s", "demo the CRT shader", "ad for our launch"), ground it in brand/, and ship.
You collaborate with the user across six stages, the same way /cmo collaborates across the marketing skill stack: suggest, ask one question at a time, push back when the brief is too big, and never silently advance. Show the beat sheet, get a yes, then scaffold. Show the asset list, get a yes, then generate. Show a single frame at composition midpoint, get a yes, then bake the full render.
When to use (vs other video skills)
| User says | Route to | Why |
|---|---|---|
| "make a video like this " | personal /cmo-video | That pipeline is style-transfer from a reference. Stop after stage 2 if they only want the deconstruction. |
| "I have these PNG slides, make a video" | /video-content | Three-tier ffmpeg/Remotion pipeline that takes existing slides → video. No scaffold, no compose-from-scratch. |
| "make me a TikTok slideshow" | /tiktok-slideshow | Format-specific orchestrator that chains /slideshow-script → /paper-marketing → /video-content. |
| "build me a Remotion video about X" | this skill | New composition from a brief. Code-driven, frame-driven, brand-grounded. |
| "make a CRT shader / glitch / scanline video" | this skill | Stage 5 loads remotion-best-practices/rules/html-in-canvas.md and points you at the CRT template. |
| "edit my finished video" | Not this skill | Remotion is a video generator, not an editor. Use a real NLE for cuts on existing footage. |
| "transcribe / summarize this video" | mktg transcribe then /summarize | Different intent. |
Workflow — the six stages
1. BRIEF capture goal + audience + runtime + aspect + one-line takeaway
2. SCRIPT beat sheet (scene · duration · voiceover · onscreen · visual · motion)
3. SCAFFOLD npx create-video@latest --yes --blank --no-tailwind <slug>
4. ASSETS generate PNGs via /codex:image or /image-gen → rembg → public/
5. COMPOSE load remotion-best-practices, pick rule files by intent, build frame-driven
6. BAKE single-frame midpoint check → npx remotion render → MP4
Each stage produces a checkpoint artifact under marketing/video/<slug>/<n>-<stage>/. The pipeline is resumable — read pipeline.json, pick a stage, continue. Never re-run a completed stage unless the user explicitly asks for "redo stage X".
Stage 1 — BRIEF
Capture in one short conversation:
- Goal. "What's this video supposed to do?" (Drive signups, explain product, demo a feature, build authority, hype a launch.)
- Audience. "Who's watching?" If
brand/audience.mdis populated, propose the most relevant persona; ask if it's right. - Runtime. Default to 8–15s for social, 30–90s for product film, ≤10s for shaders/loops. Push back on anything over 60s without a real reason.
- Aspect ratio. 1080×1920 vertical (TikTok/Reels), 1920×1080 horizontal (YouTube/landing page), 1080×1080 square. Default by goal.
- One-sentence takeaway. "If they only remember one thing, what is it?" If they can't say it in a sentence, the script is going to fail — slow down here.
If brand/voice-profile.md, brand/positioning.md, or brand/creative-kit.md are present, ground every brief decision in them. Quote the relevant line back: "Your voice profile says you avoid hype words — so the takeaway shouldn't lead with 'revolutionary'. How about 'the part of {X} no one shows you'?"
Stage 2 — SCRIPT
A beat sheet is a table — one row per scene — with these columns:
| Scene | Duration | Voiceover (if any) | Onscreen text | Visual | Motion |
|---|
The script is the load-bearing stage. A bad script makes a beautiful render boring. Co-write it: propose 2–3 beats, get a reaction, revise. Don't dump 8 beats in one shot.
Before approving, run the one-line gut check: "If I read just the voiceover column out loud, does it tell the story?" If not, rewrite.
Stage 3 — SCAFFOLD
npx create-video@latest --yes --blank --no-tailwind <project-slug>
cd <project-slug>
npm install
Use --blank so we don't inherit the demo composition. Use --no-tailwind so the project stays minimal — Remotion has no inherent need for Tailwind, and the styles we author live alongside the components.
Project lives at marketing/video/<slug>/project/. Add out/, node_modules/, and any large generated assets to .gitignore if not already there.
Stage 4 — ASSETS
If the video is code-driven (CRT shader, type-only, geometric) — skip this stage. The composition needs no PNGs.
Otherwise:
- Use
/codex:image(preferred for craft-grade prompting) or/image-gen(Gemini Nano Banana 2 — modelgemini-3.1-flash-image-preview, never older). - Cap the asset count: ≤ 12 generated images for a single-scene 8s video, ≤ 8 per scene for multi-scene work. More than that and you're bloating cost and inviting style drift.
- Cut every transparent-background asset through
rembg. Image models lie about transparency. - Drop final assets into
<project>/public/.
Stage 5 — COMPOSE
This stage is a prerequisite gate, not a reference. Before you write the composition, load:
marketing-cli/skills/remotion-best-practices/SKILL.md— top-level entry to the rules.- The specific rule files that match your intent (pick what applies, don't load everything):
| Intent | Rule file |
|---|---|
| Code-driven shader / CRT / glitch | rules/html-in-canvas.md |
| Typewriter / animated text | rules/text-animations.md + rules/assets/text-animations-typewriter.tsx |
| Scene-to-scene cuts and crossfades | rules/transitions.md |
| Voiceover narration | rules/voiceover.md + rules/audio.md |
| Captions / subtitles | rules/subtitles.md + rules/import-srt-captions.md |
| Light leaks / film texture | rules/light-leaks.md |
| 3D / Three.js | rules/3d.md |
| Lottie | rules/lottie.md |
| Map embeds | rules/mapbox.md |
| Local fonts | rules/local-fonts.md |
| Google fonts | rules/google-fonts.md |
For the CRT shader intent specifically, copy the canonical drop-in: see ./templates/CRTComposition.tsx.
Compose against the brand. Pull primary/secondary colors from brand/creative-kit.md. Match typography to the visual identity. The Remotion <Composition> is just the renderer — the grammar comes from the brand.
Stage 6 — BAKE
Always render-then-inspect. Never trust the first render.
# Sanity check at composition midpoint (catches static layout bugs cheap)
npx remotion still <CompositionId> out/check.png --frame=<half-of-durationInFrames>
# Full render
npx remotion render <CompositionId> out/<name>.mp4
# WebGL effects (HtmlInCanvas, three.js, shader compositions) need ANGLE
npx remotion render --gl=angle <CompositionId> out/<name>.mp4
After the first render, sample frames at 0%, 12.5%, 37.5%, 62.5%, 90% of duration with npx remotion still. Eyeball each. Fix what bugs the user. Re-render.
Required Reading Before Stage 3
You must load these before you scaffold a Remotion project — they catch the framework-fighting mistakes early:
/Users/moizibnyousaf/projects/mktgmono/marketing-cli/skills/remotion-best-practices/SKILL.md— top-level entry.- The specific
rules/<topic>.mdfile(s) matching your intent (the table in Stage 5 lists them).
If you skip this and "just start coding," you will end up writing CSS keyframes, you will hit "WebGL not enabled in render," and you will need to redo it. Loading the rules first costs ~30 seconds. Skipping costs ~30 minutes.
Hard Principles (non-negotiable)
These are not preferences. Skipping them produces broken or low-quality videos.
- Frame-driven only.
useCurrentFrame()+interpolate()+spring(). Never CSS@keyframes, never Tailwindanimate-*classes. CSS animations run on wall-clock time and render with all elements stuck at their starting opacity in the produced MP4. - Render-then-inspect. First render is never the final. Always sample at least 5 frames, eyeball each, fix the things that bug you, re-render.
- One-frame sanity check. Before kicking off a full render of a long composition, render the midpoint frame as a still. If layout is broken there, full render is wasted.
- Brand-ground before composition. Read
brand/creative-kit.mdandbrand/voice-profile.mdbefore you write the composition's TSX. Colors and tone are not afterthoughts. - Load
remotion-best-practicesbefore stage 5. Compose without the rules and you will fight the framework. - Cap asset counts. ≤ 12 PNGs per single-scene 8s video, ≤ 8 per scene multi-scene. More than that and you're inviting style drift across assets.
- WebGL needs
--gl=angleon render. HtmlInCanvas with WebGL2 in Studio works without it; CLI render does not. - Never copy copyrighted footage. This pipeline generates fresh assets — never extract video frames as final assets.
Templates
The templates/ directory ships drop-in components you can copy into a freshly scaffolded project.
| Template | What it is | When to use |
|---|---|---|
| ./templates/CRTComposition.tsx | Full HtmlInCanvas + WebGL2 fragment shader CRT effect over a typewriter terminal scene. ~10s, 1920×1080, 60fps. | The canonical example for code-driven shader videos. Demonstrates barrel distortion, scanlines, vignette, chromatic aberration, and frame-modulated intensity. |
| ./templates/Root.tsx | Remotion <Composition> registration for the CRT example. | Drop-in alongside CRTComposition.tsx. |
| ./templates/index.ts | registerRoot(Root) entry. | Replace the scaffolded src/index.ts. |
| ./templates/README.md | How to copy these into a freshly scaffolded project, preview in Studio, and render. | Read once before using the templates. |
Disambiguation
| User says | Route to | Why |
|---|---|---|
| "recreate this video" + URL | personal /cmo-video | Reference-driven style transfer pipeline. |
| "I have PNG slides, make a video" | /video-content | Three-tier slides-to-video pipeline. |
| "make me a TikTok slideshow" | /tiktok-slideshow | Format-specific orchestrator. |
| "ANY new Remotion video from a brief" | this skill | Brief-to-render. |
| "make a shader video" / "CRT effect" / "glitch" | this skill + load html-in-canvas.md + use the CRT template | Code-driven, no asset gen. |
| "render the existing project I already have" | this skill, stage 6 only | Skip stages 1–5; just the bake protocol. |
| "edit a finished MP4" | Not this skill | Remotion generates; doesn't edit. |
Anti-Patterns
| Anti-pattern | Why it fails | Instead |
|---|---|---|
| Skipping stage 1 (BRIEF) and going straight to scaffold | The composition will lack a runtime/aspect/takeaway and you'll thrash on basic decisions inside Stage 5. The brief is 5 minutes of conversation, not bureaucracy. | Always capture goal · audience · runtime · aspect · one-sentence takeaway before scaffolding. |
| Skipping stage 2 (SCRIPT) | Without a beat sheet, the composition becomes a pretty slideshow in arbitrary order. Pacing collapses. The script also tells you what assets you actually need in stage 4. | Always produce the beat sheet before generating any asset or writing TSX. |
| Generating assets before the script is approved | You'll generate assets that don't match the final beat sheet and burn the budget. Cost discipline starts here. | Stage 4 reads from stage 3's beat sheet. Order matters. |
Using CSS @keyframes or Tailwind animate-* classes inside Remotion | They run on wall-clock time, not composition frames. The video renders with elements stuck at opacity: 0. | Frame-driven only. useCurrentFrame() + interpolate() + spring(). See remotion-best-practices/rules/. |
Trusting /codex:image / /image-gen PNGs to have transparent backgrounds | Image models lie about transparency. Even with explicit prompts, they bake in white or off-white backgrounds intermittently. | Always batch-cut every transparent asset through rembg before composition. |
Rendering WebGL compositions without --gl=angle | The render runs but every WebGL effect renders as a blank canvas. You'll only notice after the full render finishes and you watch the MP4. | Always pass --gl=angle for any composition that uses HtmlInCanvas with WebGL, three.js, or any GPU shader. |
| Rendering the full composition before sampling stills | First render is almost never right. Layout bugs at the midpoint waste an entire render cycle. | Run a single-frame still at composition midpoint first. Then npx remotion still at 5 evenly-spaced frames. Then full render. |
Loading every rule file in remotion-best-practices/rules/ "just in case" | Context bloat. The 30+ rule files are an index, not a manifest. | Pick by intent. Shader → html-in-canvas.md. Type → text-animations.md. Voice → voiceover.md. The table in Stage 5 lists the mapping. |
Composing without reading brand/voice-profile.md (when present) | The voiceover and onscreen text drift off-voice. Then the user has to ask you to "make it sound more like us" in stage 6. | Read the voice profile before writing the script. Quote it back to anchor the writing. |
On Activation
- Run
mktg status --json. Ifhealth: "needs-setup", route to/mktg-setupfirst — same as/cmo. - Read brand/. Detect which of
voice-profile.md,audience.md,positioning.md,creative-kit.mdexist and are non-template. Surface what's populated and what's missing. - Verify prerequisites.
node --version≥ 22,npx --versionreachable. If the user's video uses voiceover, also confirmmktg doctorshows the voice provider (ElevenLabs). - Walk the six stages. Default to interactive — produce each stage's artifact, share it, ask "good?" before moving on. Pass
--autoto run stages 1, 3, 4 unattended (script and compose always require approval — they're not cheap to redo). - Tell the user where you are. Every stage transition: one sentence describing what you produced, what's next, and where the artifact lives.
Origin
This skill is the mktg-native counterpart to the personal-library /cmo-video skill. /cmo-video predates this one and is purpose-built for recreating a reference video. /cmo-remotion covers the larger case: building a new Remotion video from a brief, grounded in brand/. The two skills share philosophy (frame-driven only, render-then-inspect, conversation-not-pipeline) but split on the inception path.
The CRT template ships in v1 because it's the load-bearing demo for the HtmlInCanvas API — a code-driven, asset-free composition that proves out the WebGL render path end-to-end.
Alternatives
Compare before choosing
JasonColapietro/suede-creator-skills
suede-code-review
Find the bugs a diff can actually ship: TypeScript, React, Next.js, OWASP, accessibility, SEO, database, and deploy-risk review. Return findings, not a grade.
Jeffallan/claude-skills
nextjs-developer
Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implement middleware, set up API routes, add streaming SSR, write generateMetadata for SEO, scaffold loading.tsx/error.tsx boundaries, or deploy to Vercel. Triggers on: Next.js, Next.js 14, App Router, RSC, use server, Server Components, Server Actions, React Server Components, generateMetadata, loading.tsx, Next.js deployment, Vercel, Next.js performance.
wshobson/agents
brand-landingpage
Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —
github/awesome-copilot
flowstudio-power-automate-build
Build, scaffold, and deploy Power Automate cloud flows using the FlowStudio MCP server. Your agent constructs flow definitions, wires connections, deploys, and tests — all via MCP without opening the portal. Load this skill when asked to: create a flow, build a new flow, deploy a flow definition, scaffold a Power Automate workflow, construct a flow JSON, update an existing flow's actions, patch a flow definition, add actions to a flow, wire up connections, or generate a workflow definition from