Spotify Automation
它能做什么
这个工具可以帮你控制自己的 Spotify 账号。你可以管理播放列表、搜索歌曲、专辑和艺人,还能控制正在播放的内容。
适用场景
- ✓我想创建一个收藏了我最喜欢歌曲的播放列表。
- ✓我想找到之前听到的某首具体的歌。
- ✓我想切换手机上正在播放的歌曲。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/spotify-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“搜索 2023 年发行的流行歌曲。”
每周 5 个新技能,1 分钟读完。
工作原理
你先连接自己的 Spotify 账号,然后就可以让 AI 帮你做事,比如搜索音乐,或者把一首歌添加到播放列表里。
技术内容(原始 SKILL.md)
作者在 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
- Connect your Spotify account through the Composio MCP server at
https://rube.app/mcp - The agent will prompt you with an authentication link if no active connection exists
- Once connected, all
SPOTIFY_*tools become available for execution - 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.
…
常见问题
使用所有功能都需要付费吗?
有些功能,比如控制播放,需要开通 Spotify Premium 订阅。
AI 怎么知道该播放哪首歌?
要让 AI 控制播放,你需要在某个设备(手机、电脑等)上打开 Spotify。
我可以修改播放列表的名称和描述吗?
可以,你创建的播放列表的详细信息都可以编辑。
详情
作者的原始描述
Automate Spotify workflows including playlist management, music search, playback control, and user profile access via Composio
热度
- GitHub 星标
- 77k
- 排名
- #2458
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。