Skip to content
Marketing
Skill

/audio-editing

通用音频处理:音频剪辑/裁剪、格式转码(mp3/wav/m4a/aac)、音量归一化、从视频提取音轨、多段拼接、淡入淡出、变速(保音高)。当用户说“剪音频”“裁一段”“转成 mp3”“调音量/响度”“提取音轨/扒音频”“拼接音频”“淡入淡出”“加速/减速音频”“变速不变调”时使用。与 audio-denoise 的区别:audio-denoise 专做降噪,audio-editing 做除降噪外的通用音频操作(也内置 denoise 作为兜底)。

From plugin
easel
4.7k118 skills1 agent

Claude Code

$ npx -y skills add zju-real/easel --skill audio-editing --agent claude-code

SKILL.md

audio-editing.SKILL.md
name: audio-editing
description: "通用音频处理:音频剪辑/裁剪、格式转码(mp3/wav/m4a/aac)、音量归一化、从视频提取音轨、多段拼接、淡入淡出、变速(保音高)。当用户说“剪音频”“裁一段”“转成 mp3”“调音量/响度”“提取音轨/扒音频”“拼接音频”“淡入淡出”“加速/减速音频”“变速不变调”时使用。与 audio-denoise 的区别:audio-denoise 专做降噪,audio-editing 做除降噪外的通用音频操作(也内置 denoise 作为兜底)。"
layer: produce

通用音频处理

除降噪外的通用音频操作:裁剪、转码、音量归一化、提取音轨、拼接、淡入淡出、变速。全部通过共享脚本 `skills/shared/scripts/audio_ops.py` 封装 ffmpeg,参数确定、可复现,不现场手拼命令。

输入

| 字段 | 必填 | 说明 | |------|------|------| | input_file | 是 | 音频或视频文件路径 | | operation | 是 | trim / convert / normalize / extract / concat / fade / speed / denoise / info | | output_file | 否 | 默认 `outputs/主题名/{name}-{op}.{ext}` |

支持格式:wav / mp3 / m4a / aac / flac,视频容器 mp4 / mkv / mov(提取音轨)。

输出

  • 处理后的音频文件(放入 `outputs/主题名/`)
  • 每次操作打印实际执行的 ffmpeg 命令 + 输出文件的时长/码率/声道/采样率

执行步骤

脚本路径(相对项目根):`skills/shared/scripts/audio_ops.py`。每个子命令都支持 `-h`。

0. 环境检查 + 探测

python skills/shared/scripts/audio_ops.py info input.mp3

脚本自身会检查 ffmpeg/ffprobe,缺失时给安装提示。先 `info` 展示文件时长/码率/声道再动手。

1. 裁剪 trim

# 起止时间
python skills/shared/scripts/audio_ops.py trim in.mp3 -o outputs/主题名/clip.mp3 --start 00:00:05 --end 00:00:20
# 起点 + 时长
python skills/shared/scripts/audio_ops.py trim in.mp3 -o clip.mp3 --start 5 --duration 15

2. 转码 convert

python skills/shared/scripts/audio_ops.py convert in.wav -o out.mp3 --bitrate 192k
python skills/shared/scripts/audio_ops.py convert in.m4a -o out.wav --sample-rate 44100 --channels 2

输出格式由扩展名决定(mp3/wav/m4a/aac)。

3. 音量归一化 normalize

python skills/shared/scripts/audio_ops.py normalize in.mp3 -o out.mp3

默认 loudnorm 到 -14 LUFS / -1.5 dBTP(社媒/播客通用响度)。可用 `--i --tp --lra` 覆盖。

4. 提取音轨 extract

python skills/shared/scripts/audio_ops.py extract video.mp4 -o audio.m4a
python skills/shared/scripts/audio_ops.py extract video.mp4 -o audio.aac --copy   # 不重编码,最快

5. 拼接 concat

python skills/shared/scripts/audio_ops.py concat a.mp3 b.mp3 c.mp3 -o all.mp3

按参数顺序拼接,重编码方式兼容不同采样率/容器。

6. 淡入淡出 fade

python skills/shared/scripts/audio_ops.py fade in.mp3 -o out.mp3 --fade-in 2 --fade-out 3

`--fade-out` 自动定位到结尾前 N 秒。

7. 变速 speed(保持音高)

python skills/shared/scripts/audio_ops.py speed in.mp3 -o out.mp3 --factor 1.5   # 1.5 倍速
python skills/shared/scripts/audio_ops.py speed in.mp3 -o out.mp3 --factor 0.8   # 放慢

