AGENT SKILL

music

Render a chiptune loop from MML text to WAV with pulse, triangle, and noise presets, standard library only. Use when: 'chiptune', '8-bit music', 'retro game loop', 'MML to wav'. Not for a one-shot effect (use /retro-audio:sfx) or lyrics.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 30
Forks
7

01 前言 Front Matter

metadata
{ "summary": "Render a short chiptune score to a WAV file", "workflow-stage": "implement" }
description
Render a chiptune loop from MML text to WAV with pulse, triangle, and noise presets, standard library only. Use when: 'chiptune', '8-bit music', 'retro game loop', 'MML to wav'. Not for a one-shot effect (use /retro-audio:sfx) or lyrics.
argument-hint
<mood or score> [chip gameboy|nes|pico-8]
user-invocable
true
disable-model-invocation
false

03 SKILL.md 正文

Music

Turn a short description or a pasted score into one looping WAV.

1. Write the score

Use the MML subset in ${CLAUDE_PLUGIN_ROOT}/scripts/mml.py: t tempo, o octave, l length, v volume 1-15, @0 bass, @1 to @4 pulse duties 12.5, 25, 50, 75 (claim = those four duties; basis = chips.md; as of 2026-09-28; recheck when that file's Pan Docs or NESDev basis changes), < and > for octave, [ ] repeats, | between parts, n for noise. Notes are a through g and r. Presets cap channels and noise parts only, not the hardware voice mix, and pico-8 shares the Game Boy and NES duties. A dot after a length is 1.5 times. Pick --chip gameboy, nes, or pico-8. Four parts at most, and only one part may use n.

A worked loop is ${CLAUDE_PLUGIN_ROOT}/examples/campfire.mml.

2. Render

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mml.py" --chip gameboy --out <dir>/loop.wav "<score>"

3. Deliver

Give the WAV path and the score text beside it. A pixel-art scene takes the path as its audio argument and inlines the file. Do not edit that plugin from here.

Next

/pixel-art:scene <scene> <wav path> to play the loop in a scene.

Gotchas

  • Length numbers are denominators: l4 is a quarter note, l8 an eighth.
  • The renderer does not write MP3.

04 同仓库更多 Skills

melodic-software
melodic-software/claude-code-plugins

track

Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.

★ 30
melodic-software
melodic-software/claude-code-plugins

reviewer-media

Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.

★ 30
melodic-software
melodic-software/claude-code-plugins

route

Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.

★ 30
melodic-software
melodic-software/claude-code-plugins

route

Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.

★ 30
melodic-software
melodic-software/claude-code-plugins

principles

Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.

★ 30
melodic-software
melodic-software/claude-code-plugins

write

Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').

★ 30