OD

owoevan-dev/music-skill

Developer tools
230 stars Quality 71 Trend 60MIT

An Agent Skill that writes original instrumental music as editable notes, then performs, mixes and masters it on free sampled instruments (CC0 or free for any use) and synthesizers.

Overview

music-skill is an Agent Skill for writing original instrumental music the way a composer and a small studio would. The agent writes every note. The skill checks the score, plays it on sampled instruments, mixes it and masters it. No audio-generation model is involved. Besides the MP3 and WAV you get the MIDI, a stem per part, and a project file in which any note can be changed and rendered again. Each of these was made with this skill's version 0.6.0 by the model named, in one take from one message: an opening that is the same for all seven, then a brief of three or four sentences. The agent chose the title, the form, the instruments and the sounds, wrote every note, and reviewed, rendered and revised its own work; nobody replied to it while it worked, and nobody edited the result. All seven are here: none was picked from several. Each example folder has the brief, the agent's script and the project as it was rendered. - Stormglass Gambit (3:07), Claude Fable 5.

README

English · 繁體中文 · 简体中文 · 日本語 · 한국어

Don’t generate it. Compose it.

music-skill is an Agent Skill for writing original instrumental music the way a composer and a small studio would. The agent writes every note. The skill checks the score, plays it on sampled instruments, mixes it and masters it.

No audio-generation model is involved. Besides the MP3 and WAV you get the MIDI, a stem per part, and a project file in which any note can be changed and rendered again.

Each piece starts from twelve words drawn at random. The agent links them with your request into one scene, and the scene decides what you left open, so two pieces from one request come out less alike. You can give your own words, or none.

https://github.com/user-attachments/assets/ec1994cd-6e44-4262-9354-a1186ff3304b

Listen

Six pieces, one by each of six models at xhigh effort. Each was made in one take from one message, an opening that is the same for all six and a brief of a few sentences: the agent chose the title, the form and the sounds, wrote every note, and reviewed and revised its own work. Nobody replied to it while it worked, and nobody edited the notes it wrote. Each page shows the twelve words the piece drew and the scene the agent made of them.

Compositions and recordings are CC0; the recordings are MP3 files on the release examples-5. Before and after changes one note of a short piece, and compare shows everything in the render that changed with it: the part, its bus, the reverb’s tail and the master.

Quick start

  1. Install the skill. In Claude Code:

    /plugin marketplace add owoevan-dev/music-skill
    /plugin install music-skill@music-skill
    

    For Codex and other agents: npx skills add owoevan-dev/music-skill.

  2. Ask your agent to set up the renderer and the sound banks. It runs the commands under Install: about 3.7 GB of downloads, then about five minutes on our test machine.

  3. Ask for a piece in plain words:

    Write a one-minute looping town theme for my RPG: recorder, harp and light strings.

You get an MP3 and a WAV, the MIDI, a stem per part, the buses and reverb returns that add up to the mix, and the project file. On a 24-thread laptop each of the examples above rendered from scratch in 25 seconds (the fughetta and the chiptune) to 156 seconds (the film score, with its 57 parts).

Why not just generate it?

A text-to-music model music-skill
Changing one note regenerate the piece or a section edit the note; only that part is played again
What you get an audio file audio, MIDI, a stem per part and the project
Where the sounds come from inside the model recorded instruments and synthesizers, each named with its licence
Fitting a scene or a level roughly to the bar: loop points, hit points, exact lengths
The same piece again a new take the same audio from the same project (Surge XT parts aside)

If Claude or another agent is already cutting your video or building your game, it knows what the music has to fit: how long each scene runs, where the cuts land, when the narration starts, how a level loops. It can write to those numbers, with a swell that peaks on the reveal, a quieter bed under the voice, a loop as long as the level, and when the edit changes, rewrite just the bars that moved.

How it works

More

Documentation

SKILL.md The workflow the agent follows, and every command
schema.md The project file: score, performance and mix
arrangement.md Form, melody, voicing and the jobs of the parts
performance-and-mix.md Performance and the bus chain
measuring.md Reading analyze and compare
soundbanks.md The sound banks and adding your own; their presets, measured quirks and building a bank in the files it links
outputs.md What each command writes, key by key
Genre guides Electronic music and techno, hip-hop beats and trap, jazz, blues, bossa nova and funk, rock and metal, pop and ballads, film scores and horror, anime openings, game and scene music, orchestra, baroque, organ, piano and chamber music
setup.md Installing the renderer on Windows, Linux and macOS
sources-and-rights.md Using outside scores, MIDI and samples

Contributing

Bug reports, listening notes and sound bank suggestions are welcome as issues. Questions and ideas go to Discussions, where you can also share music you made with the skill. Pull requests from outside the project are closed for now; CONTRIBUTING.md explains why, and what to do instead.

Licence

MIT for this project’s own code and documentation; third-party data, measurements of it and quoted excerpts keep their own terms, listed in THIRD_PARTY.md. The example recordings and compositions are dedicated to the public domain under CC0 1.0. Third-party tools and sound banks keep their own licences and are not in this repository: the tools come from their publishers and all thirty banks from this project’s release, twenty-five built from the publishers’ samples and five repacked unchanged from FreePats. skills/music-production/scripts/surge_host.py is GPL-3.0-or-later, the licence of the Surge XT and pedalboard it runs. The pictures of the examples are drawn by code from their project files, their lettering in Noto Sans TC (SIL Open Font License), and the logo’s lettering is Noto Serif TC (SIL Open Font License) turned into outlines.

View the full README on GitHub

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add owoevan-dev/music-skill
New to MCP? Start with the mcpskill.org guide →