A-Curated-List-of-Awesome-Claude-Skills Spotify Automation
Automate Spotify workflows including playlist management, music search, playback control, and user profile access via Claude Skill
git clone https://github.com/Engineer1999/A-Curated-List-of-Awesome-Claude-Skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/Engineer1999/A-Curated-List-of-Awesome-Claude-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/app-automations/spotify-automation" ~/.claude/skills/engineer1999-a-curated-list-of-awesome-claude-skills-spotify-automation && rm -rf "$T"
app-automations/spotify-automation/SKILL.mdSpotify Automation
Automate Spotify operations -- manage playlists, search the music catalog, control playback, browse albums and tracks, and access user profiles -- all orchestrated through the Claude Skill MCP integration.
Toolkit docs: claude-skills.ai/toolkits/spotify
Setup
- Connect your Spotify account through the Claude Skill MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- Once connected, all
tools become available for executionSPOTIFY_* - Note: Some features (playback control) require a Spotify Premium subscription
Core Workflows
1. Get Current User Profile
Retrieve comprehensive profile information for the authenticated Spotify user.
Tool:
SPOTIFY_GET_CURRENT_USER_S_PROFILE
No parameters required. Returns: display name, email, country, subscription level (premium/free), explicit content settings, profile images, follower count, and Spotify URIs. Required scopes: user-read-private, user-read-email.
2. Search the Spotify Catalog
Find albums, artists, playlists, tracks, shows, episodes, or audiobooks by keyword.
Tool:
SPOTIFY_SEARCH_FOR_ITEM
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Search query keywords |
| array | Yes | Item types: , , , , , , |
| integer | No | Results to return (default: 20) |
| integer | No | Offset for pagination (default: 0) |
| string | No | ISO 3166-1 alpha-2 country code |
| string | No | Set to to include external content |
Note: Audiobooks are only available in US, UK, Canada, Ireland, New Zealand, and Australia.
3. Manage Playlists
Browse, create, modify, and populate playlists.
Get a user's playlists:
Tool:
SPOTIFY_GET_USER_S_PLAYLISTS
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Spotify user ID |
| integer | No | Max playlists, 1-50 (default: 20) |
| integer | No | Pagination offset, 0-100000 (default: 0) |
Get current user's playlists:
Tool:
SPOTIFY_GET_CURRENT_USER_S_PLAYLISTS
| Parameter | Type | Required | Description |
|---|---|---|---|
| integer | No | Max playlists, 1-50 (default: 20) |
| integer | No | Pagination offset, 0-100000 (default: 0) |
Get playlist details:
Tool:
SPOTIFY_GET_PLAYLIST
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Spotify playlist ID (e.g., ) |
| string | No | Comma-separated field filter to reduce response size |
| string | No | ISO country code for market-specific content |
| string | No | to include podcast episodes |
Update playlist details:
Tool:
SPOTIFY_CHANGE_PLAYLIST_DETAILS
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Playlist ID (must be owned by current user) |
| string | No | New playlist name |
| string | No | New playlist description |
| boolean | No | Public/private toggle |
| boolean | No | Collaborative mode (only on non-public playlists) |
4. Browse Playlist Items & Add Tracks
View tracks in a playlist and add new items.
Tool:
SPOTIFY_GET_PLAYLIST_ITEMS
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | Yes | Spotify playlist ID |
| integer | No | Items per page, 1-50 (default: 20) |
| integer | No | Pagination offset (default: 0) |
| string | No | Field filter (e.g., ) |
| string | No | ISO country code |
| string | No | for podcast episodes |
Tool:
SPOTIFY_ADD_ITEMS_TO_PLAYLIST
Add tracks or episodes to a playlist using Spotify URIs.
5. Get Track & Album Details
Retrieve catalog information for individual tracks and albums.
Tool:
SPOTIFY_GET_TRACK -- Get details for a single track by Spotify ID.
Tool:
SPOTIFY_GET_ALBUM -- Get comprehensive album data including track listing, artist info, cover art, and popularity.
6. Control Playback
Start, resume, or change playback on the user's active device.
Tool:
SPOTIFY_START_RESUME_PLAYBACK
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | No | Spotify URI of album, artist, or playlist (cannot combine with ) |
| array | No | List of track URIs to play (cannot combine with ) |
| object | No | Starting position: or |
| integer | No | Start position in milliseconds |
| string | No | Target device ID (defaults to active device) |
Requirements: Spotify Premium subscription and at least one active device.
Known Pitfalls
| Pitfall | Details |
|---|---|
| Premium required for playback | returns 403 if the user does not have Spotify Premium |
| Active device required | Playback control returns 404 if no Spotify device (mobile, desktop, web, speaker) is active |
| context_uri vs uris are exclusive | Cannot use both and in the same playback call |
| Collaborative playlists | can only be set to on non-public playlists ( must be ) |
| Playlist ownership | only works on playlists owned by the authenticated user |
| Audiobook market restrictions | Audiobooks via search are only available in US, UK, Canada, Ireland, New Zealand, and Australia |
| Max 11000 playlists | Users are limited to approximately 11,000 playlists via |
Quick Reference
| Tool Slug | Purpose |
|---|---|
| Get authenticated user's profile |
| Search catalog for tracks, albums, artists, etc. |
| Get playlists for any user |
| Get current user's playlists |
| Get detailed playlist info |
| List tracks/episodes in a playlist |
| Update playlist name, description, visibility |
| Create a new playlist |
| Add tracks/episodes to a playlist |
| Get track details by ID |
| Get album details by ID |
| Start or resume playback on a device |
Part of the Claude Skills Hub