audio-mix

audio-mix is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 182 tokens per session (1,157 once invoked), scanned A, original, Apache-2.0.

An audio mixing tool that combines narration, background music, and sound effects into one audio track.

In plain words
What is it for?
Use it to produce voice-over tracks for videos, podcasts, presentations, and other projects that combine speech, music, and timed effects.
Why use it?
It can loop background music to match the narration and lower the music while someone is speaking, so the voice remains easier to hear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/shared/scripts/audio_mix.py mix \.

Good fit Use it to produce voice-over tracks for videos, podcasts, presentations, and other projects that combine speech, music, and timed effects.

Compare 6 skills from other repositories ↓
About the project

Easel is an open-source content workspace and AI agent for managing social media from trend discovery through planning, content creation, publishing, and performance analysis. It is intended for social media creators and maintains separate account profiles, content projects, platform adaptations, and publishing records. The catalogue skills support these content and publishing workflows.

ZJU-REAL/Easel · 5,054 stars · on GitHub · zju-real.github.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel
agentmods
npx agentmods add skills/zju-real/easel/audio-mix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audio-mix

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/audio-mix/github.svg)](https://agentmods.dev/skills/zju-real/easel/audio-mix)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/audio-mix"><img src="https://agentmods.dev/badge/skills/zju-real/easel/audio-mix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audio-mix

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/audio-mix"><img src="https://agentmods.dev/badge/skills/zju-real/easel/audio-mix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00182 $0.01157
Opus 5.5 $0.00073 $0.00463
Sonnet 5.5 $0.00036 $0.00231
Haiku 4.5 $0.00018 $0.00116

Measured 1mo ago against content hash 711c2d4829bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audio-mix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/builtin/audio-mix/SKILL.md · 69 lines

What it actually says

音频混合(旁白 + BGM + 音效)

把多条音频同时叠加混成一轨,核心能力是闪避(ducking)——旁白说话时自动压低 背景音乐,人声清晰、音乐不抢。全部走 skills/shared/scripts/audio_mix.py, 不要手拼 amix/sidechaincompress。

前后顺序拼接(一段接一段)见 audio-editing concat;给视频配乐见 video-editing bgm; 降噪见 audio-denoise。

输入

字段 必填 说明
旁白 否 口播/配音主轨(给了则输出时长跟它走,并触发闪避)
BGM 否 背景音乐(自动循环补足到旁白长度)
音效 否 一个或多个音效,可指定各自出现时间点

(三者至少给一个。最典型:"旁白 + BGM"。)

输出(outputs/主题名/)

  • 混音后的单轨音频(mp3/wav/m4a,按输出后缀)
  • 报告:轨数、实际写出文件的时长、是否闪避

执行步骤

脚本路径(相对项目根):skills/shared/scripts/audio_mix.py(mix -h 看参数)。

# 旁白 + BGM(默认自动闪避,BGM 循环补足到旁白长度)
python skills/shared/scripts/audio_mix.py mix \
  --voice narration.mp3 --bgm music.mp3 --bgm-volume 0.25 \
  -o outputs/主题名/final.mp3

# 关闭闪避(纯叠加)
python skills/shared/scripts/audio_mix.py mix --voice v.mp3 --bgm m.mp3 --no-duck -o out.mp3

# 旁白 + 定时音效(第 3.5s 一个叮,第 8s 一个 whoosh)
python skills/shared/scripts/audio_mix.py mix --voice v.mp3 \
  --sfx ding.wav --sfx-at 3.5 --sfx whoosh.wav --sfx-at 8 -o out.mp3

调参

  • 人声被音乐盖住:调低 --bgm-volume(默认 0.25)或确认闪避已开(默认开)。
  • 闪避太猛/音乐一顿一顿:--no-duck 后手动压低 --bgm-volume。
  • BGM 比旁白短:默认自动循环;不想循环用 --bgm-loop-off。
  • 音效太响/太轻:--sfx-volume(默认 0.9)。
  • 需要配音结束后继续播放 BGM:用 --duration 指定目标时长,循环 BGM 会继续播放并在末尾淡出。

规则

  1. 默认目标时长取旁白与定时音效的最晚结束时间(只有 BGM 时取其原长);--duration 可覆盖。BGM 自动循环/裁切对齐,末尾淡出只作用于 BGM 和音效,旁白不被淡出;不循环 BGM 或仅旁白不会自动补静音,报告以实际产物时长为准。
  2. 旁白 + BGM 默认开启闪避(人声优先);不需要时显式 --no-duck。
  3. --sfx 与 --sfx-at 数量一致(或不给 --sfx-at 全部默认 0s)。
  4. 混音不做响度归一(保留相对音量);需统一响度先用 audio-editing normalize。
  5. 产物统一进 outputs/主题名/。

参考来源

闪避用 ffmpeg sidechaincompress(以人声为控制信号压缩 BGM),是播客/口播视频保证人声清晰的 标准做法;多轨叠加用 amix。把 sidechain 接线与循环对齐封装成确定性脚本。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 711c2d4829bb
  2. 3mo ago First seen · 68 lines · 182 tokens per session scan A f4a017f4c6ca

Subscribe to this mod's changes

audio-mix is a skill published in the GitHub repository ZJU-REAL/Easel (5,054 stars, last pushed 3d ago), licensed Apache-2.0. It adds 182 tokens to every session and 1,157 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

audio-mix compared with skills from other repositories

audio-mix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audio-mixZJU-REAL/EaselSkill5.1k3d agoApache-2.0A182Claude Code, Codex
information-security-manager-iso27001seaworld008/Commonly-used-high-value-skillsSkill752d agoMITA34Claude Code, Codex
bmad-specalvin-reyes/better-agentic-ideSkill3813d agoMITA76Claude Code
video-editoroyi77/1ai-skillsSkill19yesterdayMITA59Claude Code
bmad-advanced-elicitationalvin-reyes/better-agentic-ideSkill3813d agoMITA55Claude Code
ai-newsletteroyi77/1ai-skillsSkill19yesterdayMITA36Claude Code
responsive-designoyi77/1ai-skillsSkill19yesterdayMITA23Claude Code