Skip to main content
Back

Cinecode Turns Coding Agents Into Full Video Production Crews

A new open source skill turns Claude Code and Cursor into a filmmaking crew that writes, codes, scores and renders entire videos as MP4 files.

Repo, Full Access
  • cinecode is an MIT-licensed skill that turns Claude Code or Cursor into a code-first filmmaking agent.
  • Every frame is rendered deterministically in headless Chrome via Canvas 2D or three.js, no video model required.
  • Two modes: Quick (single-file film under ~3 min) and Film (six-step pipeline for long-form, research-backed work).
  • Ships with eight preset looks, a named camera vocabulary, licensing-clean fonts and samples, and -14 LUFS audio mastering.
  • Outputs 9:16, 1:1 and 16:9 versions with safe areas, plus a credits file for YouTube, TikTok and Instagram descriptions.
  • Weak on photoreal faces; strong on explainers, ads, documentaries, kinetic typography and beat-synced music videos.

Cinecode is a new MIT-licensed project that uses a coding agent to produce videos with JavaScript, headless Chrome, Web Audio, and an MP4 mastering pipeline. The repository has attracted 2 GitHub stars by showing how code can handle animation, editing, sound design, and delivery without a video diffusion stage.

The approach gives developers an editable production artifact instead of a sequence of sampled frames. Teams can version the source, inspect individual shots, apply precise revisions, render multiple aspect ratios, and reproduce an approved cut without paying for visual-model inference on every frame.

A browser becomes the render engine

Cinecode directs the agent to write the film as JavaScript-driven scenes. Headless Chrome renders each frame, Web Audio handles sound, and the mastering process assembles the result into an MP4. Agent calls remain part of planning, research, writing, and code generation, while visual rendering uses local browser compute.

The project can incorporate source material from Wikimedia, the Internet Archive, NASA, museums, and Pixabay when a story requires archival footage or photography. Generated and downloaded assets are recorded in LICENSES.csv, and the final render includes a credits file.

Animation state is designed as a function of timeline time, making saved projects repeatable when the browser, fonts, assets, and dependencies remain fixed. Pixel output may still vary across operating systems or toolchain versions, and the repeatability applies to rendering existing code rather than asking an agent to regenerate it.

Installation stays inside the agent

Cinecode is distributed as an agent skill containing instructions, reference material, scripts, and workflow hooks. Installation places the project under ~/.claude/skills/cinecode, after which a user can open an empty folder and ask the agent to create a short film.