Skip to content
Back to skills

Play

ASecurity

Play music — start or switch genre/station

  • 20 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
ai-agentsbash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add kennethleungty/claude-music --skill play --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Play?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Play
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kennethleungty-play/badge)](https://www.skillsdirectory.com/skills/kennethleungty-play)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: play
disable-model-invocation: true
description: "Play music — start or switch genre/station"
model: haiku
effort: low
allowed-tools: Bash
---

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

# Play Music

Start background music. Optionally specify a genre or station name (e.g. `/play jazz`, `/play groove salad`).

Run `"${CLAUDE_PLUGIN_ROOT}/scripts/music-controller.sh" play $ARGUMENTS`.

- If `"status": "playing"`: **♪ Now playing {genre} — {station} ♪**
  - If `takeover` is `true`: prefix with *Switched over from another session{prev_genre ? " (was playing {prev_genre})" : ""} —* before the now-playing line
  - If `genre_reason` is `"preference"`: add *(resumed from your last session)*
  - If `genre_reason` is `"default"`: add *(default genre — use `/play <genre>` to change)*
  - If `genre_reason` is `"requested"`: no extra note needed
- If error about no audio player: run the `install_command` (if `has_sudo` is true) or `nosudo_hint` (if false) from the JSON, then retry play automatically.
- If error about both primary and fallback failing: tell the user and suggest trying `/next` or a different genre.

Genres: lofi, jazz, classical, ambient, electronic, synthwave, lounge, indie. Also accepts station names (e.g. "groove salad").

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.