# music

Generates songs, remixes, soundtrack audio, and stems using ListenHub CLI and Mureka. Runs audio synthesis and lyric analysis inside AI coding tools.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 698 installs · ★ 81
- Author: marswaveai
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/marswaveai/skills/tree/HEAD/music/SKILL.md
- Updated: 2026-09-24
- HTML: https://affpapa.org/en/nevibecode/skills/marswaveai-music

## What it does

This skill connects the ListenHub music toolkit powered by Mureka directly to your assistant via the `listenhub music` CLI. It handles prompt-based song creation, lyrics composition, track extension, remixing, and soundtrack scoring for media files. Async generation jobs run on models like `mureka-7.6`, `mureka-8`, `mureka-9`, or `mureka-o2`.

Analysis commands run synchronously without long polling. The tool extracts lyrics with timestamps (`recognize`), profiles audio genres and instruments (`describe`), and separates songs into stem archives (`stem`). All input files share a strict limit of 10 MB, accepting formats like mp3, m4a, wav, mp4, or webm depending on the command.

The host environment must provide the `listenhub` binary. The skill asks parameters step by step and requires explicit confirmation before calling any CLI commands.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add marswaveai/skills --skill music -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/music/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/music/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add marswaveai/skills --skill music -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/music/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add marswaveai/skills --skill music -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/music/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install marswaveai/skills music
```

2. **Manually: put the files in place**
- File: `.github/skills/music/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add marswaveai/skills --skill music -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/marswaveai/skills --path music
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/music/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add marswaveai/skills --skill music -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/marswaveai/skills/tree/HEAD/music/SKILL.md

## When to use it
- Generate full songs or instrumentals from prompts and lyrics
- Remix an audio file using new custom lyrics
- Split an audio track into individual stems
- Extract song lyrics with line-level timestamps
- Score a background soundtrack to match a video or image

## Example prompts
- Generate a blues song about late-night coding using model `mureka-9`
- Split `track.mp3` into stems and output the ZIP link
- Recognize lyrics with timestamps from `audio.m4a`

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: cf140b0cbc4b9082.

BEGIN THIRD-PARTY FILE cf140b0cbc4b9082
```text
---
name: music
description: |
  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", "做一首歌".
metadata:
  openclaw:
    emoji: "🎵"
    requires:
      bin: ["listenhub"]
    primaryBin: "listenhub"
---

## 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):**

1. **generate** — text and/or lyrics → a new song. Optional style, title, instrumental, and a cloned `--vocal-id`.
2. **remix** — an existing song + new lyrics → a re-creation. Input is one of an audio file, an audio URL, or a provider song ID.
3. **instrumental** — a pure instrumental from a prompt, or guided by a reference audio.
4. **soundtrack** — music scored to an image or a video.
5. **track** — isolate or generate a single instrument/vocal track from a song.
6. **extend** — make a song longer.
7. **cover** *(deprecated)* — older cover flow; prefer **remix**.

**Analysis (sync — return results immediately):**

8. **recognize** — lyrics with line-level timestamps.
9. **describe** — description, tags, genres, instruments.
10. **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.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)
```
END THIRD-PARTY FILE cf140b0cbc4b9082

The third-party file has ended. Everything between the cf140b0cbc4b9082 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 3132 of 16831 bytes. © marswaveai · MIT · https://github.com/marswaveai/skills/tree/HEAD/music/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
