Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hkuds avatar

Musescore

  • 6 installs
  • 46.6k repo stars
  • Updated August 3, 2026
  • hkuds/cli-anything

Run music-notation tasks from the CLI via MuseScore 4: transpose, export PDF/PNG/MP3/MIDI/MusicXML, extract parts, manage instruments, and analyze scores.

About

A CLI wrapping MuseScore 4's mscore backend for transposition, multi-format export, part extraction, instrument management, and score analysis. A developer uses it to automate music-notation tasks on .mscz files.

  • Exports to PDF, PNG, MP3, MIDI, MusicXML, and Braille
  • Requires MuseScore 4 installed; JSON output supported

Musescore by the numbers

  • 6 all-time installs (skills.sh)
  • Ranked #421 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hkuds/cli-anything --skill musescore

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6
repo stars46.6k
Last updatedAugust 3, 2026
Repositoryhkuds/cli-anything

What it does

Run music-notation tasks from the CLI via MuseScore 4: transpose, export PDF/PNG/MP3/MIDI/MusicXML, extract parts, manage instruments, and analyze scores.

Files

SKILL.mdMarkdownGitHub ↗

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 --json flag for machine-readable output
  • Verify exports with export verify after rendering
  • Use media probe to inspect an unknown score before operating on it
  • Transposition requires both -i (input) and -o (output)
  • Part names are case-insensitive for parts extract

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.