sonos

Automate music and YouTube playback, queue management, and room controls on Sonos systems.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/Khang5687/agent-scripts --skill sonos-khang5687
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonos
Source: https://github.com/Khang5687/agent-scripts/tree/main/skills/sonos
Command: npx skills add https://github.com/Khang5687/agent-scripts --skill sonos-khang5687

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of manually managing Sonos music playback, including YouTube audio, by automating common tasks like playing, queuing, setting volume, and controlling rooms/groups.

Core Features & Use Cases

  • Automated Playback: Search and play music by track, album, artist, playlist, or station.
  • Queue Management: Add or replace the music queue.
  • Playback Control: Pause, resume, skip, seek, shuffle, repeat, and set volume.
  • Room/Group Management: Move/group playback between rooms and groups.
  • YouTube Integration: Play YouTube audio/music through Sonos with local tooling.
  • Use Case: Suppose you are at a party and want to play a specific track or playlist on all your Sonos speakers. Use this Skill to automatically add it to the queue and play it on all selected rooms.

Quick Start

Queue a YouTube track to play on all Sonos rooms with 'play YouTube "song title" to all'.

Frequently Asked Questions about sonos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Sonos music playback across multiple rooms?

Automate Sonos music playback across multiple rooms by using scripts to handle queue management and playback actions, directing specific tracks or playlists to selected rooms and groups simultaneously.

Can I play YouTube audio through my Sonos speaker system?

Yes, you can play YouTube audio through your Sonos speakers using local tooling and APIs. The system integrates YouTube playback, allowing you to search for tracks and queue them directly to your Sonos devices.

How do I manage my Sonos music queue and control playback settings?

Manage your Sonos music queue and control playback by using scripts to add or replace tracks, adjust volume, pause, resume, skip, seek, shuffle, and repeat tracks without manual intervention.

Do I need local Sonos APIs to control my home automation music system?

Yes, local Sonos APIs and tooling are required for execution. The system relies on the sonos-python dependency to interface with your local network and automate music playback actions on your devices.

What is the best way to group Sonos speakers for synchronized music playback?

The best way to group Sonos speakers for synchronized music playback is by using room and group management scripts to move and group playback between different zones, ensuring audio plays across all selected rooms.