beat-synced-overlays
Skill0 starsChanged 30 days agoMITView on GitHub
Use when a music-driven montage or fan edit feels flat or "cut, cut, cut" and needs editor-style accents on the beat — flash frames, double exposures, ghost overlays of a close-up over the next shot — or when those accents land off the kick or wash out the blacks.
In this repository26 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- ai-video-logo-replaceSkill
- blender-set-from-storyboardSkill
- claude-accountsSkill
- codexSkill
- collab-sandboxSkill
- commercial-production-pipelineSkill
- credit-discipline-for-generationSkill
- deckSkill
- edit-rebuild-from-clean-sourcesSkill
- find-componentSkill
- greenscreen-to-ai-plate-compSkill
- higgsfield-production-routingSkill
- kinetic-type-physicsSkill
- lip-sync-and-gaze-qcSkill
- performance-voice-conversionSkill
- person-into-existing-sceneSkill
- phone-qaSkill
- project-tabSkill
- remote-gpu-renderSkill
- sales-appointment-prepSkill
- studio-vfxSkill
- tab-planSkill
- terminal-leadSkill
- video-qc-reviewerSkill
- website-buildSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Keep the pass separate from the base frames so it can be A/B'd or dropped without a re-render.
≈ “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.
Files
Beat-synced overlays
Overview
Accents belong on the kicks, not on every cut. Score each cut by low-end energy at the cut, take the strongest few with a spacing guard, and apply three effect types as a separate pass that writes only changed frames, so the base render stays untouched and the pass can be re-run or dropped.
Recipe
- Render the montage to PNG frames (
00000.png…) and mix the final audio first — the kicks come from the FINAL mix, not the raw song (ducks and edits move them). - List the cut frames (cut detection, or
start:end:stepfor a fixed-length montage cycle). - Pick content pairs for ghosts by eye: a dark, still close-up over a bright/busy shot (fire, cars, crowd) reads best. Leave the first frame of the drop clean.
- Run:
python scripts/overlays.py --frames comp/ --out overlay/ --audio final_mix.wav \ --cuts 395:790:11 --flash 3 --double 4 --min-gap 22 --keep-clean 395 --ghost 411:494 619:713 - In the renderer, prefer
overlay/NNNNN.pngover the base frame when it exists. - Review in motion at full speed AND frame-step the chosen moments (
video-qc-reviewer).
Effect specs (what read well)
| Effect | Spec | Why |
| Flash frame | 2 frames, warm white (255,228,195), α 0.88 then 0.30 | a 50–70 % half-blend reads muddy/fogged — commit on frame 1 |
| Double exposure | 4 frames, frozen outgoing frame × (1−t)·0.55 screen-blended over incoming, incoming zoom 1.00→1.04 | screen keeps blacks black; zoom adds energy |
| Ghost overlay | static close-up zoomed 1.12, pre-multiplied ×0.30, screen over the whole next shot (11 frames) | presence without hiding the shot |
| Spacing | ≥22 frames between accents, ~8–10 per 20 s | "not every cut" |
| Kick score: 4th-order band-pass 45–140 Hz → | Hilbert | → 5 ms smoothing → max in [cut−40 ms, cut+120 ms]. |
What FAILED
- Normal/alpha blending for ghosts and double exposures: lifted the blacks, washed out the grade.
- Half-strength (50–70 %) flashes: fogged and muddy — neither image nor flash.
- Keep the pass separate from the base frames so it can be A/B'd or dropped without a re-render.
Status
Generalized from the job's overlay pass (hard-coded frame ranges → CLI flags); untested as generalized.
Compare with kinetic-type-physics for text accents and hyperframes:music-to-video for HTML beat edits.
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
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.

