sonoscli

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

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance --skill sonoscli-justicegaines03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance/tree/main/skills/sonoscli
Command: npx skills add https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance --skill sonoscli-justicegaines03

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sonos, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to manage and control Sonos speakers, simplifying tasks like playback, volume adjustment, and speaker grouping.

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 Management: Adjust the volume for specific speakers or groups.
  • Grouping: Create and manage speaker groups for synchronized audio.
  • Queue Management: Control the music queue, including adding and clearing tracks.
  • Spotify Integration: Search and play music from Spotify via SMAPI.

Quick Start

Use the sonoscli skill to discover all available 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?

This skill enables command-line Sonos speaker control by discovering devices on your local network and executing playback, volume, and grouping instructions programmatically.

Can I play Spotify music on Sonos using a CLI?

Yes, you can play Spotify tracks on Sonos via the command line by integrating with SMAPI to search for music and manage playback directly through your terminal.

Do I need the sonos binary installed to manage speaker groups?

Yes, the sonos binary is a required dependency to manage speaker groups, discover available audio devices, and execute command-line playback controls on your local network.

What is the best way to automate home audio environments with Sonos?

Automating home audio environments with Sonos is achieved through command-line scripts that handle speaker discovery, queue management, volume adjustment, and synchronized audio grouping.

How do I discover Sonos devices on my local network?

You can discover Sonos devices on your local network by triggering the automatic speaker discovery feature provided by the command-line interface to map available audio systems.

Can I manage the music queue and clear tracks on Sonos speakers?

Yes, you can manage the music queue and clear tracks on Sonos speakers by utilizing the command-line interface to add tracks or empty the current playback queue programmatically.