ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 5/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/2mawi2/spotify
Or

What This Skill Does

The Spotify skill for OpenClaw provides a robust interface for controlling your Spotify desktop application directly from your terminal or AI assistant. By leveraging macOS AppleScript, this skill enables seamless playback control, volume adjustment, and deep-linking into the Spotify library. It bridges the gap between your voice or text commands and the Spotify player, allowing you to manage your listening experience without ever leaving your current workflow context or touching a mouse.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/2mawi2/spotify

Ensure that the official Spotify desktop application is installed and running on your macOS device for the scripts to successfully interface with the player. The skill requires no external API keys, relying entirely on local system automation.

Use Cases

This skill is ideal for power users who maintain a "keyboard-first" or "hands-free" workflow. It is particularly useful for:

  • Managing music during deep work sessions without switching windows.
  • Quickly lowering or muting volume during incoming video calls.
  • Queuing specific artists, albums, or tracks by automating the retrieval of Spotify URI strings.
  • Controlling audio playback on connected hardware, such as Sonos devices, through the Spotify Connect protocol integrated within the Spotify desktop app.

Example Prompts

  1. "Spotify, play some Daft Punk to help me focus."
  2. "Set my Spotify volume to 30 percent and pause the current track."
  3. "Skip this song and tell me what is currently playing."

Tips & Limitations

  • macOS Requirement: This skill is built strictly for macOS using AppleScript. It will not function on Windows or Linux environments.
  • Spotify Client: The desktop app must be active; it cannot trigger playback if the application is fully closed.
  • URL Retrieval: For playing specific media, the skill follows a pattern of searching for a valid URI. If you find the automation fails, ensure the search query includes the site:open.spotify.com modifier to retrieve the correct ID format.
  • External Hardware: Because it controls the desktop client, it is an excellent tool for managing Sonos or other speakers connected via Spotify Connect, effectively acting as a remote control for your entire sound system.

Metadata

Author@2mawi2
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-2mawi2-spotify": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#spotify#music#media-control#macos#automation
Safety Score: 5/5

Flags: code-execution