Overview
- Skill Key
- egemenyerdelen/spotify-controller
- Author
- egemenyerdelen
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/egemenyerdelen/spotify-controller
- Latest Commit SHA
- 08d3ea7b5a77e488cc172cde2b01e09cea3e8db6
Control Spotify playback and devices from an AI agent using spotify.py and the official Spotify Web API. Use when users ask to check current track, play/pause, next/prev, set volume, search tracks, play first search result, list devices, switch active device, or play a specific Spotify URL. Works on headless VPS and Docker setups.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 spotify-controller 技能。 若已安装,则直接安装 spotify-controller 技能。
# Spotify Controller Skill Control Spotify playback from your AI agent using the official Spotify Web API. This works across setups (local machine, Docker, VPS, and hybrid environments). It is especially useful for fixing Spotify control pain in headless VPS deployments. The server does **not** need a browser or a local Spotify client. --- ## What this skill provides - A CLI workflow around `spotify.py` - Playback control (`play`, `pause`, `next`, `prev`) - Track lookup (`search`) and quick play (`playsearch`) - Direct URI playback (`playtrack spotify:track:...`) - Device management (`devices`, `setdevice`) - Volume control (`volume 0-100`, where supported) --- ## Requirements - Python 3 available in runtime/container - `requests` package installed - Spotify Premium account - Spotify Developer app credentials - Environment variables: - `SPOTIFY_CLIENT_ID` - `SPOTIFY_CLIENT_SECRET` - `SPOTIFY_REFRESH_TOKEN` Install dependency: ```bash uv pip install requests --system ``` (Alternative: `pip install requests`) If you build OpenClaw in Docker, add this to your `Dockerfile` when `requests` is not already present: ```dockerfile RUN uv pip install requests --system ``` --- ## Setup (Step-by-step) ### 1) Create a Spotify Developer App 1. Go to: https://developer.spotify.com/dashboard 2. Click **Create App** 3. Enter any app name/description 4. Add Redirect URI: - `http://127.0.0.1:8888/callback` 5. Enable **Web API** access 6. Save and copy: - **Client ID** - **Client Secret** ### 2) Get a refresh token (one-time, on local machine) Open this URL in your browser (replace `YOUR_CLIENT_ID`): ```text https://accounts.spotify.com/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=http://127.0.0.1:8888/callback&scope=user-modify-playback-state%20user-read-playback-state%20user-read-currently-playing ``` Approve access, then copy the `code` value from the redirected URL. Exchange code for tokens: ```bash curl -s -X POST "https:...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.