# How to make a video with Claude Code and Kodecz

> Install the Kodecz plugin in Claude Code, ask for the video in plain words and insist on the loop: look at frames, run the checks, fix, and only then render. Claude Code writes the video as a web page, looks at previews and hands back the MP4. In the Kodecz Bench test, Claude Opus with only the documentation got 22 of 139 cases wrong.

Pedro Henrique Lahr, Konecz, 2026-12-05. https://konecz.com/en/blog/claude-code-fazendo-video

To make a video with Claude Code, install the Kodecz plugin, ask for the video clearly and require the agent to look and check before delivering. Claude Code writes the video as a web page, previews frames in one to two seconds, runs the automatic checks and only then renders the MP4. You get the file, the frames it looked at and the list of what was checked.

## What do I need first?

1. **Linux**, with Kodecz installed (`./instalar.sh` checks the system and says what is missing).
2. **Claude Code** working in the terminal.
3. **The Kodecz plugin**, which brings the skills and the MCP server: `/plugin install kodecz --marketplace konecz/kodecz`.

About the repository: the public `konecz/kodecz` was frozen on 11/12/2026. It stays available under Apache-2.0 but gets no new fixes; the engine lives on inside Konectaz, the Konecz product. For learning and testing, it works as it is.

## How do I write the request?

Ask the way you would ask an editor: what matters, no code details. An example:

> Make a 15-second vertical video, 1080 × 1920, for Reels. Title «Vinho verde não é verde» coming in during the first second, three short sentences explaining it, dark green background, white type. Before rendering, show me frames 0, 90 and 300 and run kodecz check.

The title in the example comes from a real video on the Vinhedo Digital profile («vinho verde is not green»), but any topic works. What makes a difference:

- **Format and destination.** 9:16 for Reels changes text size and the safe area. Naming the destination lets the checks enforce the right safe area.
- **Length.** In seconds; the agent converts it to frames.
- **Ask for previews and checks in writing.** The skill already says to do it, but asking again makes clear that you will look.

## What does Claude Code do next?

The `kodecz` skill's loop:

1. **Writes** the video folder with `index.html`, declaring size, frames per second and length.
2. **Looks** at the requested frames with `kodecz preview`. The pictures come back to it, and it actually looks.
3. **Checks** with `kodecz check`: text over a face, captions on two lines, safe area, contrast, a zoom out of step with the sentence. Exit 4 means a broken rule, with frame, element and reason.
4. **Fixes** it and checks again.
5. **Renders** with `kodecz render`, which prints one JSON line with the result.

If you also ask for it, it runs `kodecz review` with the MP4, which combines the checks, the contact sheets and the inspection of the final file.

## What do I get at the end?

- The MP4.
- The video folder, which is an ordinary web page: change a sentence and render again.
- The previews (PNG) the agent looked at.
- The check result, in JSON, showing what passed.

## How often does the agent get it right on its own?

Kodecz Bench measured that. In the first round, Claude Opus got only the documentation, without the full method, and missed **22 of 139 cases**, 15.8 %, at US$ 0.53 per case. The area with the most errors was editing: 36 %. A newer round with 300 cases gave a similar number: 35 errors in 219, 16.0 %.

The bench runner calls Claude Code in non-interactive mode (`claude -p`) inside a clean task folder, with none of our project's instruction files, to measure the agent as it arrives.

The honest reading: the agent gets most of them right, not all. That is why the checks exist, and why it is worth watching the video before posting.

## Tips we learned along the way

| Situation | What to ask |
|---|---|
| video with a presenter | «check that no text covers the face on any frame, including during the zoom» |
| captions | «captions always on one line, in both formats» |
| a small change | «change only item X; do not rewrite the rest» (redoing everything can lose what was already approved) |
| polished motion | run the model at its highest effort: at medium, quality drops visibly |

## Frequently asked questions

**Does it work with Claude Code on Windows or Mac?**
Kodecz runs on Linux. Claude Code has to be on a Linux machine with Kodecz installed, or connected to one.

**Can I use another agent instead of Claude Code?**
Yes. Codex, Cursor and Gemini CLI use the same skills with `npx skills add konecz/kodecz`. The bench test used Claude.

**Do I need to know how to code?**
To ask, no. To install Kodecz and read an install error, knowing your way around a terminal helps.

The method and the full numbers are in [AI agents making video](/en/blog/kodecz-agentes). If you would rather install nothing and get finished videos on your profile, [talk to Konecz](/en/contact).
