Sources — add, edit, or remove streams and genres
This skill is part of the claude-music plugin. Only invoke when the user explicitly uses the slash command.
Manage the music streams and genres available in the claude-music plugin. This is a conversational editor — the user tells you what they want to change and you handle the YAML.
${CLAUDE_PLUGIN_ROOT}/config/sources.ymlFirst, read the current sources file:
cat "${CLAUDE_PLUGIN_ROOT}/config/sources.yml"
Then display a clean summary for the user:
Your music sources:
For each genre, show:
At the end, tell the user what they can do:
You can ask me to:
- Add a stream — e.g. "add a stream to jazz called KCSM with url http://..."
- Add a genre — e.g. "add a new genre called rock"
- Remove a stream — e.g. "remove Nightwave Plaza from lofi"
- Remove a genre — e.g. "remove the electronic genre"
- Enable a genre — uncomment a commented-out genre (like electronic)
When the user asks to make a change:
${CLAUDE_PLUGIN_ROOT}/config/sources.yml. Preserve the existing YAML structure: top-level genre keys, 2-space indent for - name: list items, 4-space indent for url: properties.Append a new - name: / url: entry under that genre's list. Use 2-space indent for list items, 4-space indent for properties: