music
Skill78 starsChanged 8 months agoMITView on GitHub
Generate, remix, extend, edit, and analyze AI music (Mureka). Triggers on: "音乐", "music", "生成音乐", "generate music", "翻唱", "cover", "混音", "remix", "续写", "extend", "纯音乐", "instrumental", "配乐", "soundtrack", "分轨", "stem", "识别歌词", "recognize lyrics", "作曲", "compose", "create a song", "做一首歌".
11 other projects use a version of this.
Adopted by
Most recently taken up by
- calesthio/OpenMontagetheir own version, first seen Oct 3, 2026
- guaardvark/guaardvarktheir own version, first seen Sep 30, 2026
- elevenlabs/skillstheir own version, first seen Sep 30, 2026
- anthonymaley/MusicTUItheir own version, first seen Sep 6, 2026
- elevenlabs/plugintheir own version, first seen Aug 28, 2026
- uid13/skillstheir own version, first seen Aug 19, 2026
Used with
Projects with it also use sound-effects, setup-api-key and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
awesome-genmediaSkillsound-effects
Generate custom sound effects using each::sense AI. Create realistic and stylized audio for any scenario including impacts, ambiences, foley, UI sounds, nature, mechanical effects, and transitions. Powered by stable-audio-2-5 for precise audio generation. Use for: video production, game development, podcasts, apps, UI/UX, presentations, film. Triggers: sound effect, sfx, audio effect, foley, generate sound, ambient sound, ui sound, impact sound, whoosh, explosion, nature sound, notification sound, create audio
Also in 3 projects that use this
sonilo-aiSkillsetup-api-key
Guides users through connecting to Sonilo — signing in with `sonilo login` (OAuth, no key), the remote OAuth plugin for Claude Code or Muse Code, or an API key for CI and headless use. Use when the user needs to configure Sonilo, wants to sign in or connect their Sonilo account, when Sonilo tools are missing, or when a call fails because no key or credential is available. First checks what already works, and only runs full setup when needed.
Also in 3 projects that use this
martinholovskySkilltext-to-speech
Expert skill for implementing text-to-speech with Kokoro TTS. Covers voice synthesis, audio generation, performance optimization, and secure handling of generated audio for JARVIS voice assistant.
Also in 3 projects that use this
DomdhiSkillvoice
TTS voice control — toggle auto-read, change voice/speed, read files aloud, stop/repeat speech
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- calesthio/OpenMontage★ 63ksame name
- elevenlabs/skills★ 472same name
- autonomous-ai/Physical-AI-Operating-System★ 381same name
- autonomous-ai/autonomous-os★ 378same name
- guaardvark/guaardvark★ 247same name
- bozhouDev/video-skills-toolkit★ 147same name
- anthonymaley/MusicTUI★ 14same name
- uid13/skills★ 7same name
- wende/macbeth★ 4same name
- elevenlabs/plugin★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- asrSkill
- cola-avatar-packSkill
- content-parserSkill
- creatorSkill
- explainerSkill
- google-calendarSkill
- icloud-calendarSkill
- image-genSkill
- listenhub-cliSkill
- listenhubSkill
- listenhub-voiceSkill
- outlook-calendarSkill
- podcastSkill
- slidesSkill
- ttsSkill
- universal-emailSkill
- video-genSkill
- voice-cloneSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 10 are distinctive, and 15 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Always read config following shared/config-pattern.md before any interaction
- Very specific: line 60
Follow shared/cli-patterns.md for execution modes, error handling, and interaction patterns
- Very specific: line 61
Always follow shared/cli-authentication.md for auth checks
- Very specific: line 62
Never save files to ~/Downloads/ or .listenhub/ — save artifacts to the current working directory with friendly topic-based names (see …
- Distinctive: line 63
No speakers involved — music generation does not use speaker selection
- Very specific: line 65
All time-range flags are in seconds (--generate-start/--generate-end)
- Very specific: line 76
Follow shared/cli-authentication.md.
- Very specific: line 80
Follow shared/config-pattern.md Step 0 (Zero-Question Boot).
- Distinctive: line 100
Only run when the user explicitly asks to reconfigure.
- Very specific: line 109
outputMode: Follow shared/output-mode.md § Setup Flow Question.
- Distinctive: line 116
After collecting answers, save immediately:
- Distinctive: line 142
If the user picks "其他", follow up with a second AskUserQuestion listing: 续写 (Extend)、单轨 (Track)、识别歌词 (Recognize)、描述 (Describe)、分轨 (Stem).
- Very specific: line 148
Use the per-capability fields below.
- Distinctive: line 208
Wait for explicit confirmation before running any CLI command.
- Very specific: line 285
When notified of completion, present the result.
- Very specific: line 295
Read OUTPUT_MODE from config.
- Distinctive: line 350
Update config with the language used this session if the user explicitly specified one:
- Very specific: line 382
Read config (first run: create defaults with outputMode: "download")
- Distinctive: line 384
Ask: style? title? instrumental?
- Very specific: line 393
Wait for CLI to return result, then download {slug}.mp3 to cwd.
- Very specific: line 401
Ask: new lyrics (--lyrics, required), prompt/direction (--prompt, required), style, title
- Very specific: line 413
Wait for the CLI result, then download {slug}.mp3 to cwd.
- Distinctive: line 453
Run in foreground and show lyrics with timestamps
- Distinctive: line 464
Ask: separation model (audio-separation-1 / audio-separation-2)
- Distinctive: line 465
Run in foreground; in download mode, fetch the ZIP URL to cwd
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- User wants to generate original AI music from a prompt and/or lyrics
- User wants to remix / re-create an existing song with new lyrics
- User wants a pure instrumental, or a soundtrack scored to an image or video
- User wants to extend a song or isolate/generate a single track
- User wants to analyze audio — recognize lyrics, describe a song, or split stems
- User says "音乐", "music", "生成音乐", "generate music", "翻唱"/"混音"/"remix", "续写"/"extend", "纯音乐"/"instrumental", "配乐"/"soundtrack", "分轨"/"stem", "识别歌词", "作曲", "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 spoken audio to text — not song lyrics (use
/asr)
Purpose
Full ListenHub music toolkit, powered by the Mureka provider via the listenhub music CLI. Capabilities:
Generation (async — return a task to poll):
- generate — text and/or lyrics → a new song. Optional style, title, instrumental, and a cloned
--vocal-id. - remix — an existing song + new lyrics → a re-creation. Input is one of an audio file, an audio URL, or a provider song ID.
- instrumental — a pure instrumental from a prompt, or guided by a reference audio.
- soundtrack — music scored to an image or a video.
- track — isolate or generate a single instrument/vocal track from a song.
- extend — make a song longer.
- cover (deprecated) — older cover flow; prefer remix.
Analysis (sync — return results immediately):
- recognize — lyrics with line-level timestamps.
- describe — description, tags, genres, instruments.
- stem — split a song into separated stems (ZIP download URLs).
Task management: list (recent tasks) and get <taskId> (status/result of one task).
Models for generation commands: auto (default), mureka-7.6, mureka-8, mureka-9, mureka-o2. See references/music-api.md for the full per-command parameter reference.
Hard Constraints
- Always read config following
shared/config-pattern.mdbefore any interaction - Follow
shared/cli-patterns.mdfor execution modes, error handling, and interaction patterns - Always follow
shared/cli-authentication.mdfor auth checks - Never save files to
~/Downloads/or.listenhub/— save artifacts to the current working directory with friendly topic-based names (seeshared/config-pattern.md§ Artifact Naming) - No speakers involved — music generation does not use speaker selection
- File limits (all max 10 MB): audio mp3/m4a (
trackalso accepts wav); image jpg/jpeg/png/webp; video mp4/mov/avi/mkv/webm - All time-range flags are in seconds (
--generate-start/--generate-end) - For async generation commands, use a long timeout:
run_in_background: truewithtimeout: 660000(600s+). Sync commands (recognize,describe,stem) return immediately coveris deprecated — steer users toremixunless they explicitly ask forcover
<HARD-GATE>
Use the AskUserQuestion tool for every multiple-choice step — do NOT print options as plain text. Ask one question at a time. Wait for the user's answer before proceeding to the next step. After all parameters are collected, summarize the choices and ask the user to confirm. Do NOT call any CLI command until the user has explicitly confirmed.</HARD-GATE>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:
- outputMode: Follow
shared/output-mode.md§ Setup Flow Question. - 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: Capability
Pick the capability. Skip the question if the user's intent is already clear (e.g., "翻唱"/"混音"/"remix" → remix; "作曲"/"compose"/"做一首歌" → generate; "纯音乐"/"instrumental" → instrumental; "续写"/"extend" → extend; "分轨"/"stem" → stem; "识别歌词" → recognize).
Question: "想做什么?"
Options:
- "原创 (Generate)" — 用文字 / 歌词生成全新歌曲
- "混音 (Remix)" — 基于已有歌曲 + 新歌词重新创作
- "纯音乐 (Instrumental)" — 生成无人声的器乐
- "配乐 (Soundtrack)" — 为图片或视频配乐
- "其他" — 续写 / 单轨 / 识别歌词 / 描述 / 分轨If the user picks "其他", follow up with a second AskUserQuestion listing: 续写 (Extend)、单轨 (Track)、识别歌词 (Recognize)、描述 (Describe)、分轨 (Stem).
get <taskId> and list are not interactive flows — run them directly when the user asks about a task's status.
Step 2: Gather inputs (per capability)
Use the per-capability fields below. Ask for required inputs; offer optional ones. For any audio/image/video file, validate before confirming:
- Local path: verify the file exists and the extension matches the allowed list for that command (see Hard Constraints /
references/music-api.md). - URL: accept as-is (the CLI validates).
- Size: reject local files over 10 MB.
FILE_SIZE=$(stat -f%z "{path}" 2>/dev/null || stat -c%s "{path}" 2>/dev/null)
if [ "$FILE_SIZE" -gt 10485760 ]; then echo "File exceeds 10 MB limit"; figenerate — --prompt and/or --lyrics (at least one); optional --style, --title, --model, --instrumental, --vocal-id.
remix — exactly one input source: --audio (file) / --audio-url / --provider-song-id; plus --lyrics and --prompt (both required); optional --style, --title, --model.
instrumental — exactly one of --prompt / --reference-audio; optional --title, --model.
soundtrack — exactly one of --image / --video; optional --prompt, --title, --model.
track — exactly one input source --audio / --provider-song-id; --generate-type (one of Vocals|Instrumental|Drums|Bass|Guitar|Keyboard|Percussion|Strings|Synth|FX|Brass|Woodwinds); optional --prompt; --lyrics only when type is Vocals; --vocal-gender male|female; --generate-start/--generate-end (seconds); --model.
extend — one input source --audio / --provider-song-id; optional --prompt, --model.
recognize / describe / stem — --audio only. stem also takes --model audio-separation-1|audio-separation-2.
For multi-choice fields (model, generate-type, vocal-gender, instrumental yes/no) use the AskUserQuestion tool. Free-text fields (prompt, lyrics, style, title) accept plain text.
Step 3: Confirm
Summarize the capability and every collected parameter, then ask the user to confirm. Examples:
generate:
准备生成音乐:
能力:原创 (Generate)
描述:{prompt / 无}
歌词:{lyrics / 无}
风格:{style / 自动}
标题:{title / 自动}
模型:{model / auto}
人声:{带人声 / 纯音乐}
Vocal ID:{vocal-id / 无}
确认?remix:
准备混音:
能力:混音 (Remix)
原曲:{audio / audio-url / provider-song-id}
新歌词:{lyrics}
描述:{prompt}
风格:{style / 自动}
标题:{title / 自动}
模型:{model / auto}
确认?For analysis capabilities (recognize / describe / stem) the summary is just the capability + the input audio (+ separation model for stem); these run synchronously, so confirmation can be lightweight.
Wait for explicit confirmation before running any CLI command.
Workflow
Async generation commands
generate, remix, instrumental, soundtrack, track, extend, cover.
Submit (background) with
run_in_background: trueandtimeout: 660000. Always pass--json. Include only the flags the user provided; omit the rest.generate:
listenhub music generate \ --prompt "{prompt}" \ --lyrics "{lyrics}" \ --model "{model}" \ --style "{style}" \ --title "{title}" \ --instrumental \ --vocal-id "{vocal-id}" \ --jsonremix:
listenhub music remix \ --audio "{path}" \ --lyrics "{lyrics}" \ --prompt "{prompt}" \ --style "{style}" \ --title "{title}" \ --json(use exactly one of
--audio/--audio-url/--provider-song-id)instrumental:
listenhub music instrumental \ --prompt "{prompt}" \ --model "{model}" \ --json(or
--reference-audio "{path}"instead of--prompt)soundtrack:
listenhub music soundtrack \ --image "{path}" \ --prompt "{prompt}" \ --json(or
--video "{path}"instead of--image)track:
listenhub music track \ --audio "{path}" \ --generate-type "Vocals" \ --lyrics "{lyrics}" \ --vocal-gender "female" \ --generate-start 0 --generate-end 30 \ --json(or
--provider-song-id;--lyricsonly when--generate-type Vocals)extend:
listenhub music extend \ --audio "{path}" \ --prompt "{how to continue}" \ --jsonThe CLI handles polling internally. Generation can take up to ~10 minutes.
- Tell the user the task is submitted and that they'll be notified when it finishes. If they only have a
taskId, they can check withlistenhub music get <taskId> --jsonorlistenhub music list --json. When notified of completion, present the result. The CLI JSON is a task object — the song is in
tracks[0], credit iscreditCost, anddurationis in seconds. Parse the key fields:AUDIO_URL=$(echo "$RESULT" | jq -r '.tracks[0].audioUrl // empty') TITLE=$(echo "$RESULT" | jq -r '[.tracks[0].title, .params.title, "Untitled"] | map(select(. != null and . != "")) | .[0]') # duration is seconds (older pre-rollout Mureka tasks may still be ms → a value ≥ 3600 means ms) DURATION=$(echo "$RESULT" | jq -r '.tracks[0].duration // 0' \ | awk '{d=$1; if (d>=3600) d/=1000; printf "%d:%02d", int(d/60), int(d%60)}') CREDITS=$(echo "$RESULT" | jq -r '.creditCost // empty')Read
OUTPUT_MODEfrom config. Followshared/output-mode.mdfor behavior.inlineorboth: Display the audio URL as a clickable link.音乐已生成! 标题:{title} 在线收听:{audioUrl} 时长:{duration} 消耗积分:{credits}downloadorboth: Also download the file. Generate a slug from the title followingshared/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}"已保存到当前目录: {NAME}
Sync analysis commands
recognize, describe, stem return results in the same call — run them in the foreground (no background, no long timeout) and present immediately.
recognize (lyrics + timestamps):
listenhub music recognize --audio "{path}" --jsondescribe (description, tags, genres, instruments):
listenhub music describe --audio "{path}" --jsonstem (separated stems → ZIP download URLs):
listenhub music stem --audio "{path}" --model "audio-separation-2" --jsonIn download/both mode, download the ZIP URL(s) promptly to cwd.
Task management
listenhub music list --json # recent tasks
listenhub music get "{taskId}" --json # one task's status / resultAfter 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"
fiEstimated times:
- Music generation: 5-10 minutes
Resources
- Per-command parameter reference:
references/music-api.md - 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:
"帮我做一首关于夏天海边的歌"
- Detect: generate mode ("做一首歌")
- Read config (first run: create defaults with
outputMode: "download") - Infer: mode = generate, prompt = "夏天海边的歌"
- Ask: style? title? instrumental?
- Confirm summary → user confirms
listenhub music generate \
--prompt "关于夏天海边的歌" \
--jsonWait for CLI to return result, then download {slug}.mp3 to cwd.
Remix an existing song:
"用 demo.mp3 重新填词混音,把它做成 city pop 风格"
- Detect: remix capability ("混音")
- Validate:
demo.mp3exists, is mp3/m4a, under 10 MB - Ask: new lyrics (
--lyrics, required), prompt/direction (--prompt, required), style, title - Confirm summary → user confirms
listenhub music remix \
--audio "demo.mp3" \
--lyrics "{new lyrics}" \
--prompt "rework as upbeat city pop" \
--style "city pop" \
--jsonWait for the CLI result, then download {slug}.mp3 to cwd.
Generate instrumental:
"Create an instrumental electronic track for a game intro"
- Detect: instrumental capability ("instrumental")
- Infer: prompt = "electronic track for a game intro"
- Confirm summary → user confirms
listenhub music instrumental \
--prompt "electronic track for a game intro" \
--jsonWait for the CLI result, then download {slug}.mp3 to cwd.
Soundtrack for a video:
"给这段 clip.mp4 配一段紧张的背景音乐"
- Detect: soundtrack capability ("配乐"), input is a video
- Validate:
clip.mp4exists (mp4/mov/avi/mkv/webm), under 10 MB - Infer: prompt = "紧张的背景音乐"
- Confirm summary → user confirms
listenhub music soundtrack \
--video "clip.mp4" \
--prompt "tense, suspenseful background score" \
--jsonRecognize lyrics (sync):
"帮我识别 song.mp3 里的歌词"
- Detect: recognize capability ("识别歌词")
- Validate:
song.mp3exists, under 10 MB - Run in foreground and show lyrics with timestamps
listenhub music recognize --audio "song.mp3" --jsonSplit stems (sync):
"把 track.mp3 分轨"
- Detect: stem capability ("分轨")
- Ask: separation model (audio-separation-1 / audio-separation-2)
- Run in foreground; in download mode, fetch the ZIP URL to cwd
listenhub music stem --audio "track.mp3" --model "audio-separation-2" --jsonDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

