Agent skill · software engineering · sundial-org
spotify-applescript
Control Spotify desktop app via AppleScript. Play playlists, tracks, albums, episodes, and manage playback. Works reliably with macOS Spotify app without API keys or OAuth.
Why this skill is useful
Adds specific AppleScript commands for controlling Spotify that are not commonly known or documented.
What it needs
Requires spotify installed locally. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Spotify AppleScript Control Control the Spotify desktop app using AppleScript. Works reliably with the macOS Spotify app without API rate limits or OAuth. Requirements Spotify desktop app installed and running on macOS No setup required - just works Quick Start Spotify CLI Wrapper The spotify command is a wrapper script at {baseDir}/spotify.sh Commands Command Description Example --------- ------------- --------- play <uri> Play track/album/playlist/episode spotify play spotify:track:xxx pause Toggle play/pause spotify pause next Next track spotify next prev Previous track spotify prev status Show current track info spotify status volume <0-100> Set volume spotify volume 75 mute Mute spotify mute unmute Unmute spotify unmute URI Formats Accepts both Spotify URIs and open.spotify.com URLs: spotify:track:7hQJA50XrCWABAu5v6QZ4i https://open.spotify.com/track/7hQJA50XrCWABAu5v6QZ4i spotify:playlist:665eC1myDA8iSepZ0HOZdG https://open.spotify.com/playlist/665eC1myDA8iSepZ0HOZdG?si=xxx spotify:episode:5yJKH11UlF3sS3gcKKaUYx https://open.spotify.com/episode/5yJKH11UlF3sS3gcKKaUYx spotify:album:xxx spotify:artist:xxx The script auto-converts URLs to URIs. Direct AppleScript Commands For more control, use AppleScript directly: Available Properties Examples Agent Usage When the user says: "Play my power hour playlist" → extract playlist URI and run spotify play <uri> "Pause the music" → run spotify pause "Next track" → run spotify next "What's playing?" → run spotify status Play a specific episode Get full track info Installation The skill is self-contained. To make the spotify command available system-wide: Or add the skill directory to PATH. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/spotify-applescript