cinematic-skill README

README проекта с github.com/Moh4696/cinematic-skill. Одним файлом markdown: README.md.

Cinematic Skill

Narrated cinematic films, built entirely from code, by your coding agent.

MIT License   Works with Claude Code, Codex, Cursor, Gemini CLI and OpenCode   Checks

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.

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.

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 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

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.

Install

npx skills add Moh4696/cinematic-skill

That uses the npx skills CLI (Node 22.20+). It installs for Claude Code, Codex, Cursor, Gemini CLI, OpenCode and dozens more. Start a new agent session afterwards.

Claude Code plugin
/plugin marketplace add Moh4696/cinematic-skill
/plugin install cinematic-skill@cinematic-skill
Codex plugin
codex plugin marketplace add Moh4696/cinematic-skill
codex plugin add cinematic-skill@cinematic-skill
Gemini CLI
gemini extensions install https://github.com/Moh4696/cinematic-skill
Without Node: the shell installer
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.

Then install what the scripts use:

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:

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

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

Feedback

Open an issue or a pull request, or find me on X at @exploraX_.

License

MIT License · Copyright (c) 2026 exploraX

cinematic-skill (Moh4696/cinematic-skill)

Ищем в базе…

Что это такое?Навык для агента, который создает озвученные кинематографические фильмы полностью с помощью кода. Ваш агент для программирования пишет сценарий, записывает голос, находит фотографии из общественного достояния и создает одно непрерывное движение камеры, синхронизированное с закадровым текстом.
Создает ли он видео с помощью ИИ?Нет. Каждый кадр отрисовывается кодом с помощью Skia на Python, поэтому фильм каждый раз выходит одинаковым, а правки обходятся недорого.
Как мне его запустить?Установите через CLI npx skills (Node 22.20+), который настроит его для Claude Code, Codex, Cursor, Gemini CLI и других, или воспользуйтесь установщиком для командной строки, который клонирует репозиторий в ~/.cinematic-skill. Затем начните новую сессию агента и попросите сделать фильм.
Что нужно помимо агента?Node 22.20+ для маршрута через npx, Python для рендерера и ffmpeg в вашей переменной PATH. Запустите checksetup.py из навыка, чтобы увидеть, чего не хватает.
Есть ли подводные камни при установке или медленные места?Первое, что стоит проверить, — отсутствие ffmpeg в PATH. Рендеринг тоже занимает время: пример на 92 секунды рендерится примерно 6 минут в 1080p на ноутбуке с 16 ГБ памяти.
На каких системах он работает?В README для черновой озвучки назван macOS, есть установщик для командной строки, а о Windows ничего не сказано. Надежнее всего macOS и Linux.
Нужен ли интернет?Поиск и загрузка фото идут через Wikimedia Commons, поэтому для этого шага нужно подключение. В README не сказано, какой сервис синтеза речи (TTS) будет использоваться для финального голоса.
Можно ли использовать свои фото вместо фото из общественного достояния?Да. Можно добавить свои фото, скриншоты или кадры, созданные ИИ, а такие элементы, как рваные вырезки, марки, карточки, карты и красная нить, работают в каждом стиле.
Какие фильмы он делает?Документальные фильмы, презентации продуктов, научно-популярные объяснения и технические или трейлерные ролики, каждый со своим стилем, например пробковой стеной с уликами, студией, чертежом или ночной сценой.
Есть ли готовый пример, который можно посмотреть?Да, «Twelve Seconds», документальный фильм на 90 секунд, снятый из семи фотографий из общественного достояния, входит в навык как разобранный пример.
Откуда взялся код?Код был извлечен из 5-минутного документального фильма про Аль Капоне, который exploraX сделал с помощью агента, а правила написаны на основе того, что ломалось по ходу работы.
Автор
Moh4696
Размер
1.9 MB
Звёзды
732
Обновлён
КоммитNov 09
Возраст
9 д
Коммиты · 90 дней