home-music
Control whole-house music scenes combining Spotify playback with Airfoil speaker routing. Quick presets for morning, party, chill modes.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/asteinberger/home-musicWhat This Skill Does
The Home Music skill is an advanced automation bridge for macOS users that synchronizes Spotify playback with Airfoil speaker routing. It transforms complex, multi-step audio management tasks into single-command, scene-based presets. By integrating native AppleScript control with the Airfoil API, this agent allows you to transition your living environment between 'Morning', 'Party', and 'Chill' modes instantly. It handles the heavy lifting of volume scaling, speaker selection, and playlist launching so you can focus on the music rather than toggling menus.
Installation
To install, navigate to your Clawd installation directory and ensure your terminal permissions are set correctly. First, run chmod +x ~/clawd/skills/home-music/home-music.sh to allow the script to execute. Follow this by creating a global symbolic link using sudo ln -sf ~/clawd/skills/home-music/home-music.sh /usr/local/bin/home-music. Ensure that both the Spotify desktop application and Airfoil are active before triggering any commands, as the skill relies on these processes being reachable via their respective APIs.
Use Cases
This skill is perfect for home automation enthusiasts and music lovers who use mixed-brand audio setups. Whether you are automating a morning routine where audio follows you from the bedroom to the kitchen, or managing a dynamic party environment where multiple devices need to be synced via Airfoil, Home Music reduces the friction of manual configuration. It is also ideal for quickly silencing a house when you need to take an unexpected call or transition into a work-from-home mode.
Example Prompts
- "OpenClaw, get the house ready for guests with the party music scene."
- "It's time to wind down, switch the speakers to chill mode."
- "Hey Claw, what is currently playing and which speakers are active?"
Tips & Limitations
The primary limitation of this skill is its dependency on macOS and specifically the active state of the Spotify and Airfoil applications; if these apps are not running, the commands will fail. To customize your experience, navigate to the script header to replace existing Spotify URI strings with your own personal playlists. For the best experience, ensure your Airfoil speakers are pre-named clearly within the Airfoil app itself so the script can accurately identify and route audio to your preferred output devices without confusion.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-asteinberger-home-music": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
airfoil
Control AirPlay speakers via Airfoil from the command line. Connect, disconnect, set volume, and manage multi-room audio with simple CLI commands.
pm2
Manage Node.js applications with PM2 process manager. Use for deploying, monitoring, and auto-restarting Node apps in production. Covers starting apps, viewing logs, setting up auto-start on boot, and managing multiple processes.