# cinematic-skill (Moh4696/cinematic-skill)

> An agent skill that makes narrated cinematic films entirely from code. Your coding agent writes the script, records a voice, finds public-domain photos and builds one continuous camera move timed to the narration.

- GitHub: https://github.com/Moh4696/cinematic-skill
- GitHub.Locker page: https://github.locker/Moh4696/cinematic-skill
- Stars: 732
- Language: Python
- License: MIT
- Last push: 2026-11-09

## Questions and answers

Written by GitHub.Locker from the README and the repository; check the README below for details.

**Does it generate video with AI?**

No. Every frame is drawn by code with Skia in Python, so a film renders the same every time and changes are cheap to make.

**How do I get it running?**

Install through the npx skills CLI (Node 22.20+), which sets it up for Claude Code, Codex, Cursor, Gemini CLI and more, or use the shell installer that clones to ~/.cinematic-skill. Then start a new agent session and ask for a film.

**What do I need besides the agent?**

Node 22.20+ for the npx route, Python for the renderer, and ffmpeg on your PATH. Run checksetup.py from the skill to see what is missing.

**Any install pitfalls or slow parts?**

A missing ffmpeg on PATH is the first thing to check. Renders also take real time: the 92 second example takes about 6 minutes at 1080p on a 16 GB laptop.

**Which systems does it run on?**

The README names macOS for the scratch voice and ships a shell installer, and says nothing about Windows. macOS and Linux are the safe bets.

**Does it need internet?**

Photo search and download use Wikimedia Commons, so that step needs a connection. The README does not say which TTS service the final voice would use.

**Can I use my own photos instead of public-domain ones?**

Yes. You can add your own photos, screenshots or AI stills, and the items such as torn clippings, stamps, cards, maps and red string work on every look.

**What kinds of films does it make?**

Documentaries, product launches, science explainers and tech or trailer films, each with its own look such as a cork evidence wall, studio, blueprint or night.

**Is there a finished example to watch?**

Yes, 'Twelve Seconds', a 90 second documentary made from seven public-domain photos, ships with the skill as the worked example.

**Where did the code come from?**

It was extracted from a 5 minute documentary about Al Capone that exploraX made with an agent, and the rules were written from what broke along the way.


---

## README (checked against GitHub 2026-11-18)

Source: https://github.com/Moh4696/cinematic-skill/blob/main/README.md

<h1 align="center">Cinematic Skill</h1>

<p align="center">Narrated cinematic films, built entirely from code, by your coding agent.</p>

<p align="center">
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-24292f?style=flat" alt="MIT License" /></a>
  &nbsp;
  <img src="https://img.shields.io/badge/agents-Claude%20Code%20%C2%B7%20Codex%20%C2%B7%20Cursor%20%C2%B7%20Gemini%20%C2%B7%20OpenCode-24292f?style=flat" alt="Works with Claude Code, Codex, Cursor, Gemini CLI and OpenCode" />
  &nbsp;
  <a href="https://github.com/Moh4696/cinematic-skill/actions/workflows/check.yml"><img src="https://github.com/Moh4696/cinematic-skill/actions/workflows/check.yml/badge.svg" alt="Checks" /></a>
</p>

<p align="center">
  <img src="examples/film-cold-open.webp" alt="The cold open of a code-built documentary about the first flight: the date set big on a yellow block, the camera pulls back to a map pin on the Outer Banks, then glides to the 1903 first-flight photograph pinned to a cork wall as counters roll up to 12 seconds and 120 feet." width="100%" />
</p>

Ask your agent for "a 90 second documentary about the Wright brothers" and it writes the script, records a voice, finds public-domain photos with their licences, and builds one continuous camera move over a single designed world. Stamps slam, highlighters swipe and numbers roll up on the exact word the narrator says. It finishes with sound effects, an optional score and burned-in captions.

Nothing is generated video. Every frame is drawn by code (Skia, in Python), so the film renders the same every time, changes are cheap, and a new voice re-times the whole film by itself.

<table>
  <tr>
    <td width="50%"><img src="examples/film-wall.webp" alt="The final pull-back of the documentary: a US map print with Ohio and North Carolina filled, a route from Dayton to Kill Devil Hills, portraits, a typeset letter, Langley's failed machine with two stamps, and the first-flight photo with its counters, all on one cork wall" /></td>
    <td width="50%"><img src="examples/film-explainer.webp" alt="The starter explainer in the light studio look: the title From Cherry to Cup over four cards, Grow, Pick, Roast and Brew, joined by arrows, with a 200 degree counter" /></td>
  </tr>
</table>

