agentleFS
Meraj-08Meraj-08/motion-studio-skills/skills/music-to-picture/SKILL.md

music-to-picture

Skill1 starsChanged 45 days agoMITView on GitHub

Measure a music track and cut it to a video's story points: tempo and beat grid, downbeats, sections, where it ends, then an arrangement that lands the drop on the first real action, suspense on a failure, the biggest return on success, a breakdown under a quiet section and the track's own ending on the end card. Use when someone wants a soundtrack fitted, swapped, slowed, re-cut or made "more cinematic" on an existing video, wants several music versions of one picture, says the music is "monotonic", "not smooth", "off-theme" or "too loud at 44 s", or asks which licensed track fits.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

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

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

    Check: every seam on a downbeat, audio-check.py new --vs approved --sections … shows only intended changes, and listen at every seam on …

    line 36
  2. Distinctive:

    Keep the music driving into the end hit (riser, 80 ms breath, hit).

    line 59

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

Music to picture

A real produced track, cut on its own downbeats to the story, beats any generated score played straight through. Synthesis is for effects and stingers; the bed is a recording with chord changes and sections.

Workflow

  1. Licence first. Record source and licence for every candidate (Pixabay: free, no credit; Uppbeat free tier: credit line; AI-tool or ripped audio: internal review only). Ask before downloading.
  2. Measure each candidate: scripts/beatgrid.py track.mp3 --json track.beats.json.
    • The tempo is pinned by how sharply the whole track folds onto the beat; drift < 15 ms per 16 bars = fixed grid.
    • Half and double tempo fold almost as sharply: decide by ear, then pass --bpm.
    • The downbeat guess is an estimate: confirm it by listening at the first big section.
    • audio-check.py track.mp3: a body spread under ~8 dB, or one chord for a minute, will read as monotonic.
  3. Take the picture's events from docs/EVENTS.md (measured on the render).
  4. Cut the track to the story points with segments (film_from, film_to, offset), src = film + offset, each anchored to one picture moment. Never stretch to fit; loop only whole phrases at downbeats.
  5. Shape the body: headline markers, ducks, a build into the end card (see the reference).
  6. Check: every seam on a downbeat, audio-check.py new --vs approved --sections … shows only intended changes, and listen at every seam on laptop speakers.

The arrangement that works for launch films

FilmFrom the trackAnchor
intro (character, logo)nothing, or its sparse intro; effects carry the first seconds—
reveal → feature tourits build, then the drop and main groovethe drop on the first real action
failureits darkest bars, filtered, ticks on its own beats speeding upthe failure frame
recoverya passage on the SAME chord the suspense ends on, filter opening over ~0.9 s"checks passing"
successits biggest return; the loudest moment of the filmthe success frame
quiet section (mobile)its breakdown, crossfaded inthe section start
end cardits own final bars and natural decay; ~2.5 s of silence at the very endthe landing hit

Rules the ear confirmed

  • Switch tracks inside motion, never mid-groove; never hand back to a track in another key or tempo.
  • One theme from intro to end: an intro "off theme from the rest" was a real complaint.
  • The recovery continues harmonically; a brighter chord jump reads as "too high, too quickly".
  • A level jump at a seam may be the track's own downbeat: compare with the approved version before calling it a bug.
  • Slowing a track: rubberband (pitch kept), then re-anchor every segment on its own sync point.
  • A track without an ending gets one: the landing takes its biggest hit, the groove after it fades within ~4 s.
  • Keep the music driving into the end hit (riser, 80 ms breath, hit). A "fade, stop, swell" ending was rejected.

Details, numbers and the full list of review notes: references/cutting-music.md.

Scripts

ScriptUse
scripts/beatgrid.py track [--json f] [--bpm n]Tempo, phase, downbeats, bar loudness, section changes, hits, where the music ends.
scripts/audio-check.py mix [--vs old --sections a-b,…] [--duck a-b]Loudness, dynamics spread, per-section before/after, duck depth.

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.