agentleFS
kjagsadvisorskjagsadvisors/keeran.ai/reverse-video/SKILL.md

reverse-video

Skill67 starsChanged 36 days agoMITView on GitHub

Reverse-engineer any reel's editing style from a link - travel and cinematic montages, B-roll and music edits, talking heads, tutorials, product videos. context.dev scrapes the reel or TikTok, then every frame is measured (cuts, shot lengths, transitions, camera moves, framing and letterbox bands, the colour grade, on-screen text, faces, tempo, cuts on the beat, the drop, loudness, the hook) into a STYLE.md, so Claude can edit the user's own footage the same way. Use when someone pastes a reel/TikTok/video link and wants "edit mine like this", "copy this editing style", "how was this edited", "reverse engineer this video", "break down this reel", or wants to match a creator's pacing, grade, captions or look.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. kelano86/reverse-video★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check the tools: Run python3 <skill>/reverse.py setup.

    line 15
  2. Very specific:

    Check context.dev: Look at your own tools: context.dev's tools are named web-scrape, get-usage and so on, under a server called context (or …

    line 18
  3. Distinctive:

    Always use the link above, never the bare context.dev address, and always say it's a referral link.

    line 32
  4. Very specific:

    Confirm it works: Call context.dev's get-usage (it costs no credits) and tell them how many credits they have.

    line 33
  5. Distinctive:

    If they don't want to connect context.dev, they can still use a video file they already have: skip step 1 below.

    line 36
  6. Distinctive:

    Treat the text readings as hints: OCR picks up words inside screenshots too.

    line 80
  7. Distinctive:

    Ask what they're working with, then write an edit plan from the read before you touch anything.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

reverse-video

Paste a link to any reel (a travel montage, a cinematic B-roll edit, a talking head, a tutorial), get its editing style as numbers, then edit the user's own footage to match. Copy the style, never the content.

Onboarding (first run, and any time context.dev isn't connected)

reverse.py sits next to this file: python3 <skill>/reverse.py ....

  1. Check the tools. Run python3 <skill>/reverse.py setup. It checks ffmpeg, the Xcode command line tools, the Python packages and builds the on-device text reader (bin/vision). For each !! line, show the fix it prints and offer to run it. Mac only: the text and face reader is Apple Vision.
  2. Check context.dev. Look at your own tools: context.dev's tools are named web-scrape, get-usage and so on, under a server called context (or a connector named Context.dev). If they're there, skip to step 4.
  3. Walk them through it, in this order, with these exact links:
    • "First, make a free context.dev account: https://link.context.dev/keeran-jagadesan. The free plan gives you 1,000 credits a month, and one video link costs 1 credit."
    • "If you ever upgrade, code KEERAN25OFF takes 25% off your first 6 months."
    • "That's Keeran's referral link, so he may earn a commission if you sign up or upgrade through it."
    • Connect it. In Claude Code, offer to run this for them (ask first):
      claude mcp add --transport http context https://mcp.context.dev/mcp
      then tell them to type /mcp, pick context and sign in with the account they just made. In the Claude app: Settings > Connectors > Add custom connector, URL https://mcp.context.dev/mcp.
    • A new connector shows up after Claude Code restarts. Tell them to restart and paste their link again. Always use the link above, never the bare context.dev address, and always say it's a referral link.
  4. Confirm it works. Call context.dev's get-usage (it costs no credits) and tell them how many credits they have. Then go on to step 1 below with their link.

If they don't want to connect context.dev, they can still use a video file they already have: skip step 1 below.

Every run

1. Get the video

Linkcontext.dev callYou get
Instagram reel or post (/reel/, /p/)web-scrape formats.parse, parseParams: {type: "prebuilt", parser: "instagram-post"}video_url, caption, views, likes, comments, posted date
TikTok videosame, parser tiktok-videovideo_url (downloads without cookies), counts, music
A creator's pageparser instagram-profile or tiktok-feed, then pick the posttheir latest posts with counts
A file the user hasskip this step
python3 <skill>/reverse.py fetch "<video_url>" study

Save the parser's caption and counts to study/post.json. The video_url expires after a few hours, so fetch right away.

2. Take it apart

python3 <skill>/reverse.py analyze study/video.mp4 -o study

About 20 seconds for a 30-second reel. It reads every frame and writes:

  • STYLE.md: rhythm (cuts, shot lengths, opening hold, transitions: hard cut, whip, flash, dip; camera moves: push-in, pull-out, pan; tempo, cuts on the beat, where the drop is and how the cutting speeds up after it, loudness, words per second), text on screen (how much, how big, how far down, caps, weight, colours, word-by-word builds), look (framing: full frame or a 16:9 / 4:3 / 2.39:1 band and where it sits; the grade: black point, contrast, saturation, warmth, shadow and highlight tint; palette, faces), the hook, a shot list with each shot's length, transition in, move and energy, and a text track. Add --no-words for a reel with no talking.
  • shots.jpg (one frame per shot), timeline.png (cuts, text, beats, loudness on one strip), style.json, detail.json, frames.csv (every frame's numbers).

3. Look, then write the read

Open shots.jpg, timeline.png and a strip of the video (ffmpeg -i study/video.mp4 -vf "fps=2,scale=144:-1,tile=11x5" -frames:v 1 study/strip.jpg). The numbers can't tell a phone filming a laptop from a screen recording, or a meme from B-roll. You can. Fill in "The read" at the bottom of STYLE.md:

  • Format: what the video is, shot by shot (talking head, split screen, phone filming a screen, B-roll over voice).
  • Hook: what happens in the opening hold, on screen and said.
  • What makes it feel like itself: the three or four choices that carry it.
  • To copy it on a new clip: a recipe with the measured numbers.

Treat the text readings as hints: OCR picks up words inside screenshots too. Check the caption numbers against the strip.

4. Edit the user's footage the same way

Ask what they're working with, then write an edit plan from the read before you touch anything.

A montage (travel, cinematic, B-roll, music-driven). They give you a folder of clips and a song.

  • Shot list: copy the reference's shot count and lengths, scaled to their song's tempo, so cuts land on their beat the way the reference's do (the measured share on the beat). Hold the opening as long as the reference does; if the cutting speeds up after the drop, find their song's drop and do the same.
  • Fill each slot with their clip that fits: wides where the reference has wides, people where it has people, the strongest shot on the drop. Pull the best moment of each clip, not its first second.
  • Framing: same as the reference (a 16:9 band in a 9:16 frame at the measured height, a 2.39:1 letterbox, or full frame). Never mix framings inside one reel.
  • Grade: match the numbers (black point, contrast, saturation, shadow and highlight tint, warmth) with the user's own colour tools or ffmpeg (eq, curves, colorbalance). Log or flat footage gets a normal conversion first.
  • Transitions and moves: the same kinds in the same places (whips where it whips, push-ins where it pushes in).
  • Text: their own words, in the reference's position, size and case.

A talking head or tutorial. They give you a take.

  • Opening hold, then the measured cut rhythm as punch-ins or B-roll cuts, captions in the measured position, size, case, weight and colours, the same amount of text on screen, the same end card. For logos and screenshots the edit needs, use the b-roll skill.

Then edit with whatever they use: their own Claude editing skill, Remotion, HyperFrames, ffmpeg, or export the plan as a cut list for CapCut, Premiere or Resolve. Show the plan first, then the render next to the reference.

Rules

  • Copy the style, not the content. Never reuse the creator's footage, face, voice, words, music file, logo or watermark. Captions are the user's own words.
  • The download is for study. Don't repost it or put it in the user's edit.
  • Numbers come from the measurement. If something wasn't measured (the font's name, the music track), say so.
  • A measurement is one video. Say so before you call something "their style".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.