spotify
What it does
This skill lets the AI agent play, pause, and skip music in Spotify, and look up songs and playlists. It is for people who want to control their music by asking.
When to use it
- ✓When you want to play, pause, or skip a song in the Spotify app on your computer.
- ✓When you want to know which track is playing right now.
- ✓When you want to search Spotify for music or read the songs in one of your playlists.
Skill link
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/spotify/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Pause my music and tell me what song was playing before.”
5 new skills a week. 1 minute to read.
How it works
On a Mac the agent controls the Spotify desktop app directly. For search and playlists, it uses a Spotify connection, and it checks the player state after each action.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Spotify
When to use
Playing, pausing, skipping, identifying the current track, searching for music, and reading playlists.
Setup
Two paths:
- Local control (macOS, no setup). The Spotify desktop app must be
running, or say so:
osascript -e 'tell application "Spotify" to playpause' - Web API (search, playlists, other platforms). Requires an authorized Spotify
connection with suitable scopes; report missing access without asking the
user to paste a token into chat:
GET api.spotify.com/v1/search,/v1/me/playlists,/v1/playlists/{id}.
Workflow
- Prefer local control for transport (play/pause/next/previous/current track).
Use the requested
playorpauseverb;playpauseis a toggle and cannot safely be retried after an uncertain result. Verify player state afterward. - Use available Web API endpoints for search and playlist contents. Check current app-access restrictions; do not promise the restricted Recommendations API. Handle 403/429 responses without bypassing access or rate limits.
- Report artist, track, album, and playlist names verbatim.
Non-goals
- Do not change playlists (add/remove/reorder) unless asked.
- Do not download or rip audio.
- Do not handle the user's Spotify password.
Reference: Spotify API changes.
FAQ
Does it change my playlists?
No. The skill says not to add, remove, or reorder playlist songs unless you ask.
Do I need to share my Spotify password?
No. The skill says it will not handle your password, and it will not ask you to paste a token into chat.
Does it work without the Spotify app open?
For local control on a Mac, the Spotify desktop app must be running, and the agent will tell you if it is not.
Details
Original description by the author
Control Spotify playback and search the library and playlists. Use when: spotify, music, playlist, play, pause, or what's playing.
repo: codewhale-hq/Codewhale
Popularity
- GitHub stars
- 41k
- Ranking position
- #6557
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
best-of-n
41kHelps your agent produce several independent answers to a hard problem, judge them against one rubric, and apply only the one that passes checks.
dataviz
41kHelps your agent choose a suitable chart or dashboard for your data, with clear labels, source notes, and checks on axes and missing values.
debug
41kHelps your agent find the real cause of a bug by reproducing it, narrowing it down, and fixing only when you approve, instead of guessing.
delegate
41kTeaches your agent to split a large task into focused parallel helpers, while keeping planning, integration, and the final check in its own hands.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.