К основному содержанию
скилл CX Codex

reverse-engineer-video — скилл для Claude Code: анализ видео

Скилл reverse-engineer-video для Claude Code разбирает монтаж референсного ролика и готовит план для его пересъёмки. Запускается по просьбе найти склейки, движения камеры, ритм или сравнить ремейк с оригиналом.

MIT ★ 541 обновлён 2026-11-09

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add dotslashsimran/simcraft --skill reverse-engineer-video -a claude-code
Открыть на GitHub

Что делает reverse-engineer-video

Скилл анализирует ролик: отмечает склейки и растворения, измеряет длительность кадров и темп, определяет движения камеры, музыкальные акценты и скачки громкости. Он создаёт контактный лист, ленту таймлайна, breakdown.md с картой акцентов и планом пересъёмки, а также breakdown.json. Текст в кадре и речь распознаются, если установлены нужные инструменты.

Скрипты запускаются через python3 и требуют numpy. sh setup.sh добавляет OpenCV для отслеживания быстрых движений, а sh setup.sh --whisper — распознавание речи; для чтения текста в кадре нужен tesseract в PATH. Для сравнения оригинала и ремейка можно получить изображения или видео рядом, вертикально либо с наложением. Анализ и сравнение запускаются скриптами из scripts/; результаты анализа следует сохранять не в папку исходного ролика.

Какие задачи решает

  • найти склейки и измерить длительность кадров
  • определить движения камеры и моменты музыкальных акцентов
  • составить план пересъёмки по референсу
  • сравнить ремейк с оригиналом на одинаковых моментах

Примеры запросов агенту

  • Разбери этот ролик и составь план пересъёмки.
  • Определи движения камеры и проверь, попадают ли склейки в музыкальные акценты.
  • Сравни мой ремейк с оригиналом и покажи различия.

Как установить reverse-engineer-video

1Через Skills CLI (Vercel)

npx skills add dotslashsimran/simcraft --skill reverse-engineer-video -a claude-code

2Вручную: положить файлы

~/.claude/skills/reverse-engineer-video/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/reverse-engineer-video/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о reverse-engineer-video

Как установить reverse-engineer-video в Claude Code?

Выполни npx skills add dotslashsimran/simcraft --skill reverse-engineer-video -a claude-code. Файл скилла устанавливается в ~/.claude/skills/reverse-engineer-video/SKILL.md.

Что делает reverse-engineer-video?

Размечает кадры, темп и движения камеры в ролике, собирает карту акцентов и план пересъёмки. Также сравнивает ремейк с оригиналом по кадрам или в видео.

Что нужно для работы reverse-engineer-video?

Нужны python3 и numpy. Для отслеживания быстрых движений требуется OpenCV, для распознавания речи — установка через sh setup.sh --whisper, а для чтения текста в кадре нужен tesseract в PATH.

Исходный текст

SKILL.md · MIT
---
name: reverse-engineer-video
description: Break down a reference or viral video clip so it can be remade. Finds every cut and dissolve, times each shot, measures pacing, works out the camera move in each shot (static, pan, tilt, zoom or push in, roll, handheld shake, with speed), finds beats and loudness jumps and checks whether the cuts land on them, and reads on-screen text and speech when the tools are installed. Makes a contact sheet, a timeline strip, breakdown.md with a beat map and a remake plan, and breakdown.json. Also makes side-by-side or stacked comparison videos of a remake against the reference. Use when the user says "break down this video", "reverse engineer this clip", "how was this edited", "shot list from this video", "why does this go viral", "recreate/remake this video", "what camera moves are in this", "do the cuts hit the beat", or "compare my remake with the original".
---

# Reverse engineer a video

Scripts live in `scripts/`. They run on `python3` with numpy. For better tracking of very fast moves, run `sh setup.sh` once and use `.venv/bin/python` instead (it adds OpenCV; `sh setup.sh --whisper` also adds speech-to-text). On-screen text needs `tesseract` on the PATH. Every optional part is skipped cleanly when its tool is missing, and the report says so.

## Steps

