sonoscli

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

39|10|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/lllooollpp/clawdbot-cn --skill sonoscli-lllooollpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/lllooollpp/clawdbot-cn/tree/main/skills/sonoscli
Command: npx skills add https://github.com/lllooollpp/clawdbot-cn --skill sonoscli-lllooollpp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows users to control their Sonos speakers directly from the command line, managing playback, volume, and speaker grouping without needing the official Sonos app.

Core Features & Use Cases

  • Discover Speakers: Automatically find Sonos devices on your local network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Adjustment: Set specific volume levels for speakers.
  • Grouping Management: Group and ungroup speakers for synchronized audio.
  • Queue Management: View and manage the music queue.
  • Favorites & Spotify Search: Access Sonos favorites and search Spotify.

Quick Start

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

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?

The sonos CLI tool requires installation via Go and operates on your local network to automatically discover Sonos devices, providing direct terminal access to speaker controls and queue management.

Can I group and ungroup Sonos speakers for synchronized audio using a CLI?

The CLI supports group management, enabling you to combine or separate speakers so that grouped devices play synchronized audio across your home network.

How do I search for music on Spotify and play it on Sonos speakers?

The tool optionally integrates with Spotify's Web API to search for tracks, which you can then queue and play on your discovered Sonos devices alongside accessing your saved Sonos favorites.

Do I need to install Go to use a CLI for Sonos speaker control?

Installing the sonos CLI tool via Go is a prerequisite to enable command-line discovery and manipulation of your Sonos audio system without relying on the graphical app.

What is the best way to manage Sonos volume and playback without the official app?

A command-line interface bypasses the official app, allowing you to execute targeted commands for volume adjustments and playback manipulation across individual or grouped speakers.