programmatic-video
Skill39 starsChanged 8 months agoMITView on GitHub
Programmatic Video enables React-based video rendering with Remotion, where every frame is a React component and every animation is expressed in code.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- badgids/Story-Film-Skillstheir own version, first seen Aug 19, 2026
- itallstartedwithaidea/claude-googleadsagentword for word, first seen May 21, 2026
Other versions2 projects use a version of this.
Word for word · 1
- itallstartedwithaidea/claude-googleadsagent★ 2100% same
Edited · 0
None found.
Wrote their own version · 1
- badgids/Story-Film-Skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- continuous-learningSkill
- entity-memory-managementSkill
- knowledge-base-injectionSkill
- long-horizon-workflowsSkill
- mcp-server-creationSkill
- memory-persistenceSkill
- multi-model-routingSkill
- parallel-agent-orchestrationSkill
- proactive-intelligenceSkill
- token-optimizationSkill
- adversarial-resilienceSkill
- agent-instinct-systemSkill
- anthropic-tool-masterySkill
- cognitive-scaffoldingSkill
- context-engineeringSkill
- multi-harness-portabilitySkill
- prompt-architectureSkill
- self-healing-agentsSkill
- session-archaeologySkill
- verification-loopsSkill
- ad-copy-generationSkill
- audience-targetingSkill
- budget-optimizationSkill
- competitor-analysisSkill
- conversion-trackingSkill
- google-ads-auditSkill
- keyword-researchSkill
- landing-page-auditSkill
- pmax-optimizationSkill
- quality-score-optimizationSkill
- remarketing-strategySkill
- shopping-adsSkill
- ci-cd-pipelinesSkill
- cloudflare-workersSkill
- configuration-managementSkill
- edge-renderingSkill
- observabilitySkill
- service-discoverySkill
- ml-model-integrationSkill
- web-asset-generationSkill
- ai-chat-studioSkill
- assistant-presetsSkill
- batch-processingSkill
- knowledge-base-ragSkill
- low-code-generationSkill
- workflow-orchestrationSkill
- bioinformaticsSkill
- cheminformaticsSkill
- data-analysisSkill
- database-lookupSkill
- geospatial-analysisSkill
- machine-learningSkill
- research-methodologySkill
- scientific-writingSkill
- agent-security-scanningSkill
- codeql-semgrepSkill
- sandbox-hardeningSkill
- secret-protectionSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 142
Use spring() for natural-feeling animations instead of linear interpolation
- Distinctive: line 144
Keep compositions at 30fps for standard content, 60fps for smooth motion
- Very specific: line 146
Use <Sequence> to organize scenes with explicit timing, not frame-based conditionals
- Distinctive: line 147
Test video output at multiple resolutions (1080p, 720p, square) for platform compatibility
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Programmatic Video
Part of Agent Skills™ by googleadsagent.ai™
Description
Programmatic Video enables React-based video rendering with Remotion, where every frame is a React component and every animation is expressed in code. The agent builds video compositions with sequences, transitions, spring animations, and data-driven content, producing MP4/WebM output rendered in headless Chromium without any video editing software.
Traditional video editing is manual, non-reproducible, and impossible to template. Programmatic video treats video as code: compositions are versioned in git, parameterized for batch rendering, and tested with snapshot assertions. A single template can generate thousands of personalized videos by changing the input data—product demos, social media clips, onboarding sequences, or marketing videos, each customized per recipient.
Remotion's architecture maps React's component model to video: each component receives a frame number and the total durationInFrames, using these to calculate animations, transitions, and timing. The agent composes scenes from reusable components, orchestrates their timing with <Sequence> wrappers, and applies spring-based physics animations for natural motion.
Use When
- Creating videos from code without video editing software
- Generating personalized or data-driven video content at scale
- Building animated explainers, product demos, or social media clips
- Automating video production in CI/CD pipelines
- The user requests "programmatic video", "Remotion", or "video from code"
- Producing video assets with consistent branding across hundreds of variants
How It Works
graph TD
A[Video Specification] --> B[Define Composition: FPS + Duration]
B --> C[Build Scene Components]
C --> D[Arrange with Sequences]
D --> E[Add Spring Animations]
E --> F[Inject Dynamic Data]
F --> G[Preview in Browser]
G --> H{Approved?}
H -->|No| C
H -->|Yes| I[Render: Headless Chromium]
I --> J[Encode: MP4 / WebM]
J --> K[Output Video File]Each scene is a React component that receives the current frame number. Compositions define the canvas size, frame rate, and total duration. Sequences place scenes at specific time offsets. Rendering captures each frame as a screenshot and encodes them into video.
Implementation
import { AbsoluteFill, Composition, Sequence, useCurrentFrame, useVideoConfig,
interpolate, spring } from "remotion";
const TextReveal: React.FC<{ text: string }> = ({ text }) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const opacity = interpolate(frame, [0, 15], [0, 1], { extrapolateRight: "clamp" });
const translateY = spring({ frame, fps, config: { damping: 12, stiffness: 200 } });
const y = interpolate(translateY, [0, 1], [40, 0]);
return (
<AbsoluteFill style={{ justifyContent: "center", alignItems: "center" }}>
<h1 style={{
fontSize: 72,
fontWeight: "bold",
color: "white",
opacity,
transform: `translateY(${y}px)`,
}}>
{text}
</h1>
</AbsoluteFill>
);
};
const DataDrivenSlide: React.FC<{ metric: string; value: number }> = ({ metric, value }) => {
const frame = useCurrentFrame();
const displayValue = Math.round(interpolate(frame, [0, 45], [0, value], { extrapolateRight: "clamp" }));
return (
<AbsoluteFill style={{ justifyContent: "center", alignItems: "center", background: "#0a0a0a" }}>
<div style={{ textAlign: "center" }}>
<div style={{ fontSize: 120, fontWeight: "bold", color: "#3b82f6" }}>
{displayValue.toLocaleString()}
</div>
<div style={{ fontSize: 32, color: "#a1a1aa", marginTop: 16 }}>{metric}</div>
</div>
</AbsoluteFill>
);
};
export const MainComposition: React.FC<{ title: string; metrics: Array<{ name: string; value: number }> }> = ({
title, metrics
}) => {
return (
<AbsoluteFill style={{ background: "#0a0a0a" }}>
<Sequence durationInFrames={60}>
<TextReveal text={title} />
</Sequence>
{metrics.map((m, i) => (
<Sequence key={m.name} from={60 + i * 75} durationInFrames={75}>
<DataDrivenSlide metric={m.name} value={m.value} />
</Sequence>
))}
</AbsoluteFill>
);
};
export const RemotionRoot: React.FC = () => (
<Composition
id="MainVideo"
component={MainComposition}
durationInFrames={300}
fps={30}
width={1920}
height={1080}
defaultProps={{
title: "Q1 Performance",
metrics: [
{ name: "Page Views", value: 18247 },
{ name: "Conversions", value: 1432 },
{ name: "Revenue", value: 89500 },
],
}}
/>
);# Preview in browser
npx remotion studio
# Render to MP4
npx remotion render MainVideo output.mp4
# Batch render with different data
npx remotion render MainVideo --props='{"title":"Q2","metrics":[...]}'Best Practices
- Use
spring()for natural-feeling animations instead of linear interpolation - Clamp all
interpolate()calls to prevent values from overshooting - Keep compositions at 30fps for standard content, 60fps for smooth motion
- Preload all assets (images, fonts) before rendering to avoid missing frames
- Use
<Sequence>to organize scenes with explicit timing, not frame-based conditionals - Test video output at multiple resolutions (1080p, 720p, square) for platform compatibility
Platform Compatibility
| Platform | Support | Notes |
| Cursor | Full | React + Remotion development |
| VS Code | Full | Remotion extension available |
| Windsurf | Full | React-based development |
| Claude Code | Full | Component + config generation |
| Cline | Full | Video pipeline setup |
| aider | Partial | Code generation only |
Related Skills
- Web Asset Generation
- ML Model Integration
- View Transitions
- Batch Processing
Keywords
programmatic-video remotion react-video animation data-driven-video batch-rendering composition spring-animation
© 2026 googleadsagent.ai™ | Agent Skills™ | MIT License
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

