home-music
by asteinberger
Smart Home & IoTBrief
Control whole-house music scenes combining Spotify playback.
Description
What This Skill Does
Controls whole-house music by combining Spotify playback with Airfoil speaker routing. Preset scenes (morning, party, chill, off) set the playlist, speaker targets, and volume in one command. Works on macOS via AppleScript.
Replaces the manual process of opening Spotify, picking a playlist, switching to Airfoil, selecting speakers, and adjusting volume separately, all with a single command.
When to Use It
- Starting a low-volume morning playlist on a single speaker
- Routing party music to all speakers simultaneously
- Switching to a quiet chill playlist for evening relaxation
- Stopping all music and disconnecting every speaker at once
- Checking which track is playing and which speakers are active
Example Workflow
User asks: start party mode
- 1
Detects 'party mode' trigger
- 2
Sets Airfoil audio source to Spotify
- 3
Connects all configured speakers (Computer, MacBook, Sonos Move, Living Room TV)
- 4
Sets speaker volume to 70%
- 5
Starts the Rock Party Mix playlist in Spotify
All speakers playing Rock Party Mix at 70% volume
Requirements
- Spotify Desktop App installed and running
- Airfoil installed and running (paid app, rogueamoeba.com)
Installation
clawhub install asteinberger/home-musicRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.