Skip to content
Skillpedia
Misc41k · #6557

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.md

Copy 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

Use this skill to help me: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/spotify/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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:

  1. Local control (macOS, no setup). The Spotify desktop app must be running, or say so: osascript -e 'tell application "Spotify" to playpause'
  2. 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

  1. Prefer local control for transport (play/pause/next/previous/current track). Use the requested play or pause verb; playpause is a toggle and cannot safely be retried after an uncertain result. Verify player state afterward.
  2. 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.
  3. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills