Sonos CLI (sonoscli)

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

223|35|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/ComposioHQ/awesome-agent-clis --skill sonos-cli-sonoscli-composiohq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Sonos CLI (sonoscli)
Source: https://github.com/ComposioHQ/awesome-agent-clis/tree/main/sonoscli
Command: npx skills add https://github.com/ComposioHQ/awesome-agent-clis --skill sonos-cli-sonoscli-composiohq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables users to discover and control Sonos speakers via the command line, simplifying speaker management without needing the Sonos app.

Core Features & Use Cases

  • Playback control: Play, pause, stop, and navigate tracks on Sonos speakers in various rooms.
  • Speaker management: Group, ungroup, and manage speaker zones for synchronized playback.
  • Spotify integration: Play and enqueue Spotify tracks, playlists, and search music directly through commands.
  • Queue and favorites: Manage playback queue and access favorite music or presets.
  • Scenes and presets: Save and apply preset configurations for quick setup.

Quick Start

To control playback in the kitchen, run 'sonos play --name "Kitchen"' to start music on that speaker.

Frequently Asked Questions about Sonos CLI (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?

Control Sonos speakers via terminal commands to manage playback, group zones, and handle streaming without needing the Sonos app. Run commands like play, pause, and stop directly in your local network.

Can I group Sonos speakers for multi-room audio using CLI?

Yes, you can group and ungroup Sonos speakers into synchronized zones for multi-room audio setups directly through command-line speaker management commands. This enables synchronized playback across multiple rooms.

Does Sonos CLI support Spotify music streaming integration?

Yes, the Sonos CLI supports Spotify integration, allowing you to play, enqueue tracks, and search music directly through commands. Your Spotify account must be linked to use these streaming features.

What network access is required for Sonos speaker control via terminal?

Sonos speaker control via terminal requires network access to the speakers on TCP port 1400. Ensure your command-line environment can reach the local network where the speakers are hosted.

How do I save and apply preset configurations for Sonos?

Save and apply preset configurations for quick setup using scene commands. This allows you to instantly apply favorite music, playback states, and speaker groupings across your Sonos zones.