MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Control Spotify playback and manage playlists via MCP server.
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install oaustegard/claude-skills controlling-spotify --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/controlling-spotify .claude/skills/controlling-spotify && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .claude/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/oaustegard/claude-skills/tree/main/controlling-spotifyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install oaustegard/claude-skills controlling-spotify --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/controlling-spotify .agents/skills/controlling-spotify && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .agents/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install oaustegard/claude-skills controlling-spotify --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/controlling-spotify .cursor/skills/controlling-spotify && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .cursor/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/oaustegard/claude-skills.git --path controlling-spotify--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install oaustegard/claude-skills controlling-spotify --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/controlling-spotify .gemini/skills/controlling-spotify && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .gemini/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install oaustegard/claude-skills controlling-spotifyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/controlling-spotify .github/skills/controlling-spotify && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .github/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add oaustegard/claude-skills --skill controlling-spotify -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install oaustegard/claude-skills controlling-spotify --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/controlling-spotify .opencode/skills/controlling-spotify && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "controlling-spotify" agent skill from https://github.com/oaustegard/claude-skills/tree/main/controlling-spotify into .opencode/skills/controlling-spotify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-spotify", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
controlling-spotifyControl Spotify playback and manage playlists via MCP server.
Controlling Spotify is an agent skill from oaustegard/claude-skills. Control Spotify playback and manage playlists via MCP server. Use when user requests playing music, controlling Spotify, creating playlists, searching songs, or managing their Spotify library.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/setup-guide.md`, `scripts/apply-patch.js` and `scripts/get-refresh-token.js`).
It sits in Agent Workflows, covering MCP servers. It works with Spotify and Model Context Protocol. The repository describes itself as: My collection of Claude skills. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit cf49d47. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (JavaScript and Shell), which the agent can run.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
developer.spotify.comspotify.commodelcontextprotocol.ioFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
SPOTIFY_CLIENT_SECRETSPOTIFY_REFRESH_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Controlling Spotify loads about 2.8k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 705 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
edge** file. Ensure the file contains a `.env` style block with the keys above.look in Project Knowledge / Context for .env style blockAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from oaustegard/claude-skills at commit cf49d47, republished under its MIT licence (© oaustegard). 705 words, ~2,765 tokens.
.claude/skills/controlling-spotify/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Control Spotify playback, search for music, and manage playlists using the Spotify MCP Server with full user account access.
Invoke this skill when users request:
CRITICAL: This skill requires user-provided credentials. The user must complete a one-time setup:
Create Spotify Developer Application
http://127.0.0.1:8888/callbackObtain Refresh Token
references/setup-guide.md)Configure Credentials
SPOTIFY_CLIENT_ID: From Spotify Developer DashboardSPOTIFY_CLIENT_SECRET: From Spotify Developer DashboardSPOTIFY_REFRESH_TOKEN: From helper script outputAlternative: Credentials can also be provided via a Project Knowledge file. Ensure the file contains a .env style block with the keys above.
Without these credentials, the skill cannot function. If credentials are missing, guide the user through the setup process detailed in references/setup-guide.md.
The Spotify MCP Server must be installed in the compute environment. Use the provided installation script which handles cloning, patching, and building the server.
# Run the installation script
bash scripts/install-mcp-server.shConfigure the MCP client to connect to the Spotify MCP server. Note the logic to support credentials from Project Knowledge.
from mcp import Client
import asyncio
import re
# 1. Try to get credentials from skill configuration
env_vars = {
"SPOTIFY_CLIENT_ID": credentials.get("SPOTIFY_CLIENT_ID"),
"SPOTIFY_CLIENT_SECRET": credentials.get("SPOTIFY_CLIENT_SECRET"),
"SPOTIFY_REFRESH_TOKEN": credentials.get("SPOTIFY_REFRESH_TOKEN")
}
# 2. If missing, look in Project Knowledge / Context for .env style block
if not all(env_vars.values()):
# Heuristic: Scan context/files for VAR=VALUE patterns
# (Pseudo-code: Implement based on available context access)
pass
# Server configuration
mcp_config = {
"command": "node",
"args": ["/home/claude/spotify-mcp-server/build/index.js"],
"env": env_vars
}
# Initialize client
async def initialize_spotify_mcp():
client = Client()
await client.connect_stdio(
mcp_config["command"],
mcp_config["args"],
mcp_config["env"]
)
return clientsearchSpotify - Search for tracks, albums, artists, or playlists
result = await client.call_tool("searchSpotify", {
"query": "bohemian rhapsody",
"type": "track",
"limit": 10
})getNowPlaying - Get currently playing track information
result = await client.call_tool("getNowPlaying", {})getMyPlaylists - List user's playlists
result = await client.call_tool("getMyPlaylists", {
"limit": 20,
"offset": 0
})getPlaylistTracks - Get tracks from a playlist
result = await client.call_tool("getPlaylistTracks", {
"playlistId": "37i9dQZEVXcJZyENOWUFo7"
})getRecentlyPlayed - Get recently played tracks
result = await client.call_tool("getRecentlyPlayed", {
"limit": 10
})getUsersSavedTracks - Get user's liked songs
result = await client.call_tool("getUsersSavedTracks", {
"limit": 50,
"offset": 0
})playMusic - Start playing track/album/artist/playlist
# Play by URI
result = await client.call_tool("playMusic", {
"uri": "spotify:track:6rqhFgbbKwnb9MLmUQDhG6"
})
# Or by type and ID
result = await client.call_tool("playMusic", {
"type": "track",
"id": "6rqhFgbbKwnb9MLmUQDhG6"
})pausePlayback - Pause current playback
result = await client.call_tool("pausePlayback", {})skipToNext - Skip to next track
result = await client.call_tool("skipToNext", {})skipToPrevious - Skip to previous track
result = await client.call_tool("skipToPrevious", {})addToQueue - Add track/album to playback queue
result = await client.call_tool("addToQueue", {
"uri": "spotify:track:6rqhFgbbKwnb9MLmUQDhG6"
})createPlaylist - Create new playlist
result = await client.call_tool("createPlaylist", {
"name": "My Workout Mix",
"description": "High energy tracks",
"public": False
})addTracksToPlaylist - Add tracks to existing playlist
result = await client.call_tool("addTracksToPlaylist", {
"playlistId": "3cEYpjA9oz9GiPac4AsH4n",
"trackUris": [
"spotify:track:4iV5W9uYEdYUVa79Axb7Rh",
"spotify:track:6rqhFgbbKwnb9MLmUQDhG6"
]
})getAlbums - Get album details
result = await client.call_tool("getAlbums", {
"albumIds": ["4aawyAB9vmqN3uQ7FjRGTy"]
})getAlbumTracks - Get tracks from album
result = await client.call_tool("getAlbumTracks", {
"albumId": "4aawyAB9vmqN3uQ7FjRGTy"
})saveOrRemoveAlbumForUser - Save/remove albums
result = await client.call_tool("saveOrRemoveAlbumForUser", {
"albumIds": ["4aawyAB9vmqN3uQ7FjRGTy"],
"action": "save"
})# 1. Search for the song
search_result = await client.call_tool("searchSpotify", {
"query": "user's favorite song name",
"type": "track",
"limit": 1
})
# 2. Extract track URI from results
track_uri = search_result["tracks"][0]["uri"]
# 3. Play the track
await client.call_tool("playMusic", {
"uri": track_uri
})# 1. Search for tracks in genre
search_result = await client.call_tool("searchSpotify", {
"query": "genre:rock year:2020-2024",
"type": "track",
"limit": 20
})
# 2. Create new playlist
playlist_result = await client.call_tool("createPlaylist", {
"name": "Modern Rock Mix",
"description": "Recent rock tracks",
"public": False
})
# 3. Extract track URIs
track_uris = [track["uri"] for track in search_result["tracks"]]
# 4. Add tracks to playlist
await client.call_tool("addTracksToPlaylist", {
"playlistId": playlist_result["id"],
"trackUris": track_uris
})# Get current playback state
now_playing = await client.call_tool("getNowPlaying", {})
# Format and display
print(f"Now Playing: {now_playing['track']['name']}")
print(f"Artist: {now_playing['track']['artists'][0]['name']}")
print(f"Album: {now_playing['track']['album']['name']}")
print(f"Progress: {now_playing['progress_ms']} / {now_playing['duration_ms']} ms")Playback control operations (play, pause, skip, queue) require Spotify Premium. Read operations (search, get playlists, view tracks) work with free accounts.
For playback commands to work, the user must have an active Spotify session (web player, desktop app, mobile app) with a device available. If no active device, playback commands will fail.
Spotify API has rate limits (typically 180 requests per minute). For bulk operations, implement appropriate delays or batching.
Spotify uses URIs in the format:
spotify:track:IDspotify:album:IDspotify:artist:IDspotify:playlist:IDMost tools accept either URIs or separate type + id parameters.
Cause: Missing environment variables
Solution: Verify credentials are properly configured:
import os
print(os.getenv("SPOTIFY_CLIENT_ID")) # Should not be None
print(os.getenv("SPOTIFY_CLIENT_SECRET")) # Should not be None
print(os.getenv("SPOTIFY_REFRESH_TOKEN")) # Should not be NoneCause: No Spotify client is currently running/active
Solution: Guide user to:
Cause: User has Spotify Free account
Solution: Playback control requires Spotify Premium. Only search and read operations available for free accounts.
Cause: Missing dependencies or incorrect installation
Solution:
# Re-run installation script
bash scripts/install-mcp-server.shgetNowPlaying to verify device availabilityreferences/setup-guide.mdThis skill requires sensitive credentials. Ensure:
See references/setup-guide.md for detailed security best practices.
© oaustegard, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in controlling-spotify of oaustegard/claude-skills.
Open the folder on GitHubat commit cf49d47
Controlling Spotify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Controlling Spotify this skilloaustegard/claude-skills | 150 | — | ~2.8k | Automated safety check: Notes | MIT | |
| MCP Server Builderanthropics/skills | 180k | 63 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
warpdotdev/warp
Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.
oaustegard/claude-skills
Builds interactive Vega-Lite charts from uploaded data: analyzes the fields, picks five to ten fitting chart types, and produces a React artifact with the data embedded inline.
oaustegard/claude-skills
Builds self-contained single-file HTML pages such as reports, decks, postmortems, flowcharts and prototypes from a small spec using a bundled Python composer and templates.
oaustegard/claude-skills
Rewrites model-sounding prose into plain technical writing and checks that every claim survives, for PR text, docs, commit messages and similar drafts.
oaustegard/claude-skills
Guides building standards-based Preact apps with native-first choices, HTM syntax, import maps and vendored ESM, from single-file demos to larger builds.
oaustegard/claude-skills
Deprecated sampler that captures short windows of the Bluesky firehose, clusters trending terms and builds an HTML report; replaced by the browsing-bluesky skill.
oaustegard/claude-skills
Has a fresh-context adversary attack a blog post, recommendation, analysis brief or piece of code before you ship it, using a profile suited to that kind of artifact.
Works with
Categories
Control Spotify playback and manage playlists via MCP server. Controlling Spotify is an agent skill from oaustegard/claude-skills. Control Spotify playback and manage playlists via MCP server.
Controlling Spotify fits situations like: user requests playing music; controlling Spotify; creating playlists; searching songs.
Run `npx skills add oaustegard/claude-skills --skill controlling-spotify -a claude-code`. Or copy the skill folder (controlling-spotify in oaustegard/claude-skills) into .claude/skills/controlling-spotify in your project. Claude Code loads it when a task matches its description.
Run `npx skills add oaustegard/claude-skills --skill controlling-spotify -a codex`. Or copy the skill folder (controlling-spotify in oaustegard/claude-skills) into .agents/skills/controlling-spotify in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oaustegard/claude-skills --skill controlling-spotify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/controlling-spotify, .gemini/skills/controlling-spotify, .github/skills/controlling-spotify and .opencode/skills/controlling-spotify in your project.
Going by SKILL.md and its folder, Controlling Spotify needs JavaScript and a shell for the scripts in its folder, the command-line tools its instructions call (bash) and credentials named SPOTIFY_CLIENT_SECRET and SPOTIFY_REFRESH_TOKEN. Our summary lists: Python 3; Node.js; A Bash shell; A credential in SPOTIFY_CLIENT_SECRET; A credential in SPOTIFY_REFRESH_TOKEN.
SKILL.md names 3 domains. As links in the text: developer.spotify.com, spotify.com and modelcontextprotocol.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Controlling Spotify is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Controlling Spotify: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
oaustegard (a GitHub user) maintains it in oaustegard/claude-skills, which has 150 GitHub stars. The repository holds 66 skills in this directory. The repository was last updated on October 8, 2026.
Source: oaustegard/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.