Great, I have a clear picture. Here's a summary of decisions so far:
- Use case: Full spectrum (social clips + polished marketing videos)
- Project home: Managed subdirectory, one-time scaffold
- Official skills: Bundle
@remotion/skills as dependency, layer FOS workflows on top
- Rendering: Local-first with optional cloud (Lambda)
- Templates: Composition-per-template (React components with typed props)
- TTS: Phase 2 (launch with text overlays + music first)
- Integration: New
video namespace with hooks into social:compose --format=video
Now let me propose approaches:
Approach A: Template-Driven Pipeline (Recommended)
FOS scaffolds a managed Remotion project with a curated template library (React compositions). Each template exposes typed props (headlines, images, colors, timing). Commands generate props from user input + brand kit, render locally via CLI, and hand off to the media-handler-agent for upload.
Pros: Predictable output, fast renders, easy to add templates, leverages official @remotion/skills for low-level guidance.
Cons: Templates need upfront design work. Users are constrained to template variants unless they edit React.
Approach B: Hybrid Template + Generative
Same template library as A, but adds a video:create command where Claude generates custom Remotion compositions on-the-fly for unique requests. Falls back to templates for common patterns.
Pros: Maximum flexibility — templates for speed, generative for creativity.
Cons: Generated compositions may have rendering bugs. Harder to quality-control. Higher token cost per video.
Approach C: Scene Graph Abstraction
A JSON-based scene description layer sits between FOS and Remotion. Commands produce scene JSON, a universal renderer translates to Remotion components. Templates are JSON files, not React code.
Pros: Users never touch React. Easier to serialize/store video definitions in Notion/SQLite.
Cons: Adds an abstraction layer that limits access to Remotion's full power. More code to maintain. Harder to leverage @remotion/skills rules directly.
My recommendation: Approach A — template-driven pipeline. It's the most predictable, maintainable, and aligned with how Founder OS already works (structured skills/commands with typed inputs). Templates can be expanded over time, and the composition-per-template model maps directly to Remotion's architecture. Approach B's generative mode can be added as a phase 2 enhancement alongside TTS.