programmatic-video

Generate deterministic video content using Three.js, Remotion, and FFmpeg.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/FreedomLabNYC/skills --skill programmatic-video-freedomlabnyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: programmatic-video
Source: https://github.com/FreedomLabNYC/skills/tree/main/programmatic-video
Command: npx skills add https://github.com/FreedomLabNYC/skills --skill programmatic-video-freedomlabnyc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires three.js, remotion, ffmpeg, puppeteer, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation of videos through code-first, agent-friendly tools, reducing the need for manual video editing and increasing productivity.

Core Features & Use Cases

  • Code-Driven Video Creation: Offers a suite of tools like Three.js, Remotion, and FFmpeg for video creation.
  • Template-Driven Composition: Supports template-driven and data-driven video compositions.
  • Use Case: Ideal for scenarios where AI agents are required to create promotional videos, explainers, or technical demonstrations.

Quick Start

Run the 'create-video' command with desired parameters to generate a video programmatically.

Frequently Asked Questions about programmatic-video

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate video creation using code-driven tools?

Programmatic video creation uses frameworks like Three.js for 3D scenes, Remotion for data-driven composition, and FFmpeg for encoding to generate video content automatically through code. This eliminates manual editing and enables deterministic, repeatable video outputs for automated workflows.

What is the best way to render Three.js 3D scenes into a video file?

Render Three.js 3D scenes into a video file by composing the 3D scenes programmatically and using FFmpeg for final video encoding. This Skill handles the pipeline by capturing browser-based Three.js content through headless browsers and encoding the output deterministically.

Can I use Remotion for data-driven video generation in automated workflows?

Yes, Remotion supports data-driven video generation for automated workflows. It enables template-driven and data-driven video compositions, allowing AI agents to programmatically generate promotional videos, explainers, or technical demonstrations by binding dynamic data directly to video templates.

Do I need a headless browser to capture browser-based content for video rendering?

Yes, a headless browser is required to capture browser-based content for video rendering. This Skill uses Puppeteer to capture browser-rendered Three.js and Remotion content, which is then passed to FFmpeg for final video encoding to produce the deterministic output.

Does FFmpeg work with Remotion and Three.js for final video encoding?

FFmpeg works with Remotion and Three.js by performing the final video encoding. While Three.js handles 3D scene composition and Remotion manages data-driven video creation, FFmpeg processes the captured browser output to encode the final video file in the desired format.

When should I not use code-driven video creation for generating content?

You should not use code-driven video creation for projects requiring highly nonlinear, manual creative editing or arbitrary artistic adjustments. This approach is designed for deterministic, template-driven, and data-driven video compositions, making it ideal for automated workflows rather than freeform editing.