Token导航 LogoToken导航

Agent Skill · 音频生成

music-generation(音乐一代)

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

music-generation 是音频生成类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在音频生成类的 283 个 Skill 里排第 254。

总安装 903周安装 38GitHub Stars 10下载 316核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

music-generation 用于辅助音频、音乐或语音合成处理,适合生成配乐说明或调用语音工具。适用于播客制作、视频配音或音效设计场景。使用时需确认输入音频来源、输出格式和时长限制。涉及人声克隆或版权音乐时应先核对授权和合规要求。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/music-generation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

music-generation 怎么安装?

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

music-generation 支持哪些 AI 工具?

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

music-generation 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

music-generation 是免费的吗?

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

music-generation 用的人多吗?

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

music-generation 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

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

值得选的地方

  • 同时适配 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-generation

音乐一代 · 本页

90310接触敏感数据未明确未通过

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

SKILL.md 原文

Music Generation Skill

Generate music, songs, and audio using AI (Suno, Udio, Google Lyria).

Prerequisites

At least one API key is required:

  • GOOGLE_API_KEY - For Google Lyria (same key as video/image) ✅
  • SUNO_API_KEY - For Suno music generation
  • UDIO_API_KEY - For Udio music generation

Available APIs

Google Lyria (Instrumental Only)

  • Best for: Background music, beats, soundtracks, game audio
  • Duration: Any length (streams in real-time)
  • Features: BPM control, key/scale, brightness, density
  • Output: 48kHz stereo WAV
  • API Key: Same GOOGLE_API_KEY as video/image generation ✅
  • ⚠️ INSTRUMENTAL ONLY - Cannot generate vocals

Suno (Recommended for Songs with Vocals)

  • Best for: Full songs with vocals, catchy melodies, various genres
  • Duration: Up to 4 minutes
  • Features: Lyrics generation, instrumental mode, style tags
  • Genres: Pop, rock, jazz, electronic, classical, hip-hop, and more

Udio

  • Best for: High-fidelity audio, experimental styles, remixes
  • Duration: Up to 2 minutes per generation
  • Features: Style control, audio quality options
  • Genres: Wide variety with strong electronic/experimental support

Workflow

Step 1: Ask Key Question - Vocals or Instrumental?

This determines which API to use:

NeedAPIWhy
Vocals/LyricsSuno or UdioLyria cannot generate vocals
Instrumental onlyLyria (preferred)Same API key as video/image, real-time control
Background musicLyriaBest for soundtracks, game audio
Full songsSunoBest vocal quality

Example prompt to user:

"I'll generate that music! Quick question:

  1. Do you need vocals/lyrics?

- Yes → I'll use Suno (best for songs) - No, instrumental only → I'll use Lyria (same key as video/image)

  1. What genre/mood? (e.g., chill lo-fi, epic orchestral, upbeat pop)
  2. How long? (Lyria: any length, Suno: up to 4 min)
  3. Any BPM preference? (e.g., 90 for chill, 128 for dance)"

Step 2: Understand the Request

Parse the user's music request for:

  • Genre/style: Pop, rock, jazz, electronic, classical, etc.
  • Mood: Happy, sad, energetic, calm, dramatic
  • Tempo: Fast, slow, medium, specific BPM
  • Vocals: With vocals → Suno/Udio, Instrumental → Lyria
  • Purpose: Background music, song, jingle, soundtrack
  • Duration: How long should it be?

Step 2: Craft the Prompt

Transform the user request into an effective music generation prompt:

  1. Specify genre: Be specific about the style
  2. Describe mood: Emotional tone and energy level
  3. Include instruments: What should be prominent
  4. Add production style: Lo-fi, polished, vintage, modern
  5. Set tempo: BPM or descriptive (upbeat, slow)

Example transformation:

  • User: "happy summer song"
  • Enhanced: "Upbeat indie pop song with bright acoustic guitar, cheerful ukulele, and sunny vibes. Feel-good summer anthem with catchy hooks and positive energy. Male vocals, 120 BPM, radio-friendly production"

Step 3: Handle Lyrics (If Needed)

For songs with vocals:

  • User provides lyrics: Use them directly
  • Generate lyrics: Ask Suno/Udio to generate, or use Claude to write them first
  • Instrumental: Specify "instrumental" to skip vocals

Lyrics format for Suno:

[Verse 1]
Your lyrics here

[Chorus]
Catchy chorus lyrics

[Verse 2]
More lyrics

Step 4: Select the API

Choose based on requirements:

Use CaseRecommended APIReason
Instrumental/backgroundLyriaSame API key, any duration, real-time control
Full songs with vocalsSunoBest vocal quality
Lo-fi beatsLyriaGreat for ambient/chill
Experimental/electronicUdioStrong in these genres
Specific lyrics neededSunoLyrics input support
Game/video soundtrackLyriaPrecise BPM/key control

Step 5: Generate the Music

Execute the appropriate script from ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/:

For Google Lyria (Instrumental):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/lyria.py \
  --prompt "chill lo-fi hip hop, jazzy piano, vinyl crackle" \
  --duration 60 \
  --bpm 85

