sonoscli

Control Sonos speakers via command line for discovery, playback, volume, and groups.

3|1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/SeanHogg/coderClaw --skill sonoscli-seanhogg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/SeanHogg/coderClaw/tree/main/product/skills/sonoscli
Command: npx skills add https://github.com/SeanHogg/coderClaw --skill sonoscli-seanhogg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a command-line interface to control Sonos speakers, simplifying tasks like discovering devices, checking status, playing music, and managing speaker groups.

Core Features & Use Cases

  • Device Discovery: Automatically find Sonos speakers on your local network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Adjustment: Set the volume for specific speakers.
  • Grouping Management: Create, modify, and dissolve speaker groups.
  • Favorites & Queue: Access and manage Sonos favorites and playback queues.
  • Spotify Integration: Search for music on Spotify directly through the CLI.

Quick Start

Use the sonoscli skill to discover all available Sonos speakers on the network.

Frequently Asked Questions about sonoscli

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

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

You can control Sonos speakers from the command line by installing the sonos CLI tool, which enables device discovery, status checks, playback, volume adjustment, and group management.

Can I search and play Spotify music on Sonos using a CLI?

Yes, you can search and play Spotify music on Sonos using the sonos CLI tool, which supports direct Spotify integration for music search and playback.

How do I discover Sonos devices on my local network via terminal?

To discover Sonos devices on your local network via terminal, use the sonos CLI tool to automatically scan and list all available speakers connected to your network.

Do I need to install any dependencies to manage Sonos speaker groups?

Yes, you need the sonos CLI tool installed and accessible in your system's PATH to manage Sonos speaker groups, as this Skill relies on that external executable.

What is the best way to automate home audio playback for Sonos?

Automating home audio playback for Sonos is best achieved using command-line scripts with the sonos CLI, allowing you to automate play, pause, stop, and volume commands.

Are there limitations when adjusting volume for grouped Sonos speakers?

While the sonos CLI supports volume adjustment and group management, any limitations depend on the underlying sonos CLI tool's ability to interact with your specific Sonos hardware configuration.