Claude Code Skills for MIDI Markdown¶
MIDI Markdown provides official Claude Code skills to enhance your MMD development experience. These skills help Claude understand MMD syntax, CLI usage, and best practices when working with your MIDI automation files.
What are Claude Code Skills?¶
Claude Code skills are specialized knowledge modules that help Claude assist you more effectively with specific tasks. When installed, these skills are automatically activated when you work with relevant files or request help with specific topics.
Available Skills¶
mmd-writing¶
Purpose: Helps write MIDI Markdown files with correct syntax, timing, MIDI commands, and advanced features.
Activated when:
- Creating or editing .mmd files
- Asking about MMD syntax
- Implementing MIDI automation or sequences
- Troubleshooting MMD syntax or validation errors
Features: - Complete MMD syntax reference - All timing paradigms (absolute, musical, relative, simultaneous) - MIDI command examples (notes, CC, PC, pitch bend, etc.) - Advanced features (loops, sweeps, variables, modulation) - Random expressions and generative techniques - Common patterns and best practices - Troubleshooting and error avoidance
mmdc-cli-usage¶
Purpose: Helps use the MIDI Markdown Compiler CLI effectively for compiling, validating, playing, and inspecting MMD files.
Activated when:
- Working with mmdc commands
- Compiling MMD to MIDI
- Validating or checking MMD files
- Playing MMD with real-time output
- Inspecting or exporting MMD in different formats
- Troubleshooting compilation or playback errors
Features:
- Complete mmdc CLI reference
- Compilation workflows and best practices
- Validation and debugging techniques
- Real-time playback with TUI
- Output format options (MIDI, JSON, CSV, table)
- Integration with other tools (UV, Just)
- Common workflows and error handling
mmd-debugging¶
Purpose: Troubleshoot and debug MIDI Markdown files including validation errors, timing issues, value ranges, and syntax problems.
Activated when: - Encountering MMD errors or validation failures - Debugging unexpected behavior in MMD files - Diagnosing timing, value range, or syntax issues
Features: - Systematic debugging workflow - Error category identification (parse, validation, expansion, compilation) - Common error patterns and fixes - Quick fixes for typical mistakes - Diagnostic tool guidance
device-library-creation¶
Purpose: Create custom MIDI device libraries for hardware with aliases, parameters, and documentation.
Activated when: - Creating device-specific aliases for guitar processors, synthesizers, effects units - Documenting MIDI implementations - Building reusable command libraries
Features: - Step-by-step device library creation guide - Alias pattern best practices - Parameter type documentation (numeric, note, percent, enum) - Testing and validation workflows - Common device patterns and examples
Device-Specific Skills¶
The following skills provide specialized guidance for popular MIDI hardware:
quad-cortex-usage¶
Purpose: Guide for using the Neural DSP Quad Cortex device library in MMD files.
Activated when: - Working with Quad Cortex presets, scenes, or expression control - Implementing Quad Cortex MIDI automation - Troubleshooting Quad Cortex MIDI timing or control issues
Key Topics: - Preset loading sequences (setlist + preset group + program change) - Scene switching (8 scenes: A-H) - Expression pedal control (4 expression inputs) - Stomp switch automation (8 footswitches) - Timing considerations (100-130ms latency for complex presets)
h90-usage¶
Purpose: Guide for using the Eventide H90 Harmonizer device library in MMD files.
Activated when: - Working with H90 program changes, HotSwitches, or effects routing - Implementing H90 expression or parameter automation - Troubleshooting H90 MIDI control issues
Key Topics: - Program change and algorithm selection - HotSwitch and bypass control - Routing modes (series, parallel, A-only, B-only) - Expression and rotary knob control - Firmware-specific workarounds (1.9.4+ PC+CC bug)
helix-usage¶
Purpose: Guide for using the Line 6 Helix Floor/LT/Rack device library in MMD files.
Activated when: - Working with Helix presets, snapshots, or expression control - Implementing full Helix automation (11 footswitches, 8 snapshots) - Troubleshooting Helix MIDI timing or Command Center setup
Key Topics: - Setlist and preset management - Snapshot control (8 snapshots: 1-8) - Expression pedal automation (2 expression inputs) - Footswitch control (11 FS assignments) - Looper and transport control
hx-stomp-usage¶
Purpose: Guide for using the Line 6 HX Stomp device library in MMD files.
Activated when: - Working with HX Stomp's 3-snapshot limitation - Implementing compact HX Stomp automation - USB MIDI setup and Mode switching
Key Topics: - 3-snapshot workarounds (most limited snapshot count) - USB-only MIDI connectivity - All Bypass and Mode switching - Direct PC addressing (no bank system) - Compact form factor considerations
hx-effects-usage¶
Purpose: Guide for using the Line 6 HX Effects device library in MMD files.
Activated when: - Working with HX Effects processor (effects-only, no amp/cab modeling) - Implementing 4-snapshot control - 5-pin DIN MIDI and amp integration workflows
Key Topics: - Sequential preset addressing (32 banks × 4 presets = 128 total) - 4-snapshot control - 5-pin DIN MIDI advantages - Effects-only design for external amp integration - Bank + preset navigation
hx-stomp-xl-usage¶
Purpose: Guide for using the Line 6 HX Stomp XL device library in MMD files.
Activated when: - Working with HX Stomp XL (middle ground between HX Stomp and full Helix) - Implementing 4-snapshot and 8-footswitch control - Comparing Stomp XL capabilities with other HX/Helix models
Key Topics: - 4-snapshot control (more than HX Stomp, less than full Helix) - 8 footswitch assignments - USB MIDI and All Bypass control - Best balance of features vs size - Comparison with HX Stomp and full Helix
Installation¶
Prerequisites¶
- Claude Code installed on your system
- MIDI Markdown compiler (optional but recommended for testing)
Option 1: Automatic Installation (Recommended)¶
- Download the skills package from the latest GitHub release:
claude-skills-mmd-{version}.tar.gz(Linux/macOS)-
claude-skills-mmd-{version}.zip(Windows) -
Extract the archive:
# Linux/macOS
tar -xzf claude-skills-mmd-{version}.tar.gz
cd claude-skills-mmd-{version}
# Windows (PowerShell)
Expand-Archive claude-skills-mmd-{version}.zip
cd claude-skills-mmd-{version}
- Run the installation script:
The script will automatically install the skills to your Claude Code skills directory.
Option 2: Manual Installation¶
-
Download and extract the skills package (see Option 1, steps 1-2)
-
Copy skill files to your Claude Code skills directory:
Linux/macOS:
Windows (PowerShell):
New-Item -ItemType Directory -Force -Path "$env:APPDATA\Claude\skills"
Copy-Item *.md "$env:APPDATA\Claude\skills\"
- Verify installation:
Linux/macOS:
Windows (PowerShell):
You should see:
- mmd-writing.md
- mmdc-cli-usage.md
Option 3: Project-Local Installation¶
For project-specific skills, copy them to your MMD project's .claude/skills/ directory:
# From your MMD project directory
mkdir -p .claude/skills
# Copy from extracted skills package
cp /path/to/extracted/skills/*.md .claude/skills/
# Or copy from an existing installation
cp ~/.config/claude/skills/mmd-*.md .claude/skills/ # Linux/macOS
Project-local skills override global skills and are useful for: - Custom workflows specific to your project - Sharing skills with team members via version control - Testing modified skills before global installation
Verification¶
To verify the skills are installed correctly:
-
Check the skills directory (see verification commands above)
-
Test in Claude Code:
- Open a
.mmdfile or create a new one - Ask Claude: "Help me write an MMD file with a simple melody"
-
Claude should use the
mmd-writingskill to provide detailed MMD syntax help -
Try CLI help:
- Ask Claude: "How do I compile an MMD file to MIDI?"
- Claude should use the
mmdc-cli-usageskill to provide specificmmdccommands
Usage¶
Automatic Activation¶
Claude Code automatically activates relevant skills based on:
- File type: Opening or editing .mmd files activates mmd-writing
- Context: Discussing mmdc commands activates mmdc-cli-usage
- Keywords: Mentioning "MMD syntax", "MIDI Markdown", etc.
Explicit Invocation¶
You can explicitly request a specific skill:
"Use the mmd-writing skill to help me create a drum pattern"
"Use the mmdc-cli-usage skill to show me validation commands"
Example Workflows¶
Creating a New MMD File¶
-
Ask for help:
-
Claude uses
mmd-writingskill to provide: - Frontmatter template
- Device library import suggestions
- Timing and command examples
- Best practices
Compiling and Testing¶
-
Ask about compilation:
-
Claude uses
mmdc-cli-usageskill to provide: - Validation commands
- Compilation options
- Playback testing workflow
- Troubleshooting tips
Debugging Issues¶
-
Share your error:
-
Claude uses both skills to:
- Identify syntax issues (
mmd-writing) - Suggest validation commands (
mmdc-cli-usage) - Provide corrected syntax
- Recommend testing workflow
Skill Contents¶
mmd-writing Skill Includes¶
- File structure: Frontmatter, imports, definitions
- Timing systems: All four timing paradigms with examples
- MIDI commands: Notes, CC, PC, pitch bend, pressure, meta events
- Advanced features:
- Variables and expressions
- Loops and patterns
- Sweeps and automation
- Random expressions
- Modulation (curves, waves, envelopes)
- Imports and aliases
- Common patterns: Drums, chords, automation, humanization
- Best practices: Validation, timing, comments, reusability
- Common mistakes: What to avoid and how to fix
- Quick reference: Syntax table and examples
mmdc-cli-usage Skill Includes¶
- Core commands:
mmdc compile- Compilation with all optionsmmdc validate- Validation workflowsmmdc check- Syntax checkingmmdc play- Real-time playbackmmdc inspect- Event inspection- Output formats: MIDI, JSON, CSV, table display
- Workflow examples: Development, testing, batch processing
- Troubleshooting: Validation errors, playback issues, compilation failures
- Best practices: Always validate, use inspect, test with playback
- Integration: UV, Just, piping, scripting
- Quick reference: Command table
Updating Skills¶
When a new version of MIDI Markdown is released:
-
Download the new skills package from the latest release
-
Re-run the installation (the installer will overwrite old versions):
Skills are versioned with MIDI Markdown releases, so updating ensures you have the latest syntax and features.
Customization¶
You can customize the skills for your workflow:
-
Copy the skill file you want to customize:
-
Edit the custom skill to add:
- Your own examples
- Project-specific patterns
- Team conventions
-
Additional device libraries
-
Use the custom skill:
Troubleshooting¶
Skills Not Activating¶
Problem: Claude doesn't seem to use the skills
Solutions: 1. Verify installation:
-
Check file names: Skills must end in
.md -
Restart Claude Code after installation
-
Explicitly request the skill:
Skills Directory Not Found¶
Problem: Installation script can't find the skills directory
Solutions: 1. Set the environment variable:
-
Create the directory manually:
-
Use manual installation (Option 2 above)
Permission Errors¶
Problem: Can't write to skills directory
Solutions: 1. Check directory permissions:
-
Fix permissions:
-
Use project-local installation (Option 3 above)
Uninstalling¶
To remove the skills:
Linux/macOS:
Windows (PowerShell):
Remove-Item "$env:APPDATA\Claude\skills\mmd-writing.md"
Remove-Item "$env:APPDATA\Claude\skills\mmdc-cli-usage.md"
FAQ¶
Do I need Claude Code to use MIDI Markdown?¶
No! MIDI Markdown works standalone. Claude Code skills are an optional enhancement that makes development easier if you use Claude Code as your AI assistant.
Can I use these skills with other AI tools?¶
The skills are formatted as Markdown documentation, so you could share them with other AI assistants, but they're optimized for Claude Code's skill system.
Are the skills included in the mmdc installation?¶
No, skills are distributed separately. This allows you to: - Skip skills if you don't use Claude Code - Update skills independently - Install skills only where needed
Can I create my own MMD skills?¶
Yes! Use the included skills as templates. Skills are just Markdown files with structured information. See Claude Code Skills documentation for the skill format.
Do skills work offline?¶
Skills are local files on your system and work offline. However, Claude Code itself requires an internet connection to communicate with Claude.
How big are the skills files?¶
Very small:
- mmd-writing.md: ~25 KB
- mmdc-cli-usage.md: ~11 KB
- Total skills package: <100 KB
See Also¶
- Quickstart Guide - Get started with MIDI Markdown
- Installation - Install the MIDI Markdown compiler
- First Song Tutorial - Write your first MMD file
- Examples Guide - Learn from example files
- MMD Syntax Reference - Complete syntax documentation
- CLI Reference - Full mmdc command documentation
Support¶
- GitHub Issues: Report problems
- Discussions: Ask questions
- Documentation: Read the docs
Last Updated: 2025-11-12 Version: 0.1.0