一键导入
Vibe — reads your session and picks the perfect genre
npx skills add https://github.com/kennethleungty/claude-music --skill vibe复制此命令并粘贴到 Claude Code 中以安装该技能
Vibe — reads your session and picks the perfect genre
npx skills add https://github.com/kennethleungty/claude-music --skill vibe复制此命令并粘贴到 Claude Code 中以安装该技能
| name | vibe |
| description | Vibe — reads your session and picks the perfect genre |
| model | haiku |
| allowed-tools | Bash |
This skill is part of the claude-music plugin. Only invoke when the user explicitly uses the slash command.
Auto-detect the right music based on what's happening in the current session. No user input needed — the DJ reads the room.
You have the full conversation context. Pick the best music and play it in ONE step. Do NOT spawn an agent or delegate.
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 session context to the best genre. Consider:
When in doubt, lean towards relaxing genres (lofi, ambient, classical). The user prefers a chill atmosphere. Only pick high-energy genres if the session strongly suggests it.
Pick a specific station name from the matched genre, then:
"${CLAUDE_PLUGIN_ROOT}/scripts/music-controller.sh" play "<station name>"
Return a message in EXACTLY this format:
♪ Now playing {genre} — {station name}. {one-liner reason tied to the session} ♪
takeover is true in the JSON output: prefix with Switched over from another session —install_command (if has_sudo is true) or nosudo_hint (if false) from the JSON, then retry play automatically.Keep it to one line. Do not explain your reasoning.
DJ — auto-picks the best genre for your session
Shuffle — pick a completely random genre and station
Mood — tell the DJ how you're feeling and it picks the right music
Play music — start or switch genre/station
Previous — go back to the last stream you were on
Feedback — report a bug or share feedback on GitHub