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,478 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for score-generate

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,478 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.02478
Opus 5.5 $0.00030 $0.00991
Sonnet 5.5 $0.00015 $0.00496
Haiku 4.5 $0.00007 $0.00248

Measured 1mo ago against content hash 3f79058c92b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo ago.

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 · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 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 it to a temporary file (for example /tmp/generate_score.py, or under %TEMP% on Windows).
  4. Execute the script from the folder where the score should land. The script writes <Title>.musicxml into the working directory:
    cd ~/Desktop && 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 unless the user names another folder.

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 · 229 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. 1mo ago Changed · -5 lines 3f79058c92b7
  2. 2mo ago Changed · +3 lines c10211fe55dd
  3. 2mo 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 (32 stars, last pushed 6d ago), licensed MIT. It adds 74 tokens to every session and 2,478 once invoked, about $0.0003 per session on Opus 5.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

score-generate compared with skills from other repositories

score-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
score-generatetskovlund/mcp-scoreSkill326d agoMITA74Claude Code
musescore-drum-chartghchen99/mcp-musescoreSkill140yesterdayMITA159Claude Code, Codex
mcp-musescoreghchen99/mcp-musescoreSkill140yesterdayMITA40Codex
jellyfin-media-playbackKnuckles-Team/jellyfin-mcpSkill32d agoMITA136Claude Code, Codex
setupAINSOF-Tech/mcpSkill03d agoMITA47Claude Code
soundtrackAINSOF-Tech/mcpSkill03d agoMITA76Claude Code
opik-diagnosecomet-ml/opik-mcpSkill2262d agoApache-2.0A187Claude Code