# Play

> Play music — start or switch genre/station

- **Type:** Skill
- **Install:** `agentstack add skill-kennethleungty-claude-music-play`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kennethleungty](https://agentstack.voostack.com/s/kennethleungty)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [kennethleungty](https://github.com/kennethleungty)
- **Source:** https://github.com/kennethleungty/claude-music/tree/main/skills/play

## Install

```sh
agentstack add skill-kennethleungty-claude-music-play
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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 ` 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").

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kennethleungty](https://github.com/kennethleungty)
- **Source:** [kennethleungty/claude-music](https://github.com/kennethleungty/claude-music)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kennethleungty-claude-music-play
- Seller: https://agentstack.voostack.com/s/kennethleungty
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
