reverse-engineer-video
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "reverse-engineer-video" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-96f0795dd0972166f66ad8aea6c63c0239025ce65b819417f9e239d01a5f57e9. Verify the upstream source and version against https://github.com/dotslashsimran/simcraft before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Skill to reverse-engineer a reference or viral video clip for replication. Identifies each edit point and fade in/out, times each shot, analyzes pacing, determines camera motion type and speed, finds beat points and volume jumps and checks if edits align to those nodes; when required tools are installed, can read on-screen text and speech. Produces a contact list, timeline bars, breakdown.md and breakdown.json containing beat maps and a replication plan, and creates side-by-side or stacked comparison video of the replica and original. Applicable to requests like “break down this video,” “reverse-engineer this clip,” “generate a shot list from this video,” and “replicate/remake this video.”
Introduction source: third_party · dotslashsimran · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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".
- Testing
- Not tested
Browse files
Frontmatter
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
-
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.jpgandtimeline.png. -
Check the cuts before trusting anything else. Open
timeline.pngandcontact_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. -
Look, then fill in the gaps. Read
shots_detail.jpg(start, middle and end frame of each shot, with the measured numbers). Then editbreakdown.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.
-
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.jsonFix 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 edgesUse
--ref-start/--remake-startif 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 is2·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.
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.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供端到端视频拆解与复刻工作流,涵盖剪辑点检测、节奏分析、镜头运动识别等核心功能
- 支持生成多种输出格式(breakdown.md、breakdown.json、对比视频等),满足专业内容创作需求
Highlights
- 触发词覆盖全面,包含10个典型用户表达变体,边界清晰不易误触
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
文档未设置独立的 When to Use 章节说明适用场景,相关信息分散在 description 和正文中
Recommendation: 建议在 Steps 前增加显式的 When to Use 章节,集中说明适用场景和使用时机
Highlights
- 文档结构清晰,分步骤说明执行流程,配有具体命令示例和参数解释
Highlights
- 依赖管理健全,可选工具缺失时能优雅跳过并明确报告
- 提供敏感度调节、最小镜头时长等容错机制,增强鲁棒性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.