Skills spotify
Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/2mawi2/spotify" ~/.claude/skills/openclaw-skills-spotify && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/2mawi2/spotify" ~/.openclaw/skills/openclaw-skills-spotify && rm -rf "$T"
manifest:
skills/2mawi2/spotify/SKILL.mdsource content
Spotify CLI
Control Spotify on macOS. No API key required.
Commands
spotify play # Resume spotify pause # Pause/toggle spotify next # Next track spotify prev # Previous track spotify stop # Stop spotify vol up # +10% spotify vol down # -10% spotify vol 50 # Set to 50% spotify status # Current track info
Play by Name
- Search web for Spotify URL:
"Daft Punk" site:open.spotify.com - Get ID from URL:
→ ID isopen.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi4tZwfgrHOc3mvqYlEYSvVi - Play with AppleScript:
# Artist osascript -e 'tell application "Spotify" to play track "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi"' # Album osascript -e 'tell application "Spotify" to play track "spotify:album:4m2880jivSbbyEGAKfITCa"' # Track osascript -e 'tell application "Spotify" to play track "spotify:track:2KHRENHQzTIQ001nlP9Gdc"'
Notes
- macOS only - uses AppleScript
- Spotify desktop app must be running
- Works with Sonos via Spotify Connect