Skip to content

skill(remotion): programmatic video generation with AWS Lambda#1893

Open
jorgenclaw wants to merge 1 commit into
nanocoai:mainfrom
jorgenclaw:skill/remotion-v2
Open

skill(remotion): programmatic video generation with AWS Lambda#1893
jorgenclaw wants to merge 1 commit into
nanocoai:mainfrom
jorgenclaw:skill/remotion-v2

Conversation

@jorgenclaw
Copy link
Copy Markdown

Summary

  • Adds Remotion video generation as a V2 feature skill — React components rendered to MP4 via AWS Lambda
  • Host skill (.claude/skills/add-remotion/) walks through setup: IAM user, Lambda deploy, credential wiring
  • Container skill (container/skills/remotion/) teaches the agent how to create compositions, generate TTS narration, and render
  • CLI tool (tools/remotion-render) wraps site deploy → Lambda render → S3 download into one command
  • IAM policy scoped to remotion-render-* functions and remotionlambda-* buckets (not wildcard *)

377 lines across 4 files. Zero npm dependencies on trunk — Remotion packages install per-group.

How it works

  1. User runs /add-remotion → Claude merges skill/remotion-v2, walks through AWS setup
  2. Agent creates React video compositions in the group's remotion/src/ directory
  3. remotion-render <CompositionId> <output>.mp4 deploys to Lambda, renders, downloads the MP4
  4. Agent delivers the video back to the chat

How it was tested

Production-proven on NanoClaw V2 since April 2026 — 20+ videos rendered including product demos, social media content, and showcase reels. Proven settings documented: gpt-4o-mini-tts echo voice at 1.15×, WAV format, BUFFER=80 frames, --frames-per-lambda=60 for AWS free-tier 10-concurrency cap.

Change type

  • Feature skill

🤖 Generated with Claude Code

…mbda

Battle-tested V2 skill for creating MP4 videos from React components,
rendered serverless on AWS Lambda.

Includes:
- Host skill (.claude/skills/add-remotion/) — setup walkthrough: IAM user,
  Lambda deploy, credential wiring, container mounts
- Container skill (container/skills/remotion/) — agent instructions for
  creating compositions, TTS narration, and rendering via remotion-render CLI
- CLI tool (tools/remotion-render) — wraps site deploy + Lambda render +
  S3 download into a single command
- IAM policy (aws-policies/) — scoped to remotion-render-* functions and
  remotionlambda-* buckets (not wildcard *)

Proven settings documented: gpt-4o-mini-tts echo voice at 1.15x, WAV format,
BUFFER=80 frames, --frames-per-lambda=60 for 10-concurrency cap.

Production-proven: 20+ videos rendered on NanoClaw V2 since April 2026.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant