skills$openclaw/spotify
2mawi29.6k

by 2mawi2

spotify – OpenClaw Skill

spotify is an OpenClaw Skills integration for data analytics workflows. 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.

9.6k stars9.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namespotify
descriptionControl 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. OpenClaw Skills integration.
owner2mawi2
repository2mawi2/spotify
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @2mawi2/spotify
last updatedFeb 7, 2026

Maintainer

2mawi2

2mawi2

Maintains spotify in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
266 B
SKILL.md
1.6 KB
SKILL.md

name: spotify description: 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. metadata: {"clawdbot":{"emoji":"🎵","requires":{"bins":["spotify"],"os":"darwin"},"install":[{"id":"brew","kind":"brew","packages":["shpotify"],"bins":["spotify"],"label":"Install spotify CLI (brew)"}]}}

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

  1. Search web for Spotify URL: "Daft Punk" site:open.spotify.com
  2. Get ID from URL: open.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi → ID is 4tZwfgrHOc3mvqYlEYSvVi
  3. 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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install spotify?

Run openclaw add @2mawi2/spotify in your terminal. This installs spotify into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/2mawi2/spotify. Review commits and README documentation before installing.