复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ruflo-bb5f3a258ede ,按照其中的说明把「music」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
$ARGUMENTS
Manage AI music generation via the cogmusic MCP server. Parse subcommand from $ARGUMENTS.
Usage: /music [options]
Subcommands:
connect [--token cogmcp_...] -- One-time setup: register the cogmusic MCP server (see music-connect skill)generate <brief> -- Compose lyrics/prompt from a brief and generate a new track (see music-composer agent + music-generate skill)list -- List all productions in the connected account (see music-list skill)get <production-id> -- Fetch one production's metadata + audio_url (see music-get skill)stems <production-id> -- Run 4-stem separation (see music-stems skill)midi <production-id> -- Extract MIDI/score (see music-midi skill)master <production-id> -- Run a mastering (LUFS) pass (see music-master skill)Steps by subcommand:
connect: Follow the music-connect skill exactly. Do not skip the "check for an existing, working registration first" step.
generate: If the brief needs real lyric/prompt composition (anything beyond a one-line genre tag), delegate to the music-producer agent, which itself defers lyric writing to the music-composer agent before calling mcp__cogmusic__create_production. For a fully-specified brief (explicit lyrics + prompt already given), the music-generate skill alone is enough — no need to spin up the agent pipeline for that case.
list: Run the music-list skill directly — no agent needed for a read-only listing.
get / stems / midi / master: Run the matching skill directly with the given production-id. Look it up via music-list first if the user gave a title instead of an id.
If no mcp__cogmusic__* tools are loaded when any subcommand runs, run connect first and tell the user why.