Skip to content
Skillpedia
Automations77k · #1561

Spotify Automation

Helps your agent manage playlists, search for songs, and control playback on Spotify. Makes organizing and accessing your music easier.

What it does

This tool lets you control your Spotify account. You can manage your playlists, search for songs, albums, and artists, and even control what's playing.

When to use it

  • ✓I want to create a playlist with my favorite songs.
  • ✓I need to find a specific song I heard.
  • ✓I want to change the song playing on my phone.

Example of what to ask your AI

“Search for pop songs released in 2023.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/spotify-automation/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/spotify-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

You connect your Spotify account. Then, you can ask the AI to do things like search for music or add a song to a playlist.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add ComposioHQ/awesome-claude-skills --skill Spotify Automation

Or download just the file:

curl -L https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/spotify-automation/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Spotify Automation

Automate Spotify operations -- manage playlists, search the music catalog, control playback, browse albums and tracks, and access user profiles -- all orchestrated through the Composio MCP integration.

Toolkit docs: composio.dev/toolkits/spotify


Setup

  1. Connect your Spotify account through the Composio MCP server at https://rube.app/mcp
  2. The agent will prompt you with an authentication link if no active connection exists
  3. Once connected, all SPOTIFY_* tools become available for execution
  4. 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
q string Yes Search query keywords
type array Yes Item types: album, artist, playlist, track, show, episode, audiobook
limit integer No Results to return (default: 20)
offset integer No Offset for pagination (default: 0)
market string No ISO 3166-1 alpha-2 country code
include_external string No Set to audio 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
user_id string Yes Spotify user ID
limit integer No Max playlists, 1-50 (default: 20)
offset integer No Pagination offset, 0-100000 (default: 0)

Get current user's playlists:

Tool: SPOTIFY_GET_CURRENT_USER_S_PLAYLISTS

Parameter Type Required Description
limit integer No Max playlists, 1-50 (default: 20)
offset integer No Pagination offset, 0-100000 (default: 0)

Get playlist details:

Tool: SPOTIFY_GET_PLAYLIST

Parameter Type Required Description
playlist_id string Yes Spotify playlist ID (e.g., 3cEYpjA9oz9GiPac4AsH4n)
fields string No Comma-separated field filter to reduce response size
market string No ISO country code for market-specific content
additional_types string No track,episode to include podcast episodes

Update playlist details:

Tool: SPOTIFY_CHANGE_PLAYLIST_DETAILS

Parameter Type Required Description
playlist_id string Yes Playlist ID (must be owned by current user)
name string No New playlist name
description string No New playlist description
public boolean No Public/private toggle
collaborative 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
playlist_id string Yes Spotify playlist ID
limit integer No Items per page, 1-50 (default: 20)
offset integer No Pagination offset (default: 0)
fields string No Field filter (e.g., items(track(name,id)))
market string No ISO country code
additional_types string No track,episode 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.

…

FAQ

Do I need to pay to use everything?

Some features, like controlling playback, require a Spotify Premium subscription.

How does the AI know which song to play?

You need to have Spotify open on a device (phone, computer, etc.) for the AI to control playback.

Can I change a playlist's name and description?

Yes, you can edit the details of playlists you created.

Details

Original description by the author

Automate Spotify workflows including playlist management, music search, playback control, and user profile access via Composio

repo: ComposioHQ/awesome-claude-skills

Popularity

GitHub stars
77k
Ranking position
#1561
License
—
Updated
9/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills