Token导航 LogoToken导航

Agent Skill · 音频生成

music(music 音频)

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

music 是音频生成类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在音频生成类的 283 个 Skill 里排第 128。

总安装 3,480周安装 145GitHub Stars 49下载 1,160核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:music(music 音频)
来源仓库:https://github.com/marswaveai/skills
仓库路径:skills/music
安装命令:
npx skills add https://github.com/marswaveai/skills --skill music
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/marswaveai/skills --skill music

这个 Skill 是做什么的

音频生成类 Skill 处理配音、配乐和音频素材的生成与转换。

music 用于辅助音频、音乐、语音转写和声音素材处理。适合生成配乐说明、整理音频流程或调用语音工具。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。使用时需确认输入音频来源、输出格式、时长和模型限制。涉及人声克隆或版权音乐时,应先核对授权和合规边界。

music 属于音频生成类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/music

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/marswaveai/skills --skill music;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

music 怎么安装?

在终端执行 npx skills add https://github.com/marswaveai/skills --skill music。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

music 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

music 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/marswaveai/skills --skill music 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

music 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

music 用的人多吗?

公开数据是累计安装 3,480 次,近一周安装 145 次,下载 1,160 次,GitHub 49 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

music 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理音频生成类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

音频生成类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
music-cog

音乐齿轮 · OpenClaw

121,1044需要联网MIT-0通过
elevenlabs-music

十一实验室音乐 · OpenClaw

108,6181接触敏感数据MIT-0通过
music-generation

音乐一代 · OpenClaw

100,1385需要联网MIT-0有提醒
ace-music

王牌音乐 · OpenClaw

95,8682接触敏感数据MIT-0有提醒
mcp-applemusic

MCP applemusic 音频 · OpenClaw

79,3893调用外部服务MIT-0有提醒
music

music 音频 · 本页

3,48049执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When to Use

  • User wants to generate original AI music from a prompt
  • User wants to create a cover from reference audio
  • User says "音乐", "music", "生成音乐", "generate music", "翻唱", "cover", "作曲", "compose", "create a song", or "做一首歌"

When NOT to Use

  • User wants text-to-speech reading (use /speech)
  • User wants a podcast discussion (use /podcast)
  • User wants an explainer video with narration (use /explainer)
  • User wants to transcribe audio to text (use /asr)

Purpose

Generate original AI music from text prompts, or create cover versions from reference audio. Two modes:

  1. Generate (original): Create a new song from a text prompt, with optional style, title, and instrumental-only options.
  2. Cover: Transform a reference audio file into a new version, with optional style modifications.

Hard Constraints

  • Always read config following shared/config-pattern.md before any interaction
  • Follow shared/cli-patterns.md for execution modes, error handling, and interaction patterns
  • Always follow shared/cli-authentication.md for auth checks
  • Never save files to ~/Downloads/ or .listenhub/ — save artifacts to the current working directory with friendly topic-based names (see shared/config-pattern.md § Artifact Naming)
  • No speakers involved — music generation does not use speaker selection
  • Audio file constraints for cover mode: mp3, wav, flac, m4a, ogg, aac; max 20MB
  • Long timeout: 600s default. Use run_in_background: true with timeout: 660000

Step -1: CLI Auth Check

Follow shared/cli-authentication.md. If the CLI is not installed or the user is not logged in, auto-install and auto-login — never ask the user to run commands manually.

Step 0: Config Setup

Follow shared/config-pattern.md Step 0 (Zero-Question Boot).

If file doesn't exist — silently create with defaults and proceed:

mkdir -p ".listenhub/music"
echo '{"outputMode":"download","language":null}' > ".listenhub/music/config.json"
CONFIG_PATH=".listenhub/music/config.json"
CONFIG=$(cat "$CONFIG_PATH")

Do NOT ask any setup questions. Proceed directly to the Interaction Flow.

If file exists — read config silently and proceed:

CONFIG_PATH=".listenhub/music/config.json"
[ ! -f "$CONFIG_PATH" ] && CONFIG_PATH="$HOME/.listenhub/music/config.json"
CONFIG=$(cat "$CONFIG_PATH")