Lyria with key/scale:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/lyria.py \
  --prompt "ambient, ethereal synths, dreamy" \
  --duration 120 \
  --scale "C" \
  --brightness 0.7

Lyria with multiple prompts (blended):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/lyria.py \
  --prompt "minimal techno" \
  --prompt "deep bass, 808" \
  --bpm 128 \
  --duration 90

For Suno (with vocals):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/suno.py \
  --prompt "upbeat indie pop, summer vibes, acoustic guitar" \
  --title "Summer Days"

For Udio:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/music-generation/scripts/udio.py \
  --prompt "cinematic orchestral, epic trailer music" \
  --duration 120

Step 6: Deliver the Result

  1. Provide the generated audio file path
  2. Share the prompt and settings used
  3. Mention the duration and format
  4. Offer to:

- Generate variations - Try different style/genre - Adjust tempo or mood - Extend the track - Add or remove vocals

Error Handling

Missing API key: Inform the user which key is needed:

Lyria requires google-genai package: pip install google-genai

User wants vocals but only has GOOGLE_API_KEY: Explain Lyria is instrumental-only, suggest Suno/Udio.

Content policy violation: Rephrase lyrics or prompt.

Generation failed: Retry with simplified prompt.

Quota exceeded: Suggest waiting or trying other provider.

Prompt Engineering Tips

Genre Tags (Suno Style)

Include specific genre tags for best results:

  • [pop, upbeat, female vocals, 128 BPM]
  • [jazz, smooth, saxophone, laid-back]
  • [electronic, synthwave, 80s, driving]
  • [classical, orchestral, emotional, strings]

Mood Descriptors

  • Energetic: upbeat, driving, powerful, intense
  • Calm: relaxing, ambient, peaceful, gentle
  • Happy: cheerful, bright, sunny, joyful
  • Sad: melancholic, emotional, heartfelt, somber
  • Epic: cinematic, dramatic, sweeping, grand

Production Style

  • Lo-fi: warm, vintage, tape hiss, nostalgic
  • Polished: crisp, modern, radio-ready, professional
  • Raw: garage, live, organic, unpolished
  • Electronic: synthesizers, digital, processed

API Comparison

FeatureLyriaSunoUdio
API KeyGOOGLE_API_KEY ✅SUNO_API_KEYUDIO_API_KEY
Max durationUnlimited4 minutes2 minutes
Vocals❌ No✅ Excellent✅ Good
Instrumentals✅ Excellent✅ Great✅ Excellent
BPM control✅ 60-200❌ No❌ No
Key/Scale control✅ Yes❌ No❌ No
Audio quality48kHz WAVVery goodExcellent
Lyrics input❌ No✅ Yes✅ Yes
Real-time steering✅ Yes❌ No❌ No
Best forBeats, soundtracksSongsExperimental

Example Prompts

Pop Song

Catchy pop song with female vocals, bright synths, and an anthemic chorus.
Feel-good energy, summer vibes, 120 BPM, radio-friendly production.

Cinematic Score

Epic orchestral trailer music with building tension. Powerful brass,
sweeping strings, thundering percussion. Dramatic and emotional.

Lo-fi Beat

Chill lo-fi hip hop beat, jazzy piano samples, vinyl crackle,
relaxed drums, perfect for studying. 85 BPM, nostalgic mood.

Electronic Dance

High-energy EDM track with massive drops, pulsing synths,
four-on-the-floor beat. Festival-ready, 128 BPM.

Lyria-Specific Examples

Lo-fi Study Beats

python3 lyria.py -p "lo-fi hip hop, jazzy piano, vinyl crackle, chill" \
  --duration 300 --bpm 85 --brightness 0.3

Techno/Dance

python3 lyria.py -p "minimal techno, deep bass, 808 drums" \
  --duration 120 --bpm 128 --density 0.7

Ambient/Meditation

python3 lyria.py -p "ambient, ethereal, soft pads, dreamy" \
  --duration 180 --brightness 0.8 --density 0.2

Game Soundtrack

python3 lyria.py -p "epic orchestral, cinematic, dramatic strings" \
  --duration 90 --scale "D" --mode quality

Lyria Prompt Tips

  • Instruments: piano, guitar, synth, drums, bass, strings, 808, Rhodes, Moog
  • Genres: lo-fi hip hop, minimal techno, ambient, jazz fusion, synthwave, chillout
  • Moods: chill, energetic, dreamy, dark, upbeat, melancholic, epic
  • Combine prompts: Use multiple -p flags to blend styles

适合场景

01

生成背景音乐

02

生成歌曲或旋律

03

视频和播客配乐

04

社媒内容音频素材

能力概览

能力 1

调用音乐生成模型

能力 2

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

能力 3

提供 CLI 示例和使用场景

能力 4

适合音频内容工作流

平台分布

Codex

34.67%
按下载量换算110

Claude

33.49%
按下载量换算106

Cursor

19.37%
按下载量换算61

Gemini CLI

10.42%
按下载量换算33

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills