# Codereel

> Turn code into promo videos: real app UI, cuts on the beat, and one command to re-render when the copy, size or track changes.

Codereel is a paid AI agent skill on Agensi by MAJI, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Version: 1.1
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/codereel
- Tags: image, ffmpeg, gsap

## About this skill

Your app is great, but the demo video stutters, eats a weekend in an editor, and has to be redone for every small change. Ask your agent for "a 30 second promo for the app" and Codereel builds the video as a web page: every layer is a function of time, cuts land on the beat, and Playwright renders it frame by frame into an MP4 with music and sound effects mixed in.

### Why it's different
- **Real UI, never AI guesses:** footage comes from your production build or approved posters, so buttons and text look exactly like the product.
- **Change a line, render again:** new copy, new aspect ratio or new track is one edit and one command, with the same frames every time.
- **No credits, no licence fees:** plain HTML, Playwright and ffmpeg; music composed in code or a track you have the rights to.
- **Built from real projects:** 16 pitfalls that actually happened, each with its guard.

### What it does
- **Timeline in code:** `renderAt(ms)` drives every layer, with cuts on a 120 or 128 BPM grid and a seeded random source so re-renders match.
- **Multi-format output:** MP4 in 9:16 and 16:9, 7 to 60 seconds, plus GIF export for stickers and chat previews.
- **Audio in versions:** 2-3 music options with SFX on the hit points, ducked and normalised to about -14 LUFS, with a `LICENSES.md`.
- **QA before delivery:** ffprobe checks, black and frozen frame detection, and OCR of sampled frames for typos and stale numbers.
- **Style variants:** Apple-style commercial rules (one idea per shot, one hero colour, hook in the first 3 s), poster reels and generative backgrounds.

### How it works
1. **Concept first:** duration, aspects, style, BPM grid, scene list and CTA agreed before anything renders.
2. **Footage:** real app capture from a production build, with IDs scrambled and dates frozen.
3. **Film:** `film.html` with a time-driven timeline; cut and hit points exported for the audio.
4. **Render and mix:** Playwright seeks each frame into ffmpeg, then the audio versions are muxed without re-encoding the video.
5. **QA and handoff:** contact sheet, OCR and probe checks, then the owner picks a version.

### Frameworks & tools
Node.js, Playwright, ffmpeg and optionally GSAP. Python with numpy/scipy for music and SFX composed in code. Tesseract for the OCR pass if installed.

### Use cases
- App intros and feature launches with real UI and beat-synced type.
- Weekly social reels made from approved posters, no new shoot.
- One campaign exported to 9:16 and 16:9 from the same source.
- Quick re-cuts when pricing, copy or the soundtrack changes.

### Known limitations
Needs Node.js, Playwright and ffmpeg on your machine. Not for live-action, interview or talking-head editing, and it does not generate AI footage.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Codereel skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Do I need an AI video tool or paid credits?

No. Everything renders locally with HTML, Playwright and ffmpeg.

### What do I need installed?

Node.js, Playwright and ffmpeg. Python with numpy and scipy if you want music composed in code; Tesseract for the OCR check.

### Can I change the video after it is done?

Yes. Edit the line (copy, size, timing or track) and run the same render command again.

### Where does the music come from?

Either composed in code by the skill, or a track you supply. Each source and licence is recorded in LICENSES.md.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
