CLI for music notation — transpose, export PDF/audio/MIDI, extract parts, manage instruments
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.0
MuseScore CLI Skill
Overview
Wraps MuseScore 4's mscore backend for music notation tasks: transposition, export to multiple formats (PDF, PNG, MP3, MIDI, MusicXML, Braille), part extraction, instrument management, and score analysis.
Commands
Project Management
cli-anything-musescore --json project info -i score.mscz
cli-anything-musescore --json project open -i score.mscz
Transposition
# Transpose to a target key
cli-anything-musescore --json transpose by-key -i score.mscz -o out.mscz --target-key "C major" --direction closest
# Transpose by semitones
cli-anything-musescore --json transpose by-interval -i score.mscz -o out.mscz --semitones 3
# Diatonic transposition
cli-anything-musescore --json transpose diatonic -i score.mscz -o out.mscz --steps 2
Part Extraction
cli-anything-musescore --json parts list -i score.mscz
cli-anything-musescore --json parts extract -i score.mscz -o piano.mscz --part "Piano"
cli-anything-musescore --json parts generate -i score.mscz -d ./parts/
Export
cli-anything-musescore --json export pdf -i score.mscz -o score.pdf
cli-anything-musescore --json export mp3 -i score.mscz -o score.mp3 --bitrate 192
cli-anything-musescore --json export png -i score.mscz -o score.png --dpi 300
cli-anything-musescore --json export midi -i score.mscz -o score.mid
cli-anything-musescore --json export musicxml -i score.mscz -o score.musicxml
cli-anything-musescore --json export braille -i score.mscz -o score.brf
cli-anything-musescore --json export batch -i score.mscz -o score.pdf -o score.mid
Instrument Management
cli-anything-musescore --json instruments list -i score.mscz
cli-anything-musescore --json instruments add -i score.mscz -o out.mscz --id keyboard.piano --name "Piano"
cli-anything-musescore --json instruments remove -i score.mscz -o out.mscz --name "Violin"
Score Analysis
cli-anything-musescore --json media probe -i score.mscz
cli-anything-musescore --json media stats -i score.mscz
cli-anything-musescore --json media diff --reference a.mscz --compare b.mscz
Session
cli-anything-musescore --json session status
cli-anything-musescore --json session undo
cli-anything-musescore --json session redo
cli-anything-musescore --json session history
Supported Input Formats
.mscz(MuseScore native).mxl(compressed MusicXML).musicxml/.xml(MusicXML).mid/.midi(MIDI)
Key Names for Transposition
Major: Cb, Gb, Db, Ab, Eb, Bb, F, C, G, D, A, E, B, F#, C#
Minor: Ab, Eb, Bb, F, C, G, D, A, E, B, F#, C#, G#, D#, A#
Accepted formats: "C", "C major", "Am", "A minor", "Db major", "F# minor"
Agent Guidance
- Always use
--jsonflag for machine-readable output - Verify exports with
export verifyafter rendering - Use
media probeto inspect an unknown score before operating on it - Transposition requires both
-i(input) and-o(output) - Part names are case-insensitive for
parts extract
Explore more skills
Browse all- CLI Hub Matrix Game DevelopmentCapability-based multi-tool matrix for game development: engine, 3D/2D/audio assets, AI-generated assets, agent…
- CLI Anything RekordboxCommand-line interface for Pioneer Rekordbox 6/7 - DJ library and live-deck control via guarded SQLCipher master.db…
- CLI Anything Live2dInspect, validate, edit, lint, diff, batch-manage, and deploy Live2D Cubism models (.model3.json) from the command line.
- CLI Anything AdguardhomeCommand-line interface for AdGuard Home - Network-wide ad blocking and DNS management via AdGuard Home REST API.…
- CLI Anything InkscapeCommand-line interface for Inkscape - A stateful command-line interface for vector graphics editing, following the same…
- CLI Anything ShotcutCommand-line interface for Shotcut - A stateful command-line interface for video editing, built on the MLT XML format.…
Security
Reviews (0)
More from CLI-Anything
View source →Frequently asked questions about cli-anything-musescore
What does the cli-anything-musescore skill do?
CLI for music notation — transpose, export PDF/audio/MIDI, extract parts, manage instruments It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the cli-anything-musescore skill?
Run `npx @skills-hub-ai/cli install cli-anything-musescore` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/cli-anything-musescore/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does cli-anything-musescore work with?
cli-anything-musescore runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the cli-anything-musescore skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use cli-anything-musescore after installing it?
In Claude Code, type `/cli-anything-musescore` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the cli-anything-musescore skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/cli-anything-musescore)<a href="https://skills-hub.ai/skills/cli-anything-musescore"><img src="https://skills-hub.ai/api/badges/skill/cli-anything-musescore" alt="Install on Skills Hub"></a>More options in the badge docs.