Spotify Control for macOS for Openclaw

A macOS-native skill for controlling Spotify playback, volume, and media selection via CLI and AppleScript.

2mawi2
v1.0.0
Jan 24, 2026
9
8.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install spotify

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install spotify using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Spotify Control for macOS?

The Spotify skill for Openclaw Skills provides a robust interface for managing music playback directly through your AI coding agent. Designed specifically for macOS, this skill bridges the gap between your terminal and the Spotify desktop application, allowing for seamless audio management without the overhead of API configuration. It enables users to maintain their flow state by controlling their environment through simple text or voice commands.

By utilizing the shpotify CLI and native AppleScript, this integration offers low-latency control over the Spotify app. Whether you need to toggle playback, skip a track that is breaking your concentration, or play a specific artist's discography, this tool provides the necessary hooks to turn Spotify into a programmable component of your workstation via Openclaw Skills.

Spotify Control for macOS Use Cases

  • Control basic music playback like play, pause, next, and previous tracks during deep work sessions.
  • Adjust Spotify volume levels precisely using commands instead of manual sliders.
  • Play specific artists, albums, or tracks by passing Spotify URIs to the agent.
  • Retrieve current track information and status to know what is playing without switching windows.

How Spotify Control for macOS Works

  1. The AI agent receives a playback or search request related to music.
  2. For standard controls, the skill invokes the shpotify CLI to send commands like play, pause, or vol to the system.
  3. For specific content requests, the agent extracts the unique Spotify ID from a web search or provided URL.
  4. The skill then executes a macOS AppleScript (osascript) command to tell the Spotify application to play the specific URI (artist, album, or track).
  5. The Spotify desktop app processes the command locally, ensuring immediate response and support for Spotify Connect devices.

Spotify Control for macOS Setup

To use this skill with Openclaw Skills, ensure you are running macOS and have the Spotify desktop app installed.

# Install the required shpotify CLI via Homebrew
brew install shpotify

# Open the Spotify app and log in
open -a Spotify

Spotify Control for macOS Data Schema & Taxonomy

The skill interacts with the macOS operating system and the Spotify application using the following structure:

Feature Mechanism Data Type
Playback Control shpotify CLI Command-line arguments
Media Selection AppleScript Spotify URIs (Artist, Album, Track)
Status Retrieval System Shell Metadata strings
Volume Control AppleScript Integer (0-100)

Spotify Control for macOS Advanced Features

  • Support for Spotify Connect, allowing you to control Sonos or other networked speakers through the desktop app.
  • Programmatic volume stepping (up/down 10%) or absolute volume setting.
  • Direct URI playback support which bypasses the need for manual searching in the UI.
  • Zero-API-key configuration, leveraging local system permissions instead of complex OAuth flows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*