Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sammcj/agentic-coding --skill yue2-musicgit clone --depth 1 https://github.com/sammcj/agentic-codingWrote 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.
[](https://agentmods.dev/skills/sammcj/agentic-coding/yue2-music)<a href="https://agentmods.dev/skills/sammcj/agentic-coding/yue2-music"><img src="https://agentmods.dev/badge/skills/sammcj/agentic-coding/yue2-music/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.
<a href="https://agentmods.dev/skills/sammcj/agentic-coding/yue2-music"><img src="https://agentmods.dev/badge/skills/sammcj/agentic-coding/yue2-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.02102 |
| Opus 5.5 | $0.00020 | $0.00841 |
| Sonnet 5.5 | $0.00010 | $0.00420 |
| Haiku 4.5 | $0.00005 | $0.00210 |
Grade A, and why
yue2-music 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YuE2 Music
Turn a musical request into a reproducible song and an audible comparison. Retain the original song and its plan before changing anything.
Choose the workflow
- Generate with editable melody and harmony: YuE2
cot="full"-> ABC -> song - Generate with a melody plan and free accompaniment: YuE2
cot="melody"-> chord-free ABC -> song - Generate without symbolic planning: YuE2
cot="off"-> song (no editable ABC) - Cover a recording: SheetSage2 -> inspect and correct ABC -> strip chords -> YuE2
melody - Cover an ABC melody: inspect or convert native ABC -> strip chords -> YuE2
melody - Change harmony, instruments, tempo, structure or lyrics: copy the full plan -> edit ABC or text -> regenerate
- Agentic editing: export plan and baseline -> bounded editing agent -> check invariants -> render -> compare
- Analyse continuous musical features: MERT2, see models-and-setup.md
Set up
Read models-and-setup.md for model IDs, install pins and licences.
- Work from a project directory, never inside this skill folder.
<skill>in commands below is this skill's directory. - Create
.venv-yue2in the project and install the YuE2 runtime from the official GitHub repository source. - Create
.venv-sheetsage2separately (dependency pins differ) and download the SheetSage2 snapshot tomodels/SheetSage2. - Record every model revision you download.
- Run on the supported baseline: one request at a time, BF16-capable NVIDIA GPU with 24 GB VRAM, default YuE2 settings. On Apple Silicon follow the MPS section of models-and-setup.md; scripts auto-detect the device.
- Scripts default to Hub model IDs; see each script's
--helpfor local snapshot and revision flags. Use a fresh output directory per run.
Generate and retain the plan
Copy assets/prompt.json to requests/<id>.json and edit it. Put genre, instruments, vocal character, language and tempo in style; put section tags and the actual words in lyrics. Keep implementation notes out of lyrics.
What ships with it
19 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.
- .gitignore 24 B
- assets/edit-brief.md 1.6 KB
- assets/mps-performance.patch 18 KB
- assets/negative-style.patch 4.5 KB
- assets/prompt.json 498 B
- CHANGELOG.md 2.0 KB
- CLAUDE.md 149 B
- LICENSE 11 KB
- references/abc-editing.md 13 KB
- references/editing-workflows.md 6.5 KB
- references/generation-and-covers.md 12 KB
- references/listening-and-evaluation.md 7.6 KB
- references/models-and-setup.md 14 KB
- scripts/abc_tools.py 15 KB runs code
- scripts/common.py 951 B runs code
- scripts/listen.py 19 KB runs code
- scripts/run_yue2.py 11 KB runs code
- scripts/score-view.js 3.3 KB runs code
- scripts/transcribe.py 5.8 KB runs code
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.
- 2mo ago First seen · 109 lines · 49 tokens per session scan A 03087c8bafb4
yue2-music is a skill published in the GitHub repository sammcj/agentic-coding (174 stars, last pushed 3d ago), licensed Apache-2.0. It adds 49 tokens to every session and 2,102 once invoked, about $0.0002 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-09-15.
yue2-music compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yue2-musicsammcj/agentic-coding | Skill | 174 | 3d ago | Apache-2.0 | A | 49 | Claude Code |
| agentproto-llm-endpointagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 77 | Claude Code, Codex |
| ap-workflowsagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| agentproto-appsagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| ap-cronagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 70 | Claude Code, Codex |
| ap-lifecycleagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 77 | Claude Code, Codex |
| pb-new-agent-sessionagentproto/ts | Skill | 11 | today | Apache-2.0 | A | 68 | Claude Code, Codex |