Setup Flow (user-initiated reconfigure only)

Only run when the user explicitly asks to reconfigure. Display current settings:

当前配置 (music):
  输出方式:{inline / download / both}
  语言偏好:{zh / en / 未设置}

Then ask:

  1. outputMode: Follow shared/output-mode.md § Setup Flow Question.
  2. Language (optional): "默认语言?"

- "中文 (zh)" - "English (en)" - "每次手动选择" → keep null

After collecting answers, save immediately:

NEW_CONFIG=$(echo "$CONFIG" | jq --arg m "$OUTPUT_MODE" '. + {"outputMode": $m}')
if [ "$LANGUAGE" != "null" ]; then
  NEW_CONFIG=$(echo "$NEW_CONFIG" | jq --arg lang "$LANGUAGE" '. + {"language": $lang}')
fi
echo "$NEW_CONFIG" > "$CONFIG_PATH"
CONFIG=$(cat "$CONFIG_PATH")

Interaction Flow

Step 1: Mode

Ask the user which mode they want, unless the intent is already clear from their message (e.g., "翻唱" or "cover" implies cover mode; "作曲" or "compose" implies generate mode).

Question: "选择音乐生成模式:"
Options:
  - "原创 (Generate)" — 从文字描述生成全新歌曲
  - "翻唱 (Cover)" — 基于参考音频生成新版本

Step 2a: Prompt (generate mode)

If the user chose Generate, ask for the song description:

"请描述你想要的歌曲(主题、情绪、歌词片段等):"

Accept free text. This maps to --prompt.

Step 2b: Reference Audio (cover mode)

If the user chose Cover, ask for the reference audio:

"请提供参考音频文件路径或 URL:"

Accept a local file path or URL. This maps to --audio.

Validate the input:

  • If a local path: verify the file exists and check the extension is one of: mp3, wav, flac, m4a, ogg, aac
  • If a URL: accept as-is (the CLI will validate)
  • Check file size does not exceed 20 MB for local files: FILE_SIZE=$(stat -f%z "{path}" 2>/dev/null || stat -c%s "{path}" 2>/dev/null) if ["$FILE_SIZE" -gt 20971520]; then echo "File exceeds 20 MB limit" fi

If validation fails, inform the user and re-ask.

Optionally, the user may also provide a prompt to guide the cover style.

Step 3: Style (optional)

Ask for an optional style descriptor:

"指定音乐风格?(如 pop、rock、jazz、电子、古风等,留空则由 AI 自动选择)"

Accept free text or empty. This maps to --style.

Step 4: Title (optional)

Ask for an optional title:

"歌曲标题?(留空则自动生成)"

Accept free text or empty. This maps to --title.

Step 5: Instrumental

Question: "是否纯音乐(无人声)?"
Options:
  - "否,带人声(默认)"
  - "是,纯音乐"

Default is "no" (with vocals). If the user selects "是", add --instrumental flag.

Step 6: Confirm & Generate

Summarize all choices:

Generate mode:

准备生成音乐:

  模式:原创 (Generate)
  描述:{prompt}
  风格:{style / 自动}
  标题:{title / 自动}
  人声:{带人声 / 纯音乐}

  确认?

Cover mode:

准备生成音乐:

  模式:翻唱 (Cover)
  参考音频:{path-or-url}
  描述:{prompt / 无}
  风格:{style / 自动}
  标题:{title / 自动}
  人声:{带人声 / 纯音乐}

  确认?

Wait for explicit confirmation before running any CLI command.

Workflow

  1. Submit (background): Run the CLI command with run_in_background: true and timeout: 660000: Generate mode: listenhub music generate \ --prompt "{prompt}" \ --style "{style}" \ --title "{title}" \ --instrumental \ --json Cover mode: listenhub music cover \ --audio "{path-or-url}" \ --prompt "{prompt}" \ --style "{style}" \ --title "{title}" \ --instrumental \ --json Flag notes: The CLI handles polling internally. Music generation takes up to 10 minutes.

