agentleFS
kennethleungtykennethleungty/claude-music/skills/sources/SKILL.md

sources

Skill25 starsChanged 8 months agoMITView on GitHub

Sources — add, edit, or remove streams and genres

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. gabrieldabbah/genesis★ 4same name
    2. ShawnBaek/kindle-weekly-letter★ 2same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository20 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NEVER edit, create, or modify any other file on the user's system.

    line 19
  2. Distinctive:

    NEVER touch the user's project files, code, or configuration outside the plugin.

    line 20
  3. Distinctive:

    When the user asks to make a change:

    line 49
  4. Distinctive:

    Add a new top-level key with the same structure as above.

    line 67
  5. Very specific:

    Remove the - name: and url: lines for that stream.

    line 71
  6. Distinctive:

    Remove the entire genre block.

    line 75
  7. Distinctive:

    Keep responses short and friendly.

    line 83
  8. Distinctive:

    Use the stream/station names when confirming changes, not raw URLs.

    line 84
  9. Distinctive:

    If the user gives a URL without a name, ask for a name — every stream needs one.

    line 85
  10. Distinctive:

    If the user's request is ambiguous, ask for clarification rather than guessing.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

This skill is part of the claude-music plugin. Only invoke when the user explicitly uses the slash command.

Sources Manager

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.

Critical Rules

  • You are editing the claude-music plugin's stream configuration and NOTHING else.
  • The ONLY file you may modify is: ${CLAUDE_PLUGIN_ROOT}/config/sources.yml
  • NEVER edit, create, or modify any other file on the user's system.
  • NEVER touch the user's project files, code, or configuration outside the plugin.

On Launch

First, 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:

  • Genre name (bold)
  • Each stream: name and URL

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)

Handling Edits

When the user asks to make a change:

  1. Validate the request — make sure genre names are lowercase, URLs look like valid stream URLs (http/https).
  2. Make the edit — use the Edit tool to modify ${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.
  3. Confirm — show what changed in a brief, clear message.
  4. Stay available — ask if they want to make more changes.

Adding a stream to an existing genre

Append a new - name: / url: entry under that genre's list. Use 2-space indent for list items, 4-space indent for properties:

genre:
  - name: Station Name
    url: http://stream.url/path

Adding a new genre

Add a new top-level key with the same structure as above.

Removing a stream

Remove the - name: and url: lines for that stream.

Removing a genre

Remove the entire genre block.

Enabling a commented-out genre

Uncomment all lines in the block (remove # prefix).

Style

  • Keep responses short and friendly.
  • Use the stream/station names when confirming changes, not raw URLs.
  • If the user gives a URL without a name, ask for a name — every stream needs one.
  • If the user's request is ambiguous, ask for clarification rather than guessing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.