# Spotify

> Control Spotify playback, search tracks/albums/playlists, and manage queues via the Spotify Web API.

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

## Install

```sh
agentstack add skill-eobarretooo-clawlite-spotify
```

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

## About

# Spotify

Use this skill when the user wants to control Spotify playback or search for music.

## Auth

Spotify Web API requires OAuth 2.0. Set:
- `SPOTIFY_CLIENT_ID` and `SPOTIFY_CLIENT_SECRET` (from https://developer.spotify.com/dashboard)
- `SPOTIFY_ACCESS_TOKEN` (short-lived; refresh with refresh token as needed)

Alternatively use `spotify-player` CLI if installed: `spotify_player` command.

## Base URL

```
https://api.spotify.com/v1
Headers: Authorization: Bearer $SPOTIFY_ACCESS_TOKEN
```

## Key endpoints

```
GET  /me/player                        # current playback state
PUT  /me/player/play                   # resume/start playback
PUT  /me/player/pause                  # pause
POST /me/player/next                   # skip to next track
POST /me/player/previous               # skip to previous
PUT  /me/player/volume?volume_percent=N
GET  /search?q=QUERY&type=track,album,playlist&limit=10
GET  /tracks/{track_id}
GET  /albums/{album_id}
GET  /playlists/{playlist_id}
POST /me/player/queue?uri=spotify:track:ID  # add to queue
GET  /me/playlists                     # user's playlists
GET  /me/top/tracks?time_range=medium_term
```

## spotify-player CLI (if available)

```bash
spotify_player playback play
spotify_player playback pause
spotify_player playback next
spotify_player search --query "artist:Radiohead"
```

## Safety notes

- Playback commands require an active Spotify Premium device.
- Token expiry is 1 hour; handle 401 by refreshing.

## Source & license

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

- **Author:** [eobarretooo](https://github.com/eobarretooo)
- **Source:** [eobarretooo/ClawLite](https://github.com/eobarretooo/ClawLite)
- **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-eobarretooo-clawlite-spotify
- Seller: https://agentstack.voostack.com/s/eobarretooo
- 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%.
