# Spotify

> Spotify desktop heuristics for background-computer-use. Use when the user asks you to pause, skip, search, queue, or otherwise control Spotify without stealing focus.

- **Type:** Skill
- **Install:** `agentstack add skill-panchangam18-background-computer-use-spotify`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Panchangam18](https://agentstack.voostack.com/s/panchangam18)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Panchangam18](https://github.com/Panchangam18)
- **Source:** https://github.com/Panchangam18/background-computer-use/tree/main/skills/spotify
- **Website:** https://github.com/Panchangam18/background-computer-use

## Install

```sh
agentstack add skill-panchangam18-background-computer-use-spotify
```

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

## About

# Driving Spotify with background computer use

Spotify is Electron + WebView, so accessibility coverage is partial. Mix
element indexes with coordinate and keyboard fallbacks.

1. Always call `get_app_state app="Spotify"` before interacting.
2. Trust post-action snapshots, not pre-action ones — the UI lags real
   playback state by 300–800 ms.
3. Transport controls have reliable keyboard shortcuts; prefer them over
   coordinate clicks:
   - `space` — play/pause
   - `command+Right` / `command+Left` — next / previous
   - `command+Up` / `command+Down` — volume up / down
4. For search, try `set_value` on the search field first. If it silently
   fails, `click` the field, `press_key key="command+a"`, then `type_text`.
5. Track rows advertise `ShowMenu` as a secondary action for queue / add-to-
   playlist. Re-read state after the menu opens.

Detailed notes live in `server/app-hints/Spotify.md`; they are injected as
`` on every `get_app_state` call for Spotify.

## Source & license

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

- **Author:** [Panchangam18](https://github.com/Panchangam18)
- **Source:** [Panchangam18/background-computer-use](https://github.com/Panchangam18/background-computer-use)
- **License:** MIT
- **Homepage:** https://github.com/Panchangam18/background-computer-use

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-panchangam18-background-computer-use-spotify
- Seller: https://agentstack.voostack.com/s/panchangam18
- 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%.
