Repository navigation
Getting Started
musicwright is a folder of seven skills (skills/musicwright*) that share one script, skills/musicwright/scripts/mw.py. Install all seven together: the siblings call the hub's script.
/plugin marketplace add m4bwav/musicwright
/plugin install musicwright@musicwright
The repository is its own marketplace (.claude-plugin/marketplace.json, one plugin with "source": "./"). claude plugin validate . (Claude Code 2.1.281) passed on a clone on 2026-10-17. The two commands above were not run for this wiki. Claude Code keeps an installed plugin under ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/, so mw.py then sits at ~/.claude/plugins/cache/musicwright/musicwright/<version>/skills/musicwright/scripts/mw.py (layout seen on a local-marketplace install of 0.1.0). Each release also has a zip of the skills to unzip and link the same way.
Clone the repository and link every folder under skills/ into the agent's skills folder (~/.claude/skills, ~/.agents/skills, ~/.copilot/skills or .cursor/skills):
git clone https://github.com/m4bwav/musicwrightThen, in PowerShell on Windows (junctions need no administrator rights):
foreach ($s in Get-ChildItem musicwright\skills -Directory) { New-Item -ItemType Junction -Path "$HOME\.claude\skills\$($s.Name)" -Target $s.FullName }Or on macOS and Linux:
for s in musicwright/skills/*/; do ln -s "$PWD/$s" ~/.claude/skills/; doneThese link commands come from the README and were not run for this wiki. The skills install nothing and spend nothing on their own: ffmpeg, ComfyUI and its model weights, the ACE-Step REST server, librosa and hosted APIs are yours to install or pay for.
| Need | For | Without it |
|---|---|---|
| Python 3.9 or later | everything | CI runs 3.9 and 3.14 on Linux, macOS and Windows |
ffmpeg and ffprobe on PATH, or MUSICWRIGHT_FFMPEG naming ffmpeg (ffprobe is looked for beside it) |
every audio command |
doctor reports "ffmpeg": null; audio commands fail with the install hint (Errors) |
| ComfyUI with ACE-Step 1.5 XL or MiniMax Music 3 weights, or the ACE-Step REST server | gen |
gen --dry-run still prints the graph or payload |
| librosa |
analyze, and transcribe with the default pyin engine |
both print a uv run line that runs them without installing anything |
FluidSynth and a General MIDI SoundFont (--sf2, MUSICWRIGHT_SOUNDFONT or soundfont in config.json) |
render with real instruments |
render uses its built-in sketch synth and says so |
| basic-pitch |
transcribe --engine basic-pitch (several notes at once) |
use pyin, for one line |
the askwright plugin, or MUSICWRIGHT_ASKWRIGHT or askwright in config.json naming its ask.py
|
sound tests on a page, with the answers read back | the sound test stays in chat |
Where it looks for things:
| Setting | Variable | Studio config.json key |
Default |
|---|---|---|---|
| ComfyUI hosts (comma list, tried in order) | MUSICWRIGHT_COMFYUI |
comfyui (string or list) |
http://127.0.0.1:8188,http://127.0.0.1:8000 |
| ACE-Step REST server | MUSICWRIGHT_ACESTEP |
acestep_rest |
http://127.0.0.1:8001 |
| Studio folder | MUSICWRIGHT_HOME |
~/.musicwright |
|
| ffmpeg | MUSICWRIGHT_FFMPEG |
ffmpeg on PATH
|
|
FluidSynth (render) |
MUSICWRIGHT_FLUIDSYNTH |
fluidsynth on PATH
|
|
SoundFont (render) |
MUSICWRIGHT_SOUNDFONT |
soundfont |
none: the built-in synth; --sf2 beats both |
A --host option beats the variable, which beats config.json, which beats the default (from comfy_hosts() and rest_host() in mw.py). Since 0.1.1 a host written without http:// (127.0.0.1:8199) gets it added.
The pages write python mw.py; run the script by its full path, or from a folder that holds it.
python mw.py --version0.1.17
[exit 0]
doctor says what this machine can do. With no ComfyUI and no ACE-Step server running, no librosa, and a studio folder that does not exist yet (Linux run):
python mw.py doctor{
"ok": true,
"musicwright": "0.1.17",
"python": "3.14.4",
"platform": "linux",
"ffmpeg": "ffmpeg version 7.0.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2024 the FFmpeg developers",
"ffmpeg_filters_missing": [],
"librosa": null,
"librosa_hint": "optional, for analyze; uv run --no-project --python 3.12 --with librosa --with soundfile python mw.py analyze ...",
"fluidsynth": null,
"soundfont": null,
"render_hint": "optional, for render: FluidSynth (LGPL) and a General MIDI SoundFont; without them render uses its built-in sketch synth",
"basic_pitch": null,
"askwright": null,
"askwright_hint": "optional, for sound-test pages: install the askwright plugin, or set MUSICWRIGHT_ASKWRIGHT or askwright in the studio config.json to its ask.py",
"studio": "<work>/studio",
"studio_exists": false,
"comfyui": [
{
"host": "http://127.0.0.1:8188",
"up": false,
"error": "URLError"
},
{
"host": "http://127.0.0.1:8000",
"up": false,
"error": "URLError"
}
],
"acestep_rest": {
"host": "http://127.0.0.1:8001",
"up": false,
"error": "URLError"
},
"recipes_runnable": []
}
[exit 0]
doctor exits 0 even when nothing is reachable: read recipes_runnable and each host's up. On a machine with a ComfyUI on port 8199 that holds the music models, and librosa 1.0.0 installed (Windows run, 2026-11-06):
python mw.py doctor --host http://127.0.0.1:8199{
"ok": true,
"musicwright": "0.1.17",
"python": "3.14.6",
"platform": "win32",
"ffmpeg": "ffmpeg version 9.0.1-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers",
"ffmpeg_filters_missing": [],
"librosa": "1.0.0",
"fluidsynth": null,
"soundfont": null,
"render_hint": "optional, for render: FluidSynth (LGPL) and a General MIDI SoundFont; without them render uses its built-in sketch synth",
"basic_pitch": null,
"askwright": null,
"askwright_hint": "optional, for sound-test pages: install the askwright plugin, or set MUSICWRIGHT_ASKWRIGHT or askwright in the studio config.json to its ask.py",
"studio": "<work>\\studio",
"studio_exists": false,
"comfyui": [
{
"host": "http://127.0.0.1:8199",
"up": true,
"comfyui": "0.42.0",
"device": "cuda:0 NVIDIA GeForce RTX 5060 Ti : cudaMallocAsync",
"vram_gb": 15.9,
"music_models": [
"acestep_v1.5_xl_base_bf16.safetensors",
"acestep_v1.5_xl_sft_bf16.safetensors",
"minimax_music3_dit_fp16.safetensors",
"minimax_music3_dit_int8_convrot.safetensors",
"stable_audio_3_medium.safetensors",
"yue2_3b_int8_convrot.safetensors"
],
"queue": {
"running": 0,
"pending": 0
}
}
],
"acestep_rest": {
"host": "http://127.0.0.1:8001",
"up": false,
"error": "URLError"
},
"recipes_runnable": [
"acestep-xl-sft",
"acestep-xl-sft-pack",
"acestep-xl-sft-classic",
"acestep-xl-base",
"minimax-music3",
"stable-audio3-medium",
"yue2-3b-int8"
]
}
[exit 0]
A recipe counts as runnable when a host lists its diffusion model file; doctor does not check the text encoders or the VAE the recipe also loads. --host changes only the ComfyUI hosts; the ACE-Step server comes from MUSICWRIGHT_ACESTEP, config.json or the default.
Next: start a project with new (Commands), or follow one of the Workflows. Uninstalling: remove the plugin from Claude Code's /plugin menu, or delete the links. The studio folder (~/.musicwright) stays until you delete it.
This wiki describes musicwright 0.1.19 (tag v0.1.19, commit 3211a94) and was last updated on 2026-11-07. The plugin is MIT licensed. Report problems in the issues.
Using it
- Getting started
- Commands
- Recipes and loudness presets
- The project contract and studio
- Workflows
- Errors and edge cases
- FAQ
- Works with
The skills
- musicwright (hub)
- musicwright-generate
- musicwright-compose
- musicwright-produce
- musicwright-game
- musicwright-score
- musicwright-curate
The releases
Contributing
Elsewhere