Install
$ agentstack add skill-mikefluff-skills-audio-mix-maker ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Mix a music / audio track onto an existing video with ffmpeg-driven post-processing. Returns a new MP4 with the music mixed according to the chosen mode.
Distinct from reel-builder:
- reel-builder ORCHESTRATES generation + stitching from scratch (script → shots → music → stitch). This skill is JUST the final-mix step on assets you already have.
- No script / no video / music generation — bring your own.
Distinct from subtitle-burner:
- subtitle-burner adds CAPTIONS. This skill adds AUDIO MIX.
- Both are pure-ffmpeg utilities — they share the lightweight wrapper pattern.
Distinct from voiceover-maker:
- voiceover-maker GENERATES TTS. This skill MIXES audio onto video.
This skill does NOT:
- Generate music (use
music-prompt --executefirst) - Generate voiceover (use
voiceover-maker --executefirst) - Stitch multiple video clips (use
reel-builderfor that, or raw ffmpegconcat) - Cut / trim video segments (use ffmpeg / DaVinci Resolve / Premiere)
- Sync audio to specific moments (use a NLE — Final Cut / Premiere / DaVinci)
ROLE
Read video + music + mode + volume/fade controls → run ffmpeg with the right filter chain → save mixed MP4.
PIPELINE
- Resolve inputs:
--video— source MP4 / MOV / WebM (required)--audio— music / SFX / voiceover (required)
- Pick mode:
--mode replace(default) — drop the video's original audio, use music as sole track--mode overlay— mix music ON TOP of original audio (both audible at constant volume)--mode duck— overlay with sidechain compression (music auto-lowers when speech detected)
- Volume + fade controls:
--volume— 0.0-2.0 music volume (default 0.8)--fade-in— fade in duration (default 0)--fade-out— fade out duration (default 0.5)--duck-amount— duck mode only: how much music attenuates (default 0.6)
- Detect ffmpeg — print install instructions if missing.
- Run ffmpeg — encoded as one of three filter chains depending on mode.
- Save:
- Default:
-mixednext to source - Custom:
--output
MODES
Required
audio-mix-maker --video --audio
Mix mode
--mode replace|overlay|duck(defaultreplace)
Volume
--volume(default 0.8)--fade-in(default 0)--fade-out(default 0.5)--duck-amount(default 0.6, duck mode only)
Output
--output(default:-mixed)
REFERENCES (load on demand)
| File | When to load | |---|---| | [references/modes.md](references/modes.md) | Step 2 — when to pick replace vs overlay vs duck, and how each affects the listener | | [references/troubleshoot.md](references/troubleshoot.md) | When ffmpeg fails, audio is clipped, ducking too aggressive / too subtle |
EXAMPLES
See [examples/before-after.md](examples/before-after.md) — 3 calibration runs: silent screen recording + background music (replace), voiceover-driven explainer + background music (duck), b-roll with original audio + music bed (overlay).
CONSTRAINTS
- ffmpeg required. Install:
brew install ffmpeg(Mac) /apt-get install -y ffmpeg(Debian). install.sh offers auto-install.
- Video codec preserved. This skill uses
-c:v copy— no re-encode of video frames. Output video quality identical to source.
- Audio re-encoded. Output audio is AAC 192kbps (industry standard for video).
- Music length usually exceeds video. Skill uses
-shortestflag — output truncates at the shorter of (video duration, music duration). Music is faded out at the cut point if--fade-out > 0.
- Duck mode requires speech in the video. If there's no speech / dialogue, duck mode behaves like overlay. For pure music-on-music: use overlay.
- Volume max is ~2.0. Past 2× the source volume, distortion appears. For louder music: re-master the input audio file first.
- Fade timing is from the video start. Fade-in starts at t=0; fade-out completes at the end of the shorter track. Custom mid-clip fades require DaVinci / Premiere / manual ffmpeg.
- Output is MP4 by default. If source is MOV / WebM, output preserves the container.
- Cost = $0. No API calls — local ffmpeg only.
- No multitrack mixing. v1 mixes ONE music track onto video. For multi-track (music + SFX + voiceover): chain calls or use a DAW.
- Sample rate / channel layout handled implicitly. ffmpeg resamples as needed. For exact control: use raw ffmpeg.
INVOCATION HINTS
When the user says any of:
- "mix this music onto the video", "add background music"
- "duck the music under the voiceover", "lower music when speech"
- "replace audio with music"
- "смешай музыку с видео", "фоновая музыка для видео"
- "подложи трек под видосик"
If the user describes a podcast / explainer / interview workflow with voiceover, suggest --mode duck. If pure music video / silent footage, suggest --mode replace.
Defaults: --mode replace --volume 0.8 --fade-out 0.5. No --execute flag — the skill always executes (it's a local-only utility, no cost).
This skill is distinct from:
reel-builder— generates + stitches; this is final-mix onlysubtitle-burner— captions, not audiovoiceover-maker— generates TTS; this mixesmusic-prompt— generates music; this consumes the output of music-promptgif-maker— produces GIF, no audio
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Mikefluff
- Source: Mikefluff/skills
- License: MIT
- Homepage: https://www.npmjs.com/package/@mikefluff/skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.