mcp-score: Skill for Claude Code

.claude/skills/score-generate/SKILL.md

score-generate is a skill for Claude Code from tskovlund/mcp-score. It costs 74 tokens per session (2,434 once invoked), scanned A, original, MIT.

A tool for creating printable music scores in MusicXML, a format that notation programs such as MuseScore can open, using Python and music21.

In plain words
What is it for?
Use it to create scores, lead sheets, arrangements, charts, and separate instrumental parts. It asks for important missing details before generating the file.
Why use it?
It turns musical requirements such as instruments, key, tempo, and chords into written notation instead of requiring the score to be entered by hand.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is tskovlund/mcp-score's own configuration. It tells Claude Code how to work on mcp-score itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-score configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tskovlund/mcp-score. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tskovlund/mcp-score/main/.claude/skills/score-generate/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tskovlund/mcp-score

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for score-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/tskovlund/mcp-score/score-generate.svg)](https://agentmods.dev/skills/tskovlund/mcp-score/score-generate)
Your own site
<a href="https://agentmods.dev/skills/tskovlund/mcp-score/score-generate"><img src="https://agentmods.dev/badge/skills/tskovlund/mcp-score/score-generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.02434
Opus 5 $0.00037 $0.01217
Sonnet 5 $0.00015 $0.00487
Haiku 4.5 $0.00007 $0.00243

Measured today against content hash c10211fe55dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

score-generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 1 executable file (references/template.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/score-generate/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Score Generation

Generate music scores by writing and executing music21 Python scripts that export MusicXML.

Instructions

  1. Understand the request — identify: instrumentation, key, time signature, tempo, form/structure, chord progressions, specific notation elements.
  2. Gather missing metadata — if the user hasn't specified title, composer, arranger, or other relevant details, ask them before generating. Only skip asking if the user explicitly says to use defaults or not to ask. Relevant metadata includes:
    • Title (required — ask if not provided)
    • Composer (ask if not provided)
    • Arranger (ask if applicable, e.g. arrangements, charts)
    • Subtitle (ask if the piece has a descriptive subtitle, genre, or dedication)
    • Copyright (ask if the user wants a copyright notice)
  3. Write a complete Python script using music21 that builds the entire score. Save to /tmp/generate_score.py.
  4. Execute the script:
    mcp-score run /tmp/generate_score.py
    
  5. Report the output file path. The user opens it in MuseScore.

Default output location: ~/Desktop/<Title>.musicxml

Critical Conventions

Flat and Sharp Notation

music21 uses - for flats in note names, key names, and chord symbol roots. This is the most common source of bugs:

# WRONG — "Bb7" is parsed as B root with a b7 alteration, NOT Bb dominant 7th
harmony.ChordSymbol("Bb7")  # B major + flat-7 — wrong!

# CORRECT — use '-' for flats in the root
harmony.ChordSymbol("B-7")  # Bb dominant 7th
harmony.ChordSymbol("E-7")  # Eb dominant 7th
harmony.ChordSymbol("A-maj7")  # Ab major 7th
harmony.ChordSymbol("D-9")  # Db dominant 9th

# Sharps use '#' as expected in roots
harmony.ChordSymbol("F#m7")  # F# minor 7th
harmony.ChordSymbol("C#7")  # C# dominant 7th

# In extensions/alterations, 'b' and '#' work normally
harmony.ChordSymbol("Cm7b5")  # C half-diminished
harmony.ChordSymbol("Cmaj7#11")  # C major 7 sharp 11
harmony.ChordSymbol("G7b9")  # G dominant 7 flat 9
harmony.ChordSymbol("C7#5")  # C augmented dominant 7

Read the full file on GitHub · 234 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +3 lines c10211fe55dd
  2. 8d ago First seen · 231 lines · 74 tokens per session scan A 7b020fd0091f

Subscribe to this mod's changes

score-generate is a skill published in the GitHub repository tskovlund/mcp-score (21 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 2,434 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mcp-musescore

Use the ghchen99/mcp-musescore MCP server to inspect, navigate, compose, and edit an open MuseScore score through its QML WebSocket plugin.

ghchen99/mcp-musescore · 40 tokens

jellyfin-media-playback

Stream and control Jellyfin playback and browse music via the jellyfin-mcp MCP server — list artists, albums, and music genres, resolve audio/video streams, manage playlists, and drive playstate (play, mark played, report progress) with the domain-typed jellyfinmedia tool. Use when the agent must start or control…

Knuckles-Team/jellyfin-mcp · 142 tokens

post-to-xhs

A publishing guide for 小红书, a Chinese social-media platform. It covers posting image-and-text content or a longer formatted article, using supplied content or a webpage.

xpzouying/xiaohongshu-mcp · 96 tokens

screenshot-game-view

Capture a screenshot of the Unity Editor's Game View by reading its internal render texture directly. Image size matches the current Game View resolution; the tool corrects Y-flip on DirectX / Metal so the output is always upright. Requires an open Game View window.

IvanMurzak/Unity-MCP · 58 tokens

screenshot-scene-view

Capture a screenshot from the Unity Editor Scene View at the requested size. Renders via the Scene View's active camera onto a temporary RenderTexture. Requires an open Scene View.

IvanMurzak/Unity-MCP · 42 tokens

minimax-cli

Nested swiss-knife reference for the MiniMax mmx CLI and the canonical MiniMax CLI procedure shipped with the TUI: install mmx-cli, discover the correct TUI-managed MiniMax preset/key slot without leaking secrets, match mainland vs international regions, and route image/video/music/TTS generation or one-shot shell…

Lingtai-AI/lingtai · 72 tokens