agentleFS
AlphaSaleAidanAlphaSaleAidan/pierce-skill-kit/skills/beat-synced-overlays/SKILL.md

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.

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
  1. Distinctive:

    Keep the pass separate from the base frames so it can be A/B'd or dropped without a re-render.

    line 39

≈ “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

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

  1. 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).
  2. List the cut frames (cut detection, or start:end:step for a fixed-length montage cycle).
  3. 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.
  4. 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
  5. In the renderer, prefer overlay/NNNNN.png over the base frame when it exists.
  6. Review in motion at full speed AND frame-step the chosen moments (video-qc-reviewer).

Effect specs (what read well)

EffectSpecWhy
Flash frame2 frames, warm white (255,228,195), α 0.88 then 0.30a 50–70 % half-blend reads muddy/fogged — commit on frame 1
Double exposure4 frames, frozen outgoing frame × (1−t)·0.55 screen-blended over incoming, incoming zoom 1.00→1.04screen keeps blacks black; zoom adds energy
Ghost overlaystatic 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.

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.