sonoscli

Automate Sonos speaker playback, grouping, and volume control from the command line.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/PotLock/foxfang --skill sonoscli-potlock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/PotLock/foxfang/tree/main/skills/sonoscli
Command: npx skills add https://github.com/PotLock/foxfang --skill sonoscli-potlock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables direct, scriptable control of Sonos speakers on a local network from the terminal, enabling quick status checks, playback control, and group management without switching apps.

Core Features & Use Cases

  • Discover Sonos devices on the LAN and check status across rooms.
  • Play, pause, stop, and adjust volume; group or ungroup speakers; manage playback queues.
  • Use in home setups or small offices to orchestrate multi-room audio and automation workflows.

Quick Start

Run a single command to discover speakers and start playback on a chosen group.

Frequently Asked Questions about sonoscli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Sonos speakers from the command line?

You can control Sonos speakers from the command line by using a Go-built 'sonos' binary to automate local-network playback, status checks, volume adjustments, and grouping across multiple rooms.

Can I group Sonos speakers across multiple rooms using a CLI?

Yes, you can group Sonos speakers across multiple rooms using a CLI to orchestrate multi-room audio, manage playback queues, and execute ungrouping actions directly from your terminal.

Do I need a specific binary to automate Sonos playback over a local network?

Yes, automating Sonos playback over a local network requires a Go-built 'sonos' binary installed on the host machine alongside local network access to the Sonos devices.

What is the best way to script multi-room audio control for Sonos without an app?

The best way to script multi-room audio control without an app is using command-line tools to discover LAN devices, check room status, and automate playback workflows for home setups or small offices.

Why use command-line control instead of the Sonos app for playback management?

Command-line control enables scriptable automation workflows and quick status checks across rooms without switching apps, making it ideal for orchestrating multi-room audio in small office or home environments.