sonoscli

Control Sonos speakers for discovery, playback, volume, grouping, queue, and Spotify search.

2|Updated May 23, 2026
One-click install
npx skills add https://github.com/enclawed/enclawed-oss --skill sonoscli-enclawed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/enclawed/enclawed-oss/tree/main/skills/sonoscli
Command: npx skills add https://github.com/enclawed/enclawed-oss --skill sonoscli-enclawed

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of managing Sonos speakers from the command line, making it easy to find devices, check status, and control playback without opening another app.

Core Features & Use Cases

  • Speaker Discovery: Find Sonos devices on the local network and target them by name or IP address.
  • Playback and Volume Control: Play, pause, stop, and adjust volume for a specific room or speaker.
  • Grouping and Queue Management: Join rooms into a group, manage the queue, and handle favorites for everyday listening.
  • Spotify Search: Search for music through SMAPI when Spotify credentials are available.
  • Use Case: A user can quickly verify whether the kitchen speaker is online, start music, and set a comfortable volume level from a terminal session.

Quick Start

Ask me to discover your Sonos speakers and control playback or volume for a named room.

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 this Skill to manage discovery, playback, volume, and grouping for devices on your local network. It targets speakers by name or IP address.

Can I search for Spotify music on Sonos without opening the app?

Yes, you can search for Spotify music on Sonos without the app by using the Spotify search workflow via SMAPI, provided your Spotify credentials are available and configured for the session.

What do I need to discover Sonos devices on my local network?

To discover Sonos devices on your local network, you need the sonos binary installed and local network access enabled to allow SSDP discovery requests to find and query your speakers.

Why is my Sonos speaker discovery not working in the sandbox?

Sonos speaker discovery fails in the sandbox when local network access is blocked or SSDP requests are restricted. You need to grant local network permissions and troubleshoot SSDP or sandbox failures.

How do I group Sonos rooms into a single audio session?

You group Sonos rooms into a single audio session by using the grouping commands to join multiple speakers, allowing you to manage playback and volume across the entire group.