Video-Editing

README.md

Demo Factory — Video Editing Project

Claude Code plugin that generates 30–60s product demo videos from a running dev server + project documentation.

Phase 1 of ArijitOS Demo Studio.

Current Status (2026-05-04)

Implementation complete. All 22 tasks done. 88 tests passing. tsc clean. Real Remotion render confirmed. Pending: real e2e pipeline run against a live dev server.

What Status
All 22 plan tasks ✅ Done
88 unit + integration tests ✅ Passing
TypeScript strict mode ✅ Clean
Real Remotion MP4 (smoke render) ✅ 6s 9:16 video confirmed
Real pipeline (live app) ⏳ Blocked — needs capture.yaml + running app
11Labs voice generation ⏳ Next phase
Heygen avatar ⏳ Next phase
Google Drive upload ⏳ Next phase

What It Is

A Claude Code plugin with 3 invocation surfaces: - /demo <product> <url> — slash command - Conversational skill — activates from natural language ("build a demo for Crawler Factory") - npx tsx cli/demo-factory.ts build — standalone CLI

Pipeline: init → captured → synopsized → scripted → rendered → done

4 LLM synthesis points only. Everything else is deterministic TypeScript: - LLM-1 (Sonnet): synopsis from vault docs - LLM-2 (Opus): multi-track script from synopsis + captured screens - LLM-3 (Haiku): interaction log → capture.yaml - LLM-4 (Haiku): CSS/favicon → brand.yaml

Vault Structure

Projects/Video-Editing/
  README.md             ← this file
  Specs/
    2026-05-03-demo-factory-design.md   ← approved spec v1.1 (source of truth)
    SCRATCHPAD.md                       ← brainstorm + decisions D0–D17
  Research/
    2026-05-03-claude-video-skills-landscape.md

Products/               ← created at runtime per product
  <slug>/
    capture.yaml        ← Playwright replay script
    brand.yaml          ← brand override
Runs/                   ← created at runtime per run
  <run-id>/
    run.json            ← pipeline state
    synopsis.md
    script.json

Repo

/Users/arijitchowdhury/AI-Development/Video_Editing/ GitHub: https://github.com/arijitchowdhury80/Video_Editing (private)

Key files: - cli/demo-factory.ts — standalone binary - scripts/render.ts — Remotion pipeline (base64 asset embedding) - engine/src/DemoComposition.tsx — Remotion composition root - skills/demo-factory/SKILL.md — main orchestrator skill - SESSION.md — session continuity (read first when resuming)

Target Products

Crawler Factory, Algolia Central, PRISM, NoCo II.

Next Actions

  1. Write capture.yaml for a product + run npx tsx cli/demo-factory.ts build --product <slug> --url <url> --tracks text
  2. Wire render step into CLI build command (currently stops after capture)
  3. 11Labs voice test (next phase)

Locked Decisions (D0–D17)

See Specs/SCRATCHPAD.md for full decision log. Summary: - Claude Code plugin (D0), 3 invocation surfaces (D1), 4-gate pipeline (D2) - Hybrid capture: replay yaml if exists, live-record on first run (D3) - Layered docs: Vault → Repo → Pasted (D4) - Multi-track script: VO + text overlay + avatar (D5) - Remotion render engine (D6), 9:16 default (D7) - Pluggable providers (D8), base+per-product brand (D9) - Split storage: text vault / binaries disk / MP4 cloud (D10) - 4 LLM points only, Opus/Sonnet/Haiku per task (D15) - All skills via skill-creator, no hand-written skills (D16)

Future Scope (Phase 2+)

UGC ads, LinkedIn carousels, AI b-roll (Veo/Sora/Kling), multi-channel distribution, demo library, avatar + voice library, full video editing suite. See spec Section 10.