<sub>Left: the final frame of "Twelve Seconds", the 90 second documentary that ships as the worked example, made from seven public-domain photos. Right: the starter explainer that every new project begins as.</sub>

## Install

```bash
npx skills add Moh4696/cinematic-skill
```

That uses the [`npx skills`](https://github.com/vercel-labs/skills) CLI (Node 22.20+). It installs for Claude Code, Codex, Cursor, Gemini CLI, OpenCode and dozens more. Start a new agent session afterwards.

<details>
<summary>Claude Code plugin</summary>

```
/plugin marketplace add Moh4696/cinematic-skill
/plugin install cinematic-skill@cinematic-skill
```

</details>

<details>
<summary>Codex plugin</summary>

```bash
codex plugin marketplace add Moh4696/cinematic-skill
codex plugin add cinematic-skill@cinematic-skill
```

</details>

<details>
<summary>Gemini CLI</summary>

```bash
gemini extensions install https://github.com/Moh4696/cinematic-skill
```

</details>

<details>
<summary>Without Node: the shell installer</summary>

```bash
curl -fsSL https://raw.githubusercontent.com/Moh4696/cinematic-skill/main/install.sh | bash
```

It clones to `~/.cinematic-skill` and links the skill into every coding agent it finds. Run it again to update. From a clone: `./install.sh --claude --codex`, `./install.sh --dir path/to/skills`, `./install.sh --copy`, `./install.sh --uninstall`.

</details>

Then install what the scripts use:

```bash
pip install -r requirements.txt      # skia-python, numpy, pillow (scipy optional)
```

ffmpeg must be on your PATH. The skill's `check_setup.py` checks everything and says what's missing.

## What it makes

| Kind | Look | Images |
| --- | --- | --- |
| Documentary, history, true crime | Cork evidence wall, slate | Archive photos and documents, black and white |
| Product launch, brand or founder story | Studio, charcoal | Your own product shots and photos, in colour |
| Science, engineering, how it works | Blueprint, paper | Diagrams, archive or AI stills |
| Tech, space, trailers | Night | Screenshots, renders, AI stills |

The items work on every look:

- photos and torn newspaper clippings
- typeset documents with real quotes
- clean cards
- big distressed type and rolling counters
- stamps, pen circles and highlighter swipes
- red string between prints
- maps of any country, with filled regions, routes and markers

A spotlight follows the camera so each line has one hero.

## How it works

1. **Story.** The agent researches, fact-checks and writes the script: one idea per line, and time only moves forward after the opening. Each line also says what the camera shows. A beat table with a chronology lint goes to you for approval.
2. **Voice.** A free scratch voice (macOS `say` or espeak-ng) times the film first. The final voice can be any TTS or a person, recorded one section at a time and split into timed lines automatically. Suspect cuts get flagged.
3. **Images.** Wikimedia Commons search and download, with each licence recorded. Non-free files are refused. You can also add your own photos or AI stills. `credits.md` is written for you.
4. **Scene.** A short Python file places items on the voice's timing (`doc.W(line, "word")`) and keys the camera.
5. **Review.** The agent renders stills and contact strips of every move and checks them for known mistakes before showing you a draft.
6. **Sound and finish.** It synthesises the sound effects (nothing to license) and mixes them with the voice and an optional score, ducked and loudness-normalised. A memory-aware parallel render follows, then four caption styles and an SRT.

The agent stops for your approval after the beat table, the look, and a 30 second draft.

## Try the example

```bash
cd skills/cinematic-film/scripts
python3 new_project.py ~/wright --example
python3 fetch_commons.py get --project ~/wright
python3 make_map.py --project ~/wright && python3 prep_assets.py --project ~/wright
python3 tts_say.py --project ~/wright && python3 split_takes.py --project ~/wright && python3 build_narration.py --project ~/wright
python3 render.py --project ~/wright --size 1280x720 --out out/draft.mp4 --audio audio/narration.m4a
```

On a 16 GB laptop the 92 second film renders at 1080p in about 6 minutes.

## Credits

Built from a 5 minute documentary about Al Capone that exploraX made with an agent, then opened up to any subject. The rules and code here were written from what broke along the way. The example film uses public-domain photographs from Wikimedia Commons; see its `photos.json`.

## Works well with

- [Open 3D Skills](https://github.com/Moh4696/open-3d-skills): three.js scenes, scroll films and frame-exact recording, from the same author. Its `motion-assets` skill plans AI stills.

## Feedback

Open an issue or a pull request, or find me on X at [@exploraX_](https://x.com/exploraX_).

## License

[MIT License](LICENSE) · Copyright (c) 2026 exploraX

