# Music Midi

> Extract MIDI/score from an existing production

- Skill: `ruvnet/music-midi` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ruvnet/music-midi`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ruvnet/music-midi/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ruvnet (https://skillmd.com/u/ruvnet)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/ruvnet/music-midi

---


# Music MIDI

Runs pitch-tracked MIDI/score extraction on an already-generated production.

## When to use

The user wants a MIDI file or score from a track they've already generated (transcription, arranging, DAW import). Needs an existing production `id`.

## Steps

1. Call `mcp__cogmusic__extract_midi({ id: "<production-id>" })`. Real GPU work, same reliability profile as `music-stems` and `music-generate` — one retry on a transient failure is reasonable before treating it as broken.
2. Confirm via `mcp__cogmusic__get_production` that `has_midi` is now `true`.
3. Like stems, the MIDI file itself isn't returned inline over MCP today — point the user at the dashboard to download it. See [ADR-0001](../../docs/adrs/0001-music-contract.md).

