Mood

From kennethleungty/claude-music · View interactive version

Mood is an AI agent skill from the GitHub repository kennethleungty/claude-music. Mood — tell the DJ how you're feeling and it picks the right music

How to use this skill

Skill file

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

Mood

The user describes their mood, feeling, or what kind of music they want in their own words. The DJ interprets it and picks the best genre.

Instructions

The user said: "$ARGUMENTS"

Based on this, pick the best genre and station, then play it immediately. Do NOT spawn an agent or delegate.

Step 1: Read genres and match mood

Read the genre metadata from sources.yml:

python3 -c "
import sys
try:
    import yaml
    with open('${CLAUDE_PLUGIN_ROOT}/config/sources.yml') as f:
        data = yaml.safe_load(f)
except ImportError:
    sys.exit(1)
for genre, info in data.items():
    print(f'{genre}:')
    for s in info.get('stations', []):
        tags = ', '.join(s.get('tags', []))
        print(f'  - {s[\"name\"]}: {s.get(\"description\", \"\")}')
        print(f'    tags: {tags}')
    print()
"

Using the tags and descriptions, match the user's mood to the best genre.

Step 2: Play it

Pick a specific station name from the matched genre, then:

"${CLAUDE_PLUGIN_ROOT}/scripts/music-controller.sh" play "<station name>"

Step 3: Respond

Return a message in EXACTLY this format:

♪ Now playing {genre} — {station name}. {one-liner reason tied to the mood} ♪

Keep it to one line. Do not explain your reasoning.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.