OpenClaw Skill
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
$npx clawhub@latest install spotify
View on GitHubv1.0.0
All-time installs45
Active installs40
Stars9
Spotify CLI
Control Spotify on macOS. No API key required.
Commands
bash
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 infoPlay by Name
- Search web for Spotify URL:
"Daft Punk" site:open.spotify.com - Get ID from URL:
open.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi→ ID is4tZwfgrHOc3mvqYlEYSvVi - Play with AppleScript:
bash
# 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
Created by
@2mawi2Persistent memory
Give your OpenClaw agent a memory layer
Mem0 remembers users and context across sessions so you send fewer tokens and get better answers.
Try Mem0Mem0 + OpenClaw guide