sonoscli

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

1|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/LuisvelMarketer/genome --skill sonoscli-luisvelmarketer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/LuisvelMarketer/genome/tree/main/skills/sonoscli
Command: npx skills add https://github.com/LuisvelMarketer/genome --skill sonoscli-luisvelmarketer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and 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 playing music, adjusting volume, and managing speaker groups.

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 the volume for specific speakers.
  • Grouping Management: Group and ungroup speakers for synchronized audio.
  • Favorites & Queue: Access and manage Sonos favorites and playback queues.
  • Spotify Integration: Search for music on Spotify via SMAPI.

Quick Start

Discover all Sonos speakers on your network by running the command sonos discover.

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 dedicated CLI tool to discover devices, manage playback, adjust volume, and group speakers on your local network.

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

Yes, you can search for Spotify music on Sonos via SMAPI. You need to optionally provide Spotify API credentials to enable enhanced music search and playback features.

What is needed to discover Sonos devices on a local network?

To discover Sonos devices on a local network, you need the sonoscli binary installed. Running the discover command automatically finds available speakers ready for control.

How do I group and ungroup Sonos speakers for synchronized audio?

You group and ungroup Sonos speakers for synchronized audio by executing specific grouping management commands in the CLI, allowing coordinated playback across multiple devices.

Does the Sonos CLI support managing favorites and playback queues?

Yes, the Sonos CLI supports managing favorites and playback queues. You can access, manage, and control your Sonos favorites and queues directly through command line operations.