Skip to content
saifullahshafinPublic

About

REE: Reverse Engineer Edits. An agent skill that measures how a YouTuber edits (cuts, layouts, graphics, motion, grade, sound) and turns it into a replicable style pack. Inspired by REA.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REE: Reverse Engineer Edits

See an editing style you like. Measure exactly how it is built.

REE is an agent skill (skill name edit-style-reverse-engineer, for Claude Code and similar agents) that reverse-engineers a YouTuber's video editing style from their videos into a style pack: a measured log of every edit (when, what, why, how it moves, how it sounds), a style bible where every claim is a count, rebuild recipes, trigger -> action edit rules, and a visual HTML report.

Inspired by REA ("Reverse Engineer Anything"), which does this for software; REE does it for video editing. It is an independent project, not part of REA. A repeatable method, not a one-off analysis. Packs so far: Ali Abdaal (5 videos, 125 min, 976 measured edits) and Saqlain Khan (Hindi documentaries, 4 videos, 88 min, 1,211 measured edits).

Status: actively developed. REE is built and improved continuously: every new creator pack exposes a gap, the fix goes back into the method, and the lessons go into references/GOTCHAS.md. Expect frequent updates. Recent additions: in-shot motion pass (head tilt, camera push-ins, mid-shot pop-ins on every frame), non-English transcripts (Gemini text on YouTube caption word timings), script-neutral trigger words, a measured host-shot check.

Why it works

Video models describe well but time badly: in testing, model timestamps drifted up to 10 s and followed the speech instead of the picture. So every time comes from measurement (ffmpeg scene scores, word-timed transcripts, pixel and audio analysis) and models only label what happens at measured moments.

Layers

Layer Tool Cost
Change points ffmpeg scdet + cuts.py free
Word timing Parakeet (hyperframes transcribe) free
Labels the agent reads label_sheets.py sheets (before/after frames, motion strip, spectrogram per change point), or Gemini on Vertex (watch.py, asks first) free / about $0.31 per 150 s
Motion specs 10 fps frame strips, or Gemini (deep_look.py, asks first) free / about $0.07 each
Grade and framing look.py (OpenCV, YuNet) free
Motion inside shots inshot_motion.py: every frame at 10 fps; head tilt/turn/nod, camera push-in/pan/shake, mid-shot pop-ins free
Sound Demucs + librosa (sound.py, sfx_events.py) free
Stats and rules merge.py, stats.py, patterns.py free
Report report.py -> one HTML page free

Paid scripts refuse to run without --approved-usd covering their printed estimate.

Use

Read SKILL.md (pipeline), references/STYLE_BIBLE_RUBRIC.md (what a style bible must answer) and references/GOTCHAS.md (every failure met so far and its fix).

Requirements

Python 3.10+, ffmpeg, yt-dlp, Pillow, OpenCV 5, numpy; for sound: torch (CPU), demucs==4.0.1, librosa, soundfile; optional google-genai for the paid label pass.

Publishing rule

Publish the skill and a pack's text and JSON only. Never publish downloaded videos, audio, stills or clips of the creator's work.

About

REE: Reverse Engineer Edits. An agent skill that measures how a YouTuber edits (cuts, layouts, graphics, motion, grade, sound) and turns it into a replicable style pack. Inspired by REA.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages