Communitygithub.com

MuseScore CLI-Skill

Kommandozeilen-Schnittstelle für Notensatz – Transponieren, Export in PDF/Audio/MIDI, Stimmen extrahieren, Instrumente verwalten.

Was ist MuseScore CLI-Skill?

Der MuseScore CLI-Skill kapselt die `mscore`-Backend-Funktionalität von MuseScore 4 für eine breite Palette musiknotationstechnischer Aufgaben. Er ermöglicht das Transponieren von Partituren in verschiedene Tonarten, den Export in gängige Formate wie PDF, PNG, MP3, MIDI, MusicXML und Braille, das Extrahieren und Generieren von Einzelstimmen sowie das Hinzufügen oder Entfernen von Instrumenten. Der Skill unterstützt die Eingabeformate `.mscz`, `.mxl`, `.musicxml`/`.xml` und `.mid`/`.midi`. Entwickler und KI-Agenten können Befehle mit `--json`-Flag für maschinenlesbare Ausgaben nutzen, was eine automatisierte Integration in Workflows oder andere Tools erlaubt. Typische Anwendungen sind das Stapelverarbeiten von Partituren, das Analysieren von Medieninformationen (`media probe`) oder das Vergleichen von Versionen (`media diff`). Der Skill ist ideal für alle, die Notensatzaufgaben ohne grafische Oberfläche automatisieren möchten – sei es in CI/CD-Pipelines, beim Batch-Export für Musikverlage oder beim Erstellen von Übungsmaterialien.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-musescore

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht MuseScore CLI-Skill?

Überblick

Kapselt die mscore-Backend-Funktionalität von MuseScore 4 für Notensatzaufgaben: Transposition, Export in mehrere Formate (PDF, PNG, MP3, MIDI, MusicXML, Braille), Stimmenextraktion, Instrumentenverwaltung und Partituranalyse.

Befehle

Projektverwaltung

cli-anything-musescore --json project info -i score.mscz
cli-anything-musescore --json project open -i score.mscz

Transposition

# In eine Zieltonart transponieren
cli-anything-musescore --json transpose by-key -i score.mscz -o out.mscz --target-key "C major" --direction closest

# Um Halbtöne transponieren
cli-anything-musescore --json transpose by-interval -i score.mscz -o out.mscz --semitones 3

# Diatonische Transposition
cli-anything-musescore --json transpose diatonic -i score.mscz -o out.mscz --steps 2

Stimmenextraktion

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

Instrumentenverwaltung

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"

Partituranalyse

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

Sitzung

cli-anything-musescore --json session status
cli-anything-musescore --json session undo
cli-anything-musescore --json session redo
cli-anything-musescore --json session history

Unterstützte Eingabeformate

  • .mscz (MuseScore nativ)
  • .mxl (komprimiertes MusicXML)
  • .musicxml / .xml (MusicXML)
  • .mid / .midi (MIDI)

Tonartnamen für Transposition

Dur: Cb, Gb, Db, Ab, Eb, Bb, F, C, G, D, A, E, B, F#, C# Moll: Ab, Eb, Bb, F, C, G, D, A, E, B, F#, C#, G#, D#, A#

Akzeptierte Formate: "C", "C major", "Am", "A minor", "Db major", "F# minor"

Hinweise für Agenten

  • Verwende immer das Flag --json für maschinenlesbare Ausgabe
  • Überprüfe Exporte nach dem Rendern mit export verify
  • Verwende media probe, um eine unbekannte Partitur zu inspizieren, bevor du sie bearbeitest
  • Transposition erfordert sowohl -i (Eingabe) als auch -o (Ausgabe)
  • Die Namen der Stimmen sind bei parts extract nicht case-sensitiv

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

Verwandte Skills