基于 atempo 保音高,超 0.5-2.0 范围自动级联。

8. 降噪 denoise(兜底,专项请用 audio-denoise)

python skills/shared/scripts/audio_ops.py denoise in.wav -o out.wav --tier 2

与 audio-denoise 的边界

  • **audio-denoise**:降噪专项 SKILL,负责选级、模型下载、降噪报告等完整流程——需要认真降噪时用它。
  • **audio-editing**:通用音频处理。`denoise` 子命令仅作为顺手兜底,两者调用同一个 `audio_ops.py denoise`,能力一致,定位不同。

规则

1. **绝不删除原始文件** — 只写新文件到 `outputs/主题名/`。 2. **先 info 再处理** — 展示文件信息,避免误操作。 3. **视频输入只动音频** — denoise 对视频自动 `-c:v copy`;纯抽音用 extract。 4. **透明执行** — 脚本会打印实际 ffmpeg 命令。 5. **无 Profile 也能用** — 音频处理不依赖账号画像。

Profile 感知

有 Profile 时可据平台偏好选默认参数(如短视频响度、目标码率);无 Profile 退到通用默认(-14 LUFS、192k)。

Read more
@zju-real
Ships witheasel

An open-source AI agent for social media — discover trends, create content, publish everywhere, and learn what works across Xiaohongshu, Douyin, Zhihu, Bilibili, and more.🎨一个开源的 AI 社交媒体智能体——发现热点趋势、创作内容、一键发布至各大平台,并学习分析哪些内容真正有效,覆盖小红书、抖音、知乎、哔哩哔哩等平台。

4.7k118 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.7k
Star history of zju-real/easel on GitHub, a chart by star-history.com

Other skills on easel.

ai-image-gen

ai-image-gen

通用 AI 生图:文生图 / 图生图 / 图像变体。当用户说 AI 生图、AI 画图、文生图、图生图、生成图片、生成配图、图像生成、AI 出图、AI 作图、换图、改图、图像编辑、给我画一张、生成一张图 时使用。支持 OpenAI 兼容 API 与…

@zju-real@zju-realInstall Skill
ai-music

ai-music

AI 音乐 / BGM 生成:给短视频、社媒内容生成原创背景音乐 / 配乐 / 纯音乐。通过可插拔 provider(阿里 DashScope / Suno 类第三方 API)文生音乐,异步提交→轮询→下载,产物可再裁剪/归一化或加到视频。当用户说“AI…

@zju-real@zju-realInstall Skill
ai-video-gen

ai-video-gen

AI 视频生成:文生视频 / 图生视频 / 数字人首帧驱动。通过可插拔 provider(通义万相 Wan / 火山 Seedance / 快手可灵 / OpenAI 兼容)异步生成视频,用户自备 API key。当用户说 AI…

@zju-real@zju-realInstall Skill
asset-manager

asset-manager

outputs/ 目录下的产物管理:按日期/平台/类型归档、打标签、搜索历史内容、生成素材清单。 当用户说"整理素材"、"归档"、"找之前的内容"、"搜索历史"、"素材管理"、 "outputs 整理"、"之前做的"时使用。 与其他 produce 层…

@zju-real@zju-realInstall Skill
audio-denoise

audio-denoise

音频降噪:去除录音中的背景噪声、电流声、风噪、嗡嗡声,基于 ffmpeg 滤镜链(afftdn/highpass/lowpass)。 当用户说"降噪""去噪""去杂音""消除背景噪声""电流声""风噪""录音有杂音""音频降噪"时使用。 和…

@zju-real@zju-realInstall Skill
audio-mix

audio-mix

音频混合 / 混音:把旁白口播 + 背景音乐 + 音效混成一轨,BGM 自动循环补足并可闪避(旁白说话时自动压低 BGM 保证人声清晰)。当用户说 混音、音频混合、旁白加背景音乐、配音加BGM、人声和音乐混一起、加音效、音频叠加、BGM…

@zju-real@zju-realInstall Skill

More skills from other plugins.

seo

seo

Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…

@agricidaniel@agricidanielInstall Skill
brag

brag

Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…

brag3w21k
@latent-spaces@latent-spacesInstall Skill
geo-audit

geo-audit

Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…

Questions about audio-editing.

Which coding agents can use audio-editing?
audio-editing installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.