- --prompt — text description of the music (required for generate, optional for cover) - --audio — reference audio file path or URL (cover mode only, required) - --style — optional style/genre hint; omit if not provided - --title — optional track title; omit if not provided - --instrumental — add this flag for instrumental-only (no vocals); omit if not selected - Omit --prompt in cover mode if not provided

  1. Tell the user the task is submitted and that they will be notified when it finishes.
  2. When notified of completion, present the result: Parse the CLI JSON output for key fields: AUDIO_URL=$(echo "$RESULT" | jq -r '.audioUrl') TITLE=$(echo "$RESULT" | jq -r '.title // "Untitled"') DURATION=$(echo "$RESULT" | jq -r '.duration // empty') CREDITS=$(echo "$RESULT" | jq -r '.credits // empty') Read OUTPUT_MODE from config. Follow shared/output-mode.md for behavior. inline or both: Display audio URL as a clickable link. 音乐已生成! 标题:{title} 在线收听:{audioUrl} 时长:{duration}s 消耗积分:{credits} download or both: Also download the file. Generate a slug from the title following shared/config-pattern.md § Artifact Naming. SLUG="{slug}" # e.g. "summer-breeze" NAME="${SLUG}.mp3" # Dedup: if file exists, append -2, -3, etc. BASE="${NAME%.*}"; EXT="${NAME##*.}"; i=2 while [-e "$NAME"]; do NAME="${BASE}-${i}.${EXT}"; i=$((i+1)); done curl -sS -o "$NAME" "{audioUrl}" Present: 已保存到当前目录: {NAME}

After Successful Generation

Update config with the language used this session if the user explicitly specified one:

if [ -n "$LANGUAGE" ]; then
  NEW_CONFIG=$(echo "$CONFIG" | jq --arg lang "$LANGUAGE" '. + {"language": $lang}')
  echo "$NEW_CONFIG" > "$CONFIG_PATH"
fi

Estimated times:

  • Music generation: 5-10 minutes

Resources

  • CLI authentication: shared/cli-authentication.md
  • CLI patterns: shared/cli-patterns.md
  • Config pattern: shared/config-pattern.md
  • Output mode: shared/output-mode.md

Composability

  • Invokes: nothing
  • Invoked by: content-planner (Phase 3)

Examples

Generate original:

"帮我做一首关于夏天海边的歌"
  1. Detect: generate mode ("做一首歌")
  2. Read config (first run: create defaults with outputMode: "download")
  3. Infer: mode = generate, prompt = "夏天海边的歌"
  4. Ask: style? title? instrumental?
  5. Confirm summary → user confirms
listenhub music generate \
  --prompt "关于夏天海边的歌" \
  --json

Wait for CLI to return result, then download {slug}.mp3 to cwd.

Cover from file:

"用这个音频翻唱一下 demo.mp3,jazz 风格"
  1. Detect: cover mode ("翻唱")
  2. Validate: demo.mp3 exists, is a supported format, under 20 MB
  3. Infer: style = "jazz" from user input
  4. Ask: title? instrumental?
  5. Confirm summary → user confirms
listenhub music cover \
  --audio "demo.mp3" \
  --style "jazz" \
  --json

Wait for CLI to return result, then download {slug}.mp3 to cwd.

Generate instrumental:

"Create an instrumental electronic track for a game intro"
  1. Detect: generate mode ("Create... track")
  2. Infer: style = "electronic", instrumental = yes
  3. Ask: title?
  4. Confirm summary → user confirms
listenhub music generate \
  --prompt "instrumental electronic track for a game intro" \
  --style "electronic" \
  --instrumental \
  --json

Wait for CLI to return result, then download {slug}.mp3 to cwd.

适合场景

01

生成背景音乐

02

生成歌曲或旋律

03

视频和播客配乐

04

社媒内容音频素材

能力概览

能力 1

调用音乐生成模型

能力 2

支持文本到音乐或歌曲生成

能力 3

提供 CLI 示例和使用场景

能力 4

适合音频内容工作流

平台分布

Codex

35.92%
按下载量换算417

Claude

28.61%
按下载量换算332

Cursor

19.39%
按下载量换算225

Gemini CLI

9.13%
按下载量换算106

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/marswaveai/skills --skill music 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills