spotify-hub

Controls Spotify playback, search, and playlist management via the Spotify Web API using spotipy.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/riipandi/minis-skills --skill spotify-hub-riipandi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spotify-hub
Source: https://github.com/riipandi/minis-skills/tree/main/spotify-hub
Command: npx skills add https://github.com/riipandi/minis-skills --skill spotify-hub-riipandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires spotipy, and includes scripts (resource) components.

What problem does it solve? Managing Spotify playback manually interrupts your workflow. This Skill lets you control playback, search for music, and manage playlists directly through natural language commands without switching to the Spotify app. ## Core Features & Use Cases - Playback Control: Play, pause, skip tracks, adjust volume, toggle shuffle and repeat, and seek to any position in a song. - Search & Discovery: Search tracks by keyword and play results instantly, or mix multi-keyword searches for trending and genre-based listening. - Library & Playlist Management: Save tracks, view listening history and top artists, create playlists, and follow artists. - Use Case: Say "play trending hits" and the Skill runs a multi-keyword search, shuffles the results, and starts playback on your active device. ## Quick Start Ask the assistant to play a song on Spotify, for example by saying "play some trending hits on Spotify" after setting your SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, and SPOTIPY_REDIRECT_URI environment variables.

Frequently Asked Questions about spotify-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Spotify playback with Python?

Use the spotipy library with SpotifyOAuth to call the Spotify Web API endpoints for play, pause, skip, volume, shuffle, and seek. This Skill wraps those calls in a single script with commands like play, pause, next, and volume.

How do I search and play songs on Spotify programmatically?

Call the Spotify search endpoint with a keyword and track type, then pass the returned track URIs to start_playback on an active device. The search command in this Skill plays the top 10 matching tracks automatically.

What Spotify API credentials do I need for spotipy?

You need a client ID and client secret from the Spotify Developer Dashboard, plus a redirect URI such as http://127.0.0.1:8888/callback. Set them as SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET, and SPOTIPY_REDIRECT_URI environment variables.

Why does Spotify playback control fail with no active device?

The Spotify Web API requires an active device, meaning Spotify must be open and playing on a phone or computer. Open Spotify on any device and start playback once before issuing control commands.

Why do third-party Spotify playlists return a 403 error?

In Development Mode, the Spotify API returns 403 for third-party public playlists. Instead of reading those playlists, use multi-keyword search to build a mixed playback queue of trending or genre tracks.