MIDI Generation
Generates real .mid files via bundled GM-instrument scripts and music-theory reference docs, not ad hoc code.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · d5056bc
Generated the same I-V-vi-IV progression twice with real midiutil calls: the baseline script (skill ignored) never set a GM program change so the bass track would just sound like a second piano, while the skill run used the bundled generate_midi.py + voice-leading.md guidance to set correct bass/piano programs and cut total cross-chord voice motion from 21 to 9 semitones -- a concrete, measurable improvement, not a subjective one.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 5/5
What MIDI Generation does
Generates MIDI files with correct General MIDI instrument program changes and applies bundled music-theory references (chord progressions, voice leading, counterpoint, orchestration) instead of writing MIDI code from scratch. Triggers on requests to compose, generate, or create music/melodies/MIDI files; requires `pip install midiutil` and, for WAV export, a separately downloaded SoundFont plus FluidSynth.
How to install MIDI Generation
git clone https://github.com/tubone24/midi-agent-skill
cd midi-agent-skill
mkdir -p ~/.claude/skills
cp -r . ~/.claude/skills/midi-generation
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger MIDI Generation
-
/midi-generationGenerates real .mid files via bundled GM-instrument scripts and music-theory reference docs, not ad hoc code.
It also activates on plain-language prompts like these:
-
Generate an 8-bar piano and bass piece using a I-V-vi-IV progression -
Create a MIDI file with proper General MIDI instrument programs -
Compose a short melody and export it as a real .mid file
Frequently asked questions
- Is the MIDI Generation skill free?
- Yes. The skill itself is free from tubone24/midi-agent-skill. SkillProof publishes the install command and an independent test verdict at no cost.
- Does MIDI Generation work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Generated the same I-V-vi-IV progression twice with real midiutil calls: the baseline script (skill ignored) never set a GM program change so the bass track would just sound like a second piano, while the skill run used the bundled generate_midi.py + voice-leading.md guidance to set correct bass/piano programs and cut total cross-chord voice motion from 21 to 9 semitones -- a concrete, measurable improvement, not a subjective one.
- What is the MIDI Generation SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
- How do I install MIDI Generation?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use MIDI Generation with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.