sonoscli

Control Sonos speakers via the sonos binary for playback, volume, and groups.

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

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, simplifying tasks like discovering devices, checking status, playing music, and managing volume.

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 Management: Adjust the volume for specific speakers.
  • Grouping: Manage speaker groups, including joining, unjoining, and party modes.
  • Favorites & Queue: Access and control Sonos favorites and playback queues.

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 do I control Sonos speakers from the command line?

You can control Sonos speakers from the command line by executing commands for device discovery, status checks, playback, and volume adjustment directly over your local network.

Can I manage Sonos speaker groups and party mode via CLI?

Yes, you can manage Sonos speaker groups via CLI by joining and unjoining specific speakers, as well as enabling party mode to synchronize audio playback across multiple devices.

Do I need any specific binaries installed to discover Sonos devices on a local network?

Yes, you need the 'sonos' binary installed and accessible in your system's PATH to discover Sonos devices on a local network and execute playback or grouping commands.

How do I search Spotify and play favorites on my Sonos system?

You can search Spotify and play favorites on your Sonos system by using SMAPI integration to access and control your Sonos favorites and manage playback queues via the command line.

What are the limitations of managing Sonos playback through a command line interface?

A limitation of managing Sonos playback through a command line interface is that all operations require the 'sonos' binary in the system PATH and a continuous connection to the local network.