airfoil
Control AirPlay speakers via Airfoil from the command line. Connect, disconnect, set volume, and manage multi-room audio with simple CLI commands.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/asteinberger/airfoilWhat This Skill Does
The Airfoil skill is an advanced automation tool for macOS that allows you to control your multi-room audio setup from the terminal or through natural language commands via OpenClaw. Airfoil is the industry standard for streaming audio from any application on your Mac to virtually any speaker, and this skill bridges the gap between the Airfoil GUI and programmatic control. With this tool, you can seamlessly connect to specific speakers, adjust volume levels on the fly, and manage your sound output without ever needing to navigate a mouse or click through nested menus. It is designed for power users who want to create automated audio "scenes"—such as instantly routing all audio to the living room when work ends or muting specific zones during a focus session.
Installation
- Ensure you have the Airfoil application installed on your macOS system. You can install it via Homebrew by running
brew install --cask airfoilor by downloading it directly from the Rogue Amoeba website. - Open Airfoil at least once to ensure all system permissions are granted. Navigate to System Settings → Privacy & Security → Accessibility and ensure Airfoil is enabled. This is critical as the skill relies on AppleScript to interact with the Airfoil interface.
- Install the skill directly into your agent environment using the command:
clawhub install openclaw/skills/skills/asteinberger/airfoil. - Once installed, verify the connection by running
./airfoil.sh listto ensure the skill can correctly identify your network speakers.
Use Cases
- Whole-Home Audio: Trigger a single command to sync music across all supported speakers simultaneously.
- Focus Mode: Automatically mute specific speakers when starting a deep work session to minimize distractions.
- Home Theater Setup: Quickly switch audio routing between your office speakers and your living room television system.
- Scheduled Playback: Use cron jobs or recurring tasks to set speaker volumes at specific times of the day.
Example Prompts
- "Hey Claw, connect to the Sonos Move and set the volume to 40%."
- "Can you switch my audio output to the Living Room TV and mute the kitchen speaker?"
- "What is the current volume level of my connected speakers?"
Tips & Limitations
- Case Sensitivity: When referencing speaker names, ensure you use the exact string returned by the
listcommand. - Accessibility: If the skill fails to control a speaker, check that Airfoil is open and that the macOS Accessibility permissions are still active for the application.
- Dependencies: This skill only functions on macOS; it cannot control Airfoil instances running on Windows.
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-airfoil": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
home-music
Control whole-house music scenes combining Spotify playback with Airfoil speaker routing. Quick presets for morning, party, chill modes.
portainer
Control Docker containers and stacks via Portainer API. List containers, start/stop/restart, view logs, and redeploy stacks from git.
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.