sonoscli

Control Sonos speakers via CLI for playback, grouping, and favorites.

55|6|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/NJX-njx/opensoul --skill sonoscli-njx-njx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/NJX-njx/opensoul/tree/main/skills/sonoscli
Command: npx skills add https://github.com/NJX-njx/opensoul --skill sonoscli-njx-njx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables users to easily control and manage Sonos speakers, including playback and volume adjustments, from the command line.

Core Features & Use Cases

  • Control Playback: Start, pause, stop, and adjust volume of Sonos speakers.
  • Grouping Speakers: Join or unjoin speakers into groups for synchronized audio.
  • Manage Favorites and Queue: List and play favorite tracks or manage the playback queue.
  • Use Case: For example, a user can set up a morning routine by creating a script to discover speakers, check status, and play music in the kitchen without manual interaction.

Quick Start

Use the sonoscli skill to discover local speakers and change the volume in the living 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 speaker playback and volume from the command line?

You can control Sonos speaker playback and volume from the command line by using this Skill to execute CLI commands that interface with the local network Sonos API, allowing you to start, pause, stop, and adjust audio levels.

Can I group multiple Sonos speakers together for synchronized audio using CLI?

Yes, you can group multiple Sonos speakers for synchronized audio. The Skill manages local network speaker grouping by sending join and unjoin commands directly to the Sonos API.

What do I need to manage multi-room audio setups on my local network?

To manage multi-room audio setups on your local network, you need the 'sonos' binary dependency installed. The Skill uses this binary and CLI commands to discover speakers and interface with the Sonos API.

How do I list and play favorite tracks on my Sonos speakers?

You list and play favorite tracks on Sonos speakers by executing specific CLI commands through the Skill, which manages your favorites and playback queue by interfacing with the local network Sonos API.

Does this approach work for automating a morning routine to play music on Sonos?

Yes, this approach works for automating a morning routine to play music on Sonos. You can create scripts using CLI commands to discover local speakers, check status, and play music without manual interaction.