A Python-based CLI tool to control Spotify playback and devices through an AI agent using the official Spotify Web API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install spotify-controller
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install spotify-controller using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Spotify Controller skill enables AI agents to interact directly with the Spotify Web API to manage music playback and device states. It is specifically designed to solve the challenge of controlling media in headless environments, such as a VPS or Docker container, where local audio output is unavailable. By leveraging Openclaw Skills, developers can grant their agents the ability to play tracks, adjust volume, and switch between Spotify Connect devices seamlessly.
This integration allows for a sophisticated workflow where the agent acts as a remote controller. Since it uses the official Web API, it does not require a local Spotify client to be running on the server itself. Instead, it sends commands to any active device—like a smartphone, smart speaker, or desktop app—making it a versatile addition to any Openclaw Skills collection.
uv pip install requests --system
SPOTIFY_CLIENT_ID=your_id
SPOTIFY_CLIENT_SECRET=your_secret
SPOTIFY_REFRESH_TOKEN=your_token
| Element | Type | Description |
|---|---|---|
| spotify.py | Script | The core logic for interfacing with the Spotify Web API. |
| Environment Variables | Credentials | Secure storage for Client ID, Secret, and Refresh Token. |
| Command Arguments | Input | Parameters such as status, play, pause, volume, and search. |
| Spotify URIs | Identifier | Unique strings used to target specific tracks or albums for playback. |
Loading
A privacy-centric metasearch skill that aggregates multiple search engines through a self-hosted SearXNG instance without requiring individual API keys.

An AI-driven video production skill that generates high-quality YouTube videos, Shorts, and thumbnails from text prompts.

An AI-driven generation tool for creating click-worthy, high-contrast YouTube thumbnails designed to maximize click-through rates.

A powerful AI-driven skill for repairing, colorizing, and enhancing historical or damaged photographs.

A powerful tool for checking Dutch train schedules, planning journeys, and monitoring rail disruptions using the official NS API.

A powerful RAG and knowledge management platform that uses tree-based document indexing for precise semantic search and navigation.








































