Skip to content

Musicwright Hub

m4bwav edited this page Nov 7, 2026 · 4 revisions

musicwright is the hub: the skill an agent starts from for any music task no sibling clearly owns. It writes the brief, picks the route, runs the take loop, keeps the project folder and its ledger, and holds mw.py.

When it starts

Its description names requests such as "make me a song", "a 1 minute flute solo", "music for my game", "soundtrack for this video" and "which take is best", plus "refresh musicwright". Requests a sibling owns more clearly go to that sibling: theory to compose, finishing to produce, loops to game, film cuts to score, memory to curate.

What it does

  1. The brief. It asks only what it cannot infer: the use (game-loop, game-cue, film-cue, listening, song), the length (and hit times for film, bars at a tempo for loops), the sound in words (genre, era, 3 to 5 instruments, 2 to 3 mood words, what must stay out), the destination and the licence needs. References are described in words, never by naming a living artist. mw.py new scaffolds the folder (Commands).
  2. The route. Generate (audio from a text brief), compose (notes first; since 0.1.1 also playing notation or tabs and transcribing a recording), produce (the audio exists), game, score or curate. Most requests run generate, then one of produce, game or score.
  3. The take loop. Render three takes by default with recorded seeds (gen), look before reporting (sheet --measure, then open the PNG), and add mixcheck for flags to listen for (--lowest C4 catches a drone or bass under a solo). Report the takes ranked with what the sheet shows and the numbers, and say plainly that the agent has not heard them. Hand over loudness-matched copies rather than the raw takes (preview, --blind to hide which is which), record the listener's words with verdict, then change one knob at a time (Workflows).
  4. Finish and hand over. The chosen take goes to its finishing sibling; deliverables land in out/ and are listed in music.json with model, licence, seed and disclosure line (the contract).
  5. Keep what was learned through curate, never only in the conversation.

Reading a sheet

mw.py sheet draws, for each take, a spectrogram row (log frequency up to 8 kHz by default, time left to right) and a waveform row. The hub's references/listening.md gives the reading table: one bright wavy line with fainter copies is one melodic voice; broad regular vertical stripes are drums, and their spacing gives the beat; a wide steady low band is a drone, pad or bass; dark columns are silence; a dark block at the end means the render went quiet early. The picture ranks takes against each other; it cannot show melody quality, timing feel or a resemblance to a known song. The sheet from Commands, with a stand-in take with a 96 bpm pulse, a slowly swelling tone, and a tone that stops 6 seconds before its file ends:

Three takes, each a spectrogram above a waveform: the top one with regular thin vertical stripes over a bright band, the middle one a single band that swells and fades four times, the bottom one a steady band that stops about three quarters of the way across, leaving a black block

Each row spans its own file's length (45 s, 8 s and 26 s here), so columns do not line up in time between rows.

Rules it gives the agent

  • The listener decides. Never write that a take sounds good.
  • Seeds, captions and settings go in the ledger, so any take can be made again.
  • No living artist's name in a prompt, even where a model allows it.
  • Pick a model whose licence fits the use before rendering, and say which licence applies.
  • One GPU-heavy job at a time on a shared card; never cancel someone else's job.
  • Install nothing and spend nothing without asking.

Gotchas it carries: short renders often go quiet at the end (render longer, then trim); MP3 adds silence that breaks loops; cfg 7 on ACE-Step XL sounds harsh to some listeners (the default recipe uses 4.5); master says "dynamic" when loudnorm could not apply one gain (why).

Files

skills/musicwright/: SKILL.md; scripts/mw.py; references/cli.md (all 27 commands), listening.md (sheets, the critique checklist, what to ask the listener), contract.md (the project folder for other plugins), tools.md (other skills, MCP servers and DAW bridges), recipes.json and loudness.json (the data mw.py reads, on Recipes and loudness presets).

Maintenance: tier fast (next research check due 2026-10-31). evals/evals.json holds 7 cases; TESTS.md records three runs (4/6 and 6/6 on 2026-10-17, 6/6 on 2026-10-23).

Clone this wiki locally