sonos
What it does
This skill controls Sonos speakers for music and playback, using local tools that already exist in your project. It is for people who want to control their Sonos system by asking their AI.
When to use it
- ✓When you want music played on a Sonos room or group.
- ✓When you want to change the queue, the volume, or what is playing.
- ✓When you want to move playback between rooms.
Skill link
https://github.com/steipete/agent-scripts/blob/main/skills/sonos/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Play my jazz playlist in the kitchen Sonos and set the volume to a comfortable level.”
5 new skills a week. 1 minute to read.
How it works
The agent first reads the current state, such as rooms and what is playing, then makes the requested change and checks the state again. It asks which room to use if the request is unclear.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Sonos
Use for Sonos music, playback, queue, room/group, and YouTube workflows.
Rules
- Prefer existing local Sonos tooling in the current repo before inventing shell/API calls.
- Do not change speaker groups, queues, or playback unless the user asks for it.
- Confirm target room/group when ambiguous.
- For YouTube, prefer a playable audio URL or local extraction workflow already present in the repo; avoid downloading unless requested.
- Keep network/debug work out of scope unless the user explicitly asks for diagnostics.
- Secrets, service tokens, and account auth: check env/profile first; use
oponly via the repo/AGENTS rules.
Workflow
- Discover repo commands:
rg --files- package scripts or CLI help
- Identify target:
- room/group
- service/source
- query, URL, playlist, album, artist, or track
- Dry-read current state when useful:
- rooms/groups
- now playing
- queue
- Execute the requested playback action.
- Verify by reading current state again.
Common Tasks
- Search and play music by track, album, artist, playlist, or station.
- Add or replace the queue.
- Pause, resume, skip, seek, shuffle, repeat.
- Set volume or mute for a room/group.
- Move/group playback between rooms.
- Play YouTube audio/music through Sonos when supported by local tooling.
YouTube Notes
- Treat YouTube URLs as media sources first, not as download requests.
- If conversion/extraction is needed, prefer the local toolchain already used by the repo.
- State constraints clearly when Sonos/service support blocks direct playback.
FAQ
Will it change my speaker groups by itself?
No. The skill says not to change groups, queues, or playback unless you ask.
What about YouTube links?
It prefers a playable audio source that the local tools already support, and avoids downloading unless asked.
Does it check that a change worked?
Yes. It reads the current state again after making a change.
Details
Original description by the author
Sonos control: search, queue, playlists, rooms/groups, volume, YouTube.
repo: steipete/agent-scripts
Popularity
- GitHub stars
- 7.4k
- Ranking position
- #13246
- License
- MIT
- Updated
- 10/30/2026
Comments
- …
More skills from this repository
beeper
7.4kHelps your agent search your local Beeper chat history to find messages and work out which chat or contact a vague hint refers to.
cloudflare-registrar
7.4kHelps your agent check Cloudflare Registrar domain prices and availability, and register or list domains with a confirmation step.
codexbar
7.4kHelps your agent check how much usage you have left on AI services such as Codex, Claude, and Kimi, including limits, credits, and reset times.
create-cli
7.4kHelps your agent design a command line tool's commands, flags, help text, output, and errors so it works for both people and scripts.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.