1. **Analyse.** Write the output somewhere other than the video's own folder:
   ```
   python3 scripts/analyze.py <clip> -o <out_dir>
   ```
   It writes `breakdown.md`, `breakdown.json`, `contact_sheet.jpg`, `shots_detail.jpg` and `timeline.png`.

2. **Check the cuts before trusting anything else.** Open `timeline.png` and `contact_sheet.jpg`. If two shots in the sheet look like the same shot, a cut was false: run again with `--sensitivity 0.7`. If a sheet frame shows two shots blended or a shot changes inside one tile, a cut was missed: use `--sensitivity 1.4`. Fast flashes shorter than `--min-shot` (0.1 s) are listed as flash frames, not shots.

3. **Look, then fill in the gaps.** Read `shots_detail.jpg` (start, middle and end frame of each shot, with the measured numbers). Then edit `breakdown.md`:
   - fill the "what happens" column of the beat map, one short line per shot,
   - write the hook read (see below),
   - write the remake plan. Use the measured times and camera numbers; do not round them into guesses.

4. **Remake, then compare at the same timestamps.** You cannot watch video, so compare stills first:
   ```
   python3 scripts/compare.py <ref> <remake> --stills compare.jpg --breakdown <out_dir>/breakdown.json
   ```
   Fix the biggest difference, repeat. When it is close, make a video for the user:
   ```
   python3 scripts/compare.py <ref> <remake> -o compare.mp4 --mode side     # or stack for vertical posts
   python3 scripts/compare.py <ref> <remake> -o overlay.mp4 --mode blend    # lines up horizons and edges
   ```
   Use `--ref-start` / `--remake-start` if one clip has a lead-in. A shorter remake holds its last frame, or repeats with `--loop-remake`. Output is always re-encoded.

## Reading the hook (first 2 seconds)

The "Hook" section lists measured facts: when the first cut comes, how many cuts fall in the first 2 s, whether sound starts at frame one, the first words and text, and how busy the opening is compared to the rest (`motion first 2s vs rest`, above 1 means busier). Use them to answer three questions in plain words:
- **What is the promise in frame one?** A strong first frame shows the payoff or a clear question (a finished result, something odd, a face mid-sentence). An establishing wide shot or a logo is a weak start.
- **What changes before 0.5 s?** A cut, a move starting, a sound hit or text appearing. If nothing changes, say so: viewers decide in this window.
- **Why stay to 2 s?** Usually an open loop: text or speech that asks a question, or a move that has not finished.

## Camera numbers, and rebuilding a shot in 3D

Each shot gets a label (static, pan, truck/arc, tilt, zoom in/out, push in/pull out, roll, handheld). Long shots with several moves are split into phases, such as `push in > tilt up`. Each label comes with numbers: pan speed in % of frame width per second, tilt in % of frame height per second, total zoom factor, shake in % of frame width, and parallax. Directions describe the camera, not the picture. "Zoom" means the picture scaled with no parallax (a lens zoom, a digital scale, or a very far scene). "Push in" means there was parallax, so the camera really moved. `breakdown.json` has a camera path per shot (pan, tilt and zoom over time) to use as keyframes.

To rebuild a scene in three.js or a 3D tool, measure the geometry on a sharp frame from `shots_detail.jpg`:
- **Horizon height** (where the vanishing points sit) tells you camera pitch: a horizon on the frame's centre line means a level camera; above centre means it tilts down.
- **Lens**: take two vanishing points of lines that are at right angles in the real world. The focal length in pixels is `sqrt(-(v1 - c)·(v2 - c))`, where c is the frame centre. Vertical field of view is `2·atan(H / 2f)`.
- **Camera height**: if the horizon crosses a person standing on the same floor at their eye line, the camera is at eye height (about 1.6 m). Where it crosses them gives the ratio.
The full method, with worked numbers, is in [reference.md](reference.md).

## Rules

- Never write into the reference video's folder, and never change the reference file.
- Trust measured times over what you think you see. Quote cut times from `breakdown.json`.
- Say clearly which parts were skipped (no transcript, no text reading) instead of guessing them.
- In the beat map, "on beat" means within the tolerance shown (default 1.5 frames, at least 50 ms). Always quote the chance rate next to the hit rate: 60% of cuts on onsets means little if random cuts would score 50%.

How each measurement works, the limits, the test results and all options: [reference.md](reference.md).

© dotslashsimran · MIT · dotslashsimran/simcraft

Похожие скиллы

Каталог скиллов SKILL.md →
reverse-engineer-anything morluto Скилл reverse-engineer-anything для Claude Code и других платформ анализирует бинарные файлы, пакеты и проприетарный код. Извлекает данные из исполняемых файлов и архивов для декомпиляции и сравнения версий. CX Codex +1 18 800установок reverse-engineer-marketing coreyhaines31 Скилл reverse-engineer-marketing для Claude Code собирает хронологию роста конкурентов по публичным данным и архивам. Запускается, когда нужно выяснить стратегию другой компании и сравнить с собственными показателями. CX Codex +1 8 600установок reverse-any-video heygen-com Скилл reverse-any-video для Claude Code воссоздает любое видео в редактируемый проект HyperFrames с покадровой сверкой по оригиналу. CX Codex +1 180 600установок reverse-api-engineer kalil0321 Скилл reverse-api-engineer для Claude Code превращает приватный HTTP-трафик сайта в типизированный клиент на Python, TypeScript, Go и других языках. Запускается на каждом PR в CI или при ручном запросе на сбор API. CX Codex +1 1 400установок reverse-engineer sickn33 Скилл reverse-engineer задаёт методику реверс-инжиниринга бинарных файлов: статический и динамический анализ, поиск паттернов и скрипты для декомпиляторов. CX Codex +1 935установок reverse-engineer-anything-self-learning-loop Speedrun AI Labs Скилл reverse-engineer-anything-self-learning-loop для Claude Code разбирает разрешённое ПО и собирает рабочий аналог. Процесс идёт по циклу проверок с сохранением опыта между запусками. CX Codex +1 ★ 151звёзд репо

Из того же набора24

Весь набор →
security-threat-model Скилл security-threat-model для Claude Code строит модель угроз по коду приложения и проверяет найденные риски тестами. Запускается по запросу о безопасности, STRIDE или уязвимостях перед выпуском приложения. CX Codex +1 ★ 541звёзд репо vox-explainer Скилл vox-explainer для Claude Code собирает объясняющую графику или видео без ведущего в стиле Vox. Он включается по просьбе оформить озвучку как ролик, анимированные цитаты или статистику. CX Codex +1 ★ 541звёзд репо benchmark-honestly Скилл benchmark-honestly для Claude Code помогает проверять замеры производительности и сравнивать версии кода. Подключается на просьбы провести бенчмарк, нагрузочный тест или проверить заявление об ускорении. CX Codex +1 ★ 541звёзд репо flaky-test-killer Скилл flaky-test-killer для Claude Code ищет причину нестабильных тестов и помогает устранить её в коде. Запускает проверки под нагрузкой и сравнивает частоту сбоев до и после исправления. CX Codex +1 ★ 541звёзд репо system-design-from-scratch Скилл system-design-from-scratch для Claude Code и Codex помогает проектировать бэкенд и распределённые системы через написание рабочего кода, нагрузочные тесты и симуляцию сбоев. CX Codex +1 ★ 541звёзд репо paper-to-runnable Скилл paper-to-runnable для Claude Code превращает исследовательскую статью в минимальную рабочую реализацию её основной идеи. Запускается по просьбе реализовать или воспроизвести статью, в том числе по ссылке arXiv или локальному PDF. CX Codex +1 ★ 541звёзд репо codebase-map Скилл codebase-map для Claude Code разбирает незнакомый репозиторий и собирает карту его архитектуры. Запускается по просьбе объяснить устройство проекта или проследить путь запроса. CX Codex +1 ★ 541звёзд репо api-design-review Скилл api-design-review для Claude Code проверяет дизайн HTTP API, SDK или CLI. Запускается по просьбе оценить спецификацию, эргономику SDK или риск изменения перед выпуском. CX Codex +1 ★ 541звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой