reference-matching
/reference-matching
Recreate the look and rhythm of a reference video ("make it like this reel") - measure its cut times, shot lengths, beat alignment, text timing and positions, fonts, transitions, grade and audio, write a style spec, then rebuild with the user's footage and compare side by side. Use whenever the user supplies a reference video, a trending format, or says "same style as", "like this one", "copy this edit".
- Author
- Prateekiiitg56 ↗
- Repository
- video-editing-skills ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/analyze_reference.py
What it does and when to use it
Recreate the look and rhythm of a reference video ("make it like this reel") - measure its cut times, shot lengths, beat alignment, text timing and positions, fonts, transitions, grade and audio, write a style spec, then rebuild with the user's footage and compare side by side. Use whenever the user supplies a reference video, a trending format, or says "same style as", "like this one", "copy this edit".
Triggers from the description
Original author description
Recreate the look and rhythm of a reference video ("make it like this reel") - measure its cut times, shot lengths, beat alignment, text timing and positions, fonts, transitions, grade and audio, write a style spec, then rebuild with the user's footage and compare side by side. Use whenever the user supplies a reference video, a trending format, or says "same style as", "like this one", "copy this edit".
How it works
- Workflow
- Measuring text precisely
- Rules
SKILL.md preview
---
name: reference-matching
description: Recreate the look and rhythm of a reference video ("make it like this reel") - measure its cut times, shot lengths, beat alignment, text timing and positions, fonts, transitions, grade and audio, write a style spec, then rebuild with the user's footage and compare side by side. Use whenever the user supplies a reference video, a trending format, or says "same style as", "like this one", "copy this edit".
---
# Reference matching
Script: `scripts/analyze_reference.py REF.mp4 OUTDIR` — cut list (scene detection), shot-length stats, beat alignment of each cut, per-shot thumbnail strip, average colour stats, loudness. Writes `OUTDIR/reference.json` and `OUTDIR/strip.png`.
## Workflow
1. **Get the file.** If the user gives a link, ask them to download it, or use `yt-dlp` only for content they have rights to analyse. Keep it in `reference/`.
2. **Analyse** with the script, then look at the strip and frames around each cut.
3. **Write a style spec** (`edit/style_spec.md`):
- format: resolution, fps, duration, aspect
- structure: shot list with durations and what each shot shows (wide/close/detail, subject)
- rhythm: cuts on which beats/hits; average shot length; where the pace changes
- text: exact words, font family guess (serif/sans/script/hand, weight), size relative to width, colour, position (fraction of frame), timing to 1/30 s, animation in/out
- transitions: types and durations
- grade: warm/cool, contrast, saturation, black level, any grain/vignette
- audio: song (and the start point), SFX, voice
4. **Map the user's footage** onto the spec: best matching shot for each slot (same size/motion/subject). Tell the user which slots have no good match.
5. **Build** with the same timings; reuse the reference audio as a **guide track** so the grid matches.
6. **Compare**: render side-by-side (`hstack`) of reference and result; check text positions and cut frames match.
```bash
ffmpeg -i ref.mp4 -i out.mp4 -filter_complex "[0:v]scale=540:960[a];[1:v]scale=540:960[b];[a][b]hstack" -an compare.mp4
```
## Measuring text precisely
- Step frames around a text change: `ffmpeg -ss T-0.2 -i ref.mp4 -t 0.4 -vf fps=30 f_%02d.png`.
- Position: express as fractions of width/height so it scales to 4K.
- Size: measure cap height in px / frame height.
- Font: identify the category and closest free font (e.g. Caveat for hand-lettering, Great Vibes for swash script, Cormorant/Playfair for elegant serif, Cooper Black for retro, Montserrat/Inter for clean sans). Tell the user it's the closest match, not necessarily the exact font.
- Colour: sample text pixels at the centre of strokes (not anti-aliased edges).
## Rules
- Match the feel, never copy someone else's footage, logo or watermark into the output.
- Keep the reference's quote/text only if the user asks for the same words; otherwise adapt.
- Instagram reference audio: the final post should use the in-app sound starting at the same point; export a version with the guide audio for review and one silent version for upload.
- When the user says "match the reference picture", text position and curvature matter as much as font: measure, don't eyeball.
Files in this package (2)
- SKILL.md 3 KB
- scripts/analyze_reference.py 5 KB
Versions
The database has no other skills named reference-matching.
Database snapshot: 13.11.2026 · package version adaace555ac2 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100reel-grammar
Use when someone shows you a reference video and asks for "one like this", "in this style" or "with this pacing". Measures the reference's editing grammar (shot lengths, cut rhythm across the runtime, how shots are joined, brightness, contrast, palette, motion) into a… - 84remake-reel
Analyze a reference video (a reel, montage, or ad the user likes) into an edit blueprint — shot boundaries, music beats, BPM, energy curve, the drop — and rebuild the same structure with the user's own footage. Use when someone says "make it like this video", "remake this reel… - 100video-clone
參考影片風格克隆器 — 使用者給一支參考影片(本機檔案、螢幕錄影或 YouTube/網址)加上一句需求(「做一支類似風格的影片,主軸是…」),就拆解它的剪法與視覺風格、判斷屬於哪種風格、交給對應的製作 skill,寫分鏡、做動畫、逐格自我審查,最後輸出 MP4 並依回饋修改。Use whenever the user supplies a reference video or link and asks for a video "like this", "in this style", "clone/模仿/參考這支的風格/剪法", or asks to… - 100replicate
Rebuild any video, or its style, as an editable video project. Measure the reference (cuts, shots, camera, captions, sound), write a beat map, build it (HyperFrames by default), then check the render against the reference frame by frame. Use when asked to replicate, recreate,… - 90reference-video-teardown
Convert a reference video into a frame-by-frame editing breakdown you can recreate from — masking, hand-triggered reveals, transitions, timing, layers, effects, plus a step-by-step rebuild guide and a reusable system prompt. Use when the user supplies a reference video/reel and… - 90borrow-style
Make the person's own film in the packaging of a reference video they like - its pace, kinds of cut, transitions, motion, colour, caption and title look, loudness and beat - with none of the reference's footage, words, music or story, and write that packaging down as their own…