music-video
Skill17 starsChanged 4 months agoMITView on GitHub
Generate a 60-second 9:16 vertical music video (YouTube Shorts / TikTok / Reels format) from an operator-supplied music file plus mood keywords. Use when the user provides an audio file (mp3 / wav / m4a / aac) and wants a short-form vertical video with beat-aligned cuts, mood-matched Pexels B-roll, and optional vintage post-shaders (pond ripple / breathing zoom / halation / combo). Music is the primary audio — no narration, no captions.
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- guaardvark/guaardvarktheir own version, first seen Sep 30, 2026
- venetanji/creative-skillstheir own version, first seen Sep 30, 2026
- PrunaAI/pruna-skillstheir own version, first seen Sep 29, 2026
- ofoxai/skillstheir own version, first seen Sep 22, 2026
- NoizAI/skillstheir own version, first seen Mar 8, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- NoizAI/skills★ 526same name
- guaardvark/guaardvark★ 247same name
- PrunaAI/pruna-skills★ 19same name
- venetanji/creative-skills★ 4same name
- ofoxai/skills★ 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 repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- game-dev-agentSkill
- goal-lockSkill
- idol-shortSkill
- info-shortSkill
- job-huntSkill
- news-shortSkill
- product-cfSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
3
Distinctive
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
- Distinctive: line 55
If the user invokes without a path or without keywords, ask them for the missing input rather than guessing.
- Distinctive: line 60
When this skill activates:
- Distinctive: line 63
If not, ask for the correct path.
- Very specific: line 65
Verify environment readiness: Run ./scripts/bootstrap.sh --check-only (or inspect the resulting warnings).
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
music-video
Generate a 60-second 9:16 vertical music video from a music file + mood keywords. Designed for YouTube Shorts / TikTok / Reels upload.
What this produces
Given:
- A music file (mp3 / wav / m4a / aac) — typically 60–240 seconds of operator-supplied music (Suno-generated, YouTube Audio Library, Pixabay, etc.). Music itself is the only audio track in the output.
- A short list of mood keywords (3–6 comma-separated phrases like
"rainy street, jazz cafe, vinyl, wet pavement").
Produces:
- A 1080 × 1920 (9:16 vertical) mp4, exactly 60 seconds.
- 8 B-roll clips fetched from Pexels (per-keyword), trimmed and
ordered to match phrase boundaries detected via
aubiotrack. - Drum-onset-aligned glitch micro-edits (
aubioonset) on static- camera clips only. - Vintage lo-fi processing (film grain, vignetting, zoom-pulse) per v6 defaults; tunable via env vars.
- Optional post-shader pass:
pond(water-surface ripple),breathing(5-s scale wave),halation(warm bloom), orcombo(phrase-aware pond + halation envelope).
How to invoke
User-facing invocation: /music-video <music_file_path> "<comma_separated_keywords>"
Examples:
/music-video "assets/music/Rainy Bossa.mp3" "rainy street, jazz cafe, vinyl, wet pavement"
/music-video ~/Downloads/track.wav "tokyo neon, vibraphone, late night, shibuya"If the user invokes without a path or without keywords, ask them for the missing input rather than guessing.
Step-by-step (what the agent does)
When this skill activates:
- Verify the music file exists at the path the operator provided. If not, ask for the correct path. Do not attempt to fetch music from the network — the operator supplies it.
- Verify environment readiness. Run
./scripts/bootstrap.sh --check-only(or inspect the resulting warnings). In particular check thatPEXELS_API_KEYis set in.env. If missing, point the operator at the Pexels signup link in the README and stop — do not proceed without B-roll source. - Generate a mission id in the form
skill-music-video-<HHMMSS>. Run the bundled pipeline (script symlinked from the mature
agents/missions/music-video/run.shso this skill inherits all v5 + v6 tuning):bash scripts/run.sh "<mission_id>" "<music_file>" "<keywords>"The pipeline writes to
records/missions/<date>/music-video-<mission_id>-*/outputs/short.mp4(seeagents/missions/music-video/run.shfor the full stage breakdown — 8 stages including beat detection, per-window keyword resolution, Pexels fetch with caching, per-clip trim+crop+speed-class, concat, music overlay, lo-fi shading).Typical runtime: 3–6 minutes for a 60-second output (depends on Pexels response latency and post-shader presence).
(Optional) Apply post-shader for the validated music-video look. Default recommendation:
combo(phrase-aware pond + halation envelope, tuned for a 95.8 BPM cadence by default — overrideGATE_PONDandOPACITYenv vars for other tempos):bash "$REPO_ROOT/scripts/music-video-shaders.sh" combo \ "<short_mp4_input>" \ "<output_path>"- Report the final mp4 path to the operator along with file size
and duration (use
ffprobeto confirm 60.0 ± 0.5 s and 1080×1920). Suggest the operator move it tooutputs/publish/if they intend to upload (per operator-contract §8 outputs-publish exception).
What this skill does NOT do
- Generate the music itself (operator provides via Suno / YouTube Audio Library / Pixabay / etc.).
- Upload to YouTube / TikTok / Reels (operator uploads manually
through the platform's UI — public URLs are intentionally not
committed to this repo per the 2026-05-18 threat-model decision;
see
docs/pilots/first-upload-metrics.md"Public URL policy"). - Generate captions or burned-in text (music-video format is
intentionally text-free; for narrated shorts use the
faceless-shortmission instead).
Required environment
Pulled from .env (rendered locally; not committed):
FFMPEG_BIN— set automatically byagents/lib/env.shlibass discovery; only override if you need a specific build.FFPROBE_BIN— same discovery.OLLAMA_HOST— default127.0.0.1:11434.OLLAMA_MODEL_HIGHLIGHT— the local model used for keyword expansion (defaultllama3.2:3b).PEXELS_API_KEY— free signup at https://www.pexels.com/api/.RECORDS_DIR— defaults to./records/.
Optional tuning env vars for the lo-fi processing layer (read by the pipeline at run time):
MUSIC_VIDEO_FILM_GRAIN_INTENSITYMUSIC_VIDEO_VIGNETTE_ANGLEMUSIC_VIDEO_ZOOM_PULSE_AMP
See agents/missions/music-video/run.sh for the full env-var list
and defaults.
See also
- Source pipeline (this skill wraps it):
agents/missions/music-video/run.sh - Post-shaders:
scripts/music-video-shaders.sh - Engineering case study (why these shader choices, where the wall
is):
docs/engineering-case-studies.md§5 - Decision log (niche pivot to music-video format, 2026-05-17):
docs/pilots/decision-log.md - Daily upload queue (cron / launchd cadence):
scripts/daily-music-video.sh
Genre-aware mode (added 2026-05-21)
The v6 default treatment (drum-onset zoom-pulse + grain + vignette +
12-beat cuts) is applied regardless of song genre. Operator 2026-05-20
flagged that this reads as "띠용" / out-of-place on songs whose genre
forbids glitch (lo-fi) or forbids cuts (ambient). See
docs/research/2026-05-21-shader-song-mismatch-diagnosis.md.
The fix is additive — existing pipeline unchanged, new behavior opt-in via one of three entry points:
Recommended: all-in-one wrapper (zero-config)
bash scripts/music-video-auto.sh <music_file>Detects genre from filename + ID3 tag, resolves preset from
skills/music-video/data/genre-presets.yaml, fills keyword pool from
preset, runs pipeline with genre-appropriate env overrides, applies
matching post-shader. Add --with-canvas for an 8s Spotify Canvas
variant or --with-typography "phrase1,phrase2,..." for a kinetic
typography overlay.
For ambient / classical / dreamcore genres (stillzoom presets), pass
--image=PATH.
Manual genre selection
bash scripts/music-video-genre.sh <genre> <short_id> <music_file> [keywords_csv]Bypass auto-detection. --list shows available genres.
Standalone shader pass
bash scripts/music-video-shaders.sh <effect> <input.mp4> <output.mp4>Effects available:
- Classic:
pondbreathinghalationcombo - Genre-coded:
scanlinechromatic_splitneon_edgevhssaturation_pulsekaleidoscope
Adjacent output modes
scripts/music-video-stillzoom.sh <image> <music> <output>— image- music → 60s slow Ken-Burns 9:16 mp4. Required for ambient / classical / dreamcore presets where any cut violates the genre contract.
scripts/music-video-canvas.sh <input.mp4> <output.mp4>— Spotify Canvas 8s seamless loop @720×1280, <8MB. Distribution multiplier: every track ships a Canvas alongside the Short.scripts/music-video-typography.sh <input.mp4> <output.mp4> "phrase1,phrase2,..."— kinetic phrase overlay. Solves the muted-autoplay problem; 4-8 mood phrases fade in/out on evenly-spaced boundaries.
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.

