sonoscli

Control Sonos speakers via CLI for discovery, playback, volume, and grouping.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/x402agent/NanoSolana --skill sonoscli-x402agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/x402agent/NanoSolana/tree/main/skills/sonoscli
Command: npx skills add https://github.com/x402agent/NanoSolana --skill sonoscli-x402agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Control Sonos speakers on the local network from the command line, enabling discovery, status checks, playback control, volume adjustments, and grouping without a GUI.

Core Features & Use Cases

  • Discover and list Sonos speakers on the local network.
  • Check status, play/pause/stop, and adjust volume for individual rooms or groups.
  • Manage grouping, queues, and common tasks like favorites, with optional Spotify search integration if available.

Quick Start

Use the sonoscli tool to discover speakers on your network and control playback, status, volume, and grouping.

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 running a Go-based 'sonos' CLI binary to manage discovery, playback, volume, and grouping directly from your terminal without a GUI.

Can I discover Sonos speakers on a local network via CLI?

Yes, you can discover Sonos speakers on a local network via CLI using SSDP-based discovery to automatically find and list available devices for centralized control.

How do I group Sonos speakers for centralized playback control?

You can group Sonos speakers for centralized playback control by executing the CLI to manage room-based grouping, allowing routine playback and volume adjustments across multiple devices simultaneously.

Does Sonos CLI support volume adjustments and status checks for individual rooms?

Yes, Sonos CLI supports volume adjustments and status checks for individual rooms or groups, enabling terminal-based management of playback, volume, and device status in smart home or small office environments.

Can I integrate Spotify search with Sonos CLI playback control?

Yes, you can integrate Spotify search with Sonos CLI playback control if the integration is available, allowing you to search and play music alongside managing favorites, queues, and grouping.

Do I need a GUI to manage Sonos speaker grouping and queues?

No, you do not need a GUI to manage Sonos speaker grouping and queues. The CLI tool provides terminal-based commands to handle grouping, queues, favorites, and playback control directly.