MIDI Generation

Generate MIDI files with GM instruments and music theory; use when creating music, composing melodies, or generating MIDI files.

You say
Buy it · $39 Read it before you buy $39 Written by tubone24 · unverified publisher
Context cost
18.4k tokensestimated from the bundle, loaded when it triggers
Bundle
19 files · 73.5 kB8 scripts among them — read before you run
Licence
MITpaid listing
Last change
no release on file
Servers it uses
Noneruns standalone

What it does

Generate MIDI files with GM instruments and music theory. Use when creating music, composing melodies, or generating MIDI files.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Workflow

Runs a procedure end to end.

midimusiccompositionaudio

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md4.8 kB · 160 lines
--- name: midi-generation description: Generate MIDI files with GM instruments and music theory. Use when creating music, composing melodies, or generating MIDI files. license: MIT ---
7# MIDI Generation Skill
8
9Generate MIDI files with proper music theory. **Use the provided Python scripts in skills/. Do NOT write custom code.**
10
11## Important Rules
12
131. **Use provided scripts** in skills/ directory (Python)
142. **Never write custom Python/JS** for MIDI generation
153. **Install dependencies first**: pip install midiutil
164. **Consult music theory resources** when needed (see below)
17
18## Quick Dissonance Rules
19
20**Always follow these to avoid harsh sounds:**
21
221. **Never play notes 1 semitone apart** (C+C#, E+F, B+C)
232. **Bass plays root or fifth** of the chord
243. **Spread voices across octaves** (don't cluster)
254. **Each track uses different MIDI channel** (automatic)
26
27---
28
29## Music Theory Resources (Read When Needed)
30
31**Only read the resource that matches your current task:**
32
33| When you need... | Read this file |
34|------------------|----------------|
35| Scales, chords, intervals, cadences | [resources/music-theory.md](resources/music-theory.md) |
36| Chord progressions by genre | [resources/chord-progressions.md](resources/chord-progressions.md) |
37| Avoiding dissonance, voice spacing | [resources/voice-leading.md](resources/voice-leading.md) |
38| **Classical/Baroque counterpoint** | [resources/counterpoint.md](resources/counterpoint.md) |
39| Modes (Dorian, Phrygian, etc.) | [resources/modes-scales.md](resources/modes-scales.md) |
40| Rhythm, time signatures, syncopation | [resources/rhythm-patterns.md](resources/rhythm-patterns.md) |
41| Instrument ranges, combinations | [resources/orchestration.md](resources/orchestration.md) |
42
43### When to Read Each Resource
44
45- **Pop/Rock song** → chord-progressions.md + voice-leading.md
46- **Classical piece** → counterpoint.md + orchestration.md
47- **Jazz composition** → modes-scales.md + chord-progressions.md
48- **Film score** → orchestration.md + modes-scales.md
49- **Any composition** → Always check voice-leading.md for dissonance
50
51---
52
53## Workflow
54
551. **Install dependencies**: pip install midiutil
562. **Identify genre/style** → Select appropriate resources
573. **Read relevant theory** → Only the files you need
584. **Choose instruments** → See [midi_types/gm_instruments.py](midi_types/gm_instruments.py)
595. **Create composition JSON**
606. **Use scripts** to generate MIDI
61
62## Python Scripts
63
64| Script | Purpose |
65|--------|---------|
66| skills/generate_midi.py | Generate MIDI (auto-assigns channels per track) |
67| skills/normalize_composition.py | Validate and normalize input |
68| skills/refine_composition.py | Adjust length, extend tracks |
69| skills/convert_to_wav.py | MIDI → WAV (requires FluidSynth) |
70
71## Usage Example
72
73```python
74import sys
75sys.path.insert(0, '/path/to/midi-skill')
76
77from skills.generate_midi import generate_midi_from_dict
78
79composition = {
80 "title": "My Song",
81 "bpm": 120,
82 "tracks": [
83 {
84 "instrument": "acoustic-grand-piano",
85 "notes": [
86 {"pitch": "C4", "duration": "4"},
87 {"pitch": "E4", "duration": "4"},
88 {"pitch": "G4", "duration": "4"},
89 {"pitch": "C5", "duration": "2"}
90 ]
91 },
92 {
93 "instrument": "acoustic-bass",
94 "notes": [
95 {"pitch": "C2", "duration": "2"},
96 {"pitch": "G2", "duration": "2"}
97 ]
98 }
99 ]
100}
101
102midi_path = generate_midi_from_dict(composition)
103print(f"Generated: {midi_path}")
104```
105
106## Composition Format
107
108```json
109{
110 "title": "My Song",
111 "bpm": 120,
112 "tracks": [
113 {
114 "instrument": "acoustic-grand-piano",
115 "notes": [
116 { "pitch": "C4", "duration": "4" },
117 { "pitch": "E4", "duration": "4" }
118 ]
119 },
120 {
121 "instrument": "acoustic-bass",
122 "notes": [
123 { "pitch": "C2", "duration": "2" }
124 ]
125 }
126 ]
127}
128```
129
130## Duration Notation
131
132| Value | Note |
133|-------|------|
134| 1 | Whole note (4 beats) |
135| 2 | Half note (2 beats) |
136| d2 | Dotted half (3 beats) |
137| 4 | Quarter note (1 beat) |
138| d4 | Dotted quarter (1.5 beats) |
139| 8 | Eighth note (0.5 beats) |
140| 16 | Sixteenth note (0.25 beats) |
141
142## Instrument Aliases
143
144| Alias | GM Instrument |
145|-------|---------------|
146| piano | acoustic-grand-piano |
147| guitar | acoustic-guitar-nylon |
148| bass | acoustic-bass |
149| strings | string-ensemble-1 |
150| brass | brass-section |
151| sax | alto-sax |
152
153Full list: [midi_types/gm_instruments.py](midi_types/gm_instruments.py)
154
155## Notes
156
157- Max 15 melodic tracks (MIDI channels 0-8, 10-15; ch.9 = drums)
158- Output: output/ directory
159- WAV requires: FluidSynth + A320U.sf2 in soundfonts/
160
In the file
SKILL.md587 words
Files19
LicenceMIT
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈50
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
18,325
on trigger
The instruction body and 18 supporting files, read only when the skill fires.
9.2%
of a 200k window
Ten skills this size would take about 92% of the window before you open a file.
050k100k150k200k context window

18.4k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Heavy. Teams tend to install this one per project rather than globally, and load it only when the job comes up.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

19 files, 73.5 kB on disk. Mostly text — the instructions the model reads — with 8 scripts in it that your client would run only if the instructions tell it to.

  • LICENSE.txt2.5 kB
  • README.md6.6 kB
  • SKILL.md4.8 kB
  • requirements.txt0.2 kB
  • midi_types/__init__.py0.4 kB
  • midi_types/gm_instruments.py6.5 kB
  • midi_types/music.py1.6 kB
  • resources/chord-progressions.md3.1 kB
  • resources/counterpoint.md5.1 kB
  • resources/modes-scales.md4.6 kB
  • resources/music-theory.md3.5 kB
  • resources/orchestration.md6.0 kB
  • resources/rhythm-patterns.md5.0 kB
  • resources/voice-leading.md4.1 kB
  • skills/__init__.py0.6 kB
  • skills/convert_to_wav.py5.1 kB
  • skills/generate_midi.py6.5 kB
  • skills/normalize_composition.py3.3 kB
  • skills/refine_composition.py4.0 kB
What is not in it

A skill installs nothing and depends on nothing: it is a folder your client reads. This one carries 8 scripts beside the text, so the bundle is 19 files you can review in full before installing. The MIT licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

$39 once
MIDI Generation · MIT · tubone24
one-time
Price$39 once
LicenceMIT — the author’s, unchanged by this purchase
Paid throughStripe, once, on the card you add at the checkout
Keeps workingfor good — the files are yours once they are on disk
Updatesevery update its author ships, delivered through this account

You can read the whole bundle before paying — the SKILL.md above is the product, not a preview of it. What the money buys is the delivery: the folder packaged and handed to your machine by key, every update its author ships, and our support if it does not do what this listing says. The terms of use are MIT, set by the author and unchanged by buying it here.

Payment runs through Stripe, on a page like this one rather than a redirect. Once there is an account it joins the same mcprush invoice as everything else you run, so there is never a second card to enter.

Which clients pick it up on their own

A skill is a folder of text. A client with a skills folder reads it without being told; everywhere else the same text works, it is just handed to the model rather than found.

Claude Code.claude/skills/
Claude Desktop
ChatGPT
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / API
This release
Versionnot versioned
Publishedno release date on file
Price$39
Referencetubone24/midi-generation

Versions

Its author publishes no version number, so there is nothing here to pin to: what you install is the folder as it stands today. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v
  • No earlier releases have been published to the marketplace.
Pinning

Nothing to pin to: this skill carries no version number of its own. What you install is what the folder holds on the day you install it.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Who can post

Only accounts that have had the skill installed for fourteen days, so a review is written after living with it rather than after reading it. Publishers may reply once.

Who wrote it

TU
tubone24

Publishes on mcprush.

0 servers listed1 skill listednot claimed
Profile
Publisher
Servers0