agentleFS
claude-worldclaude-world/claude-agent/.claude/skills/sonos/SKILL.md

sonos

Skill5 starsChanged 8 months agoMITView on GitHub

Control Sonos speakers via CLI. Discover devices, play/pause, adjust volume, group/ungroup speakers, browse favorites, and check status of all rooms. Use when user mentions Sonos, wants room-specific audio control, or says "play in kitchen", "group all speakers", "pause living room".

  • Installs packages

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check if CLI is installed first: which sonos

    line 111
  2. Distinctive:

    If not installed, show brew install command and stop

    line 112
  3. Distinctive:

    If discovery finds no speakers, tell user to check that speakers are on the same WiFi network

    line 114
  4. Distinctive:

    Keep responses concise: room name + state + track info on one line

    line 116

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sonos Control

Control Sonos speakers on your local network.

Prerequisites

Install sonos CLI:

brew install sonoscli
# GitHub: https://github.com/ryanolf/sonos-cli

Or install the Python soco based tool:

pip install soco-cli
# Provides: sonos command

The speaker must be on the same local network as your machine. No account login required — uses local network discovery.

Commands

Discovery

sonos discover                  # Find all Sonos speakers on network
sonos list                      # List all rooms/groups

Playback

sonos [room] play               # Resume playback
sonos [room] pause
sonos [room] next               # Next track
sonos [room] previous
sonos [room] status             # Current track + state

Volume

sonos [room] volume             # Get current volume
sonos [room] volume 40          # Set volume 0-100
sonos [room] volume +10         # Relative increase
sonos [room] volume -5          # Relative decrease
sonos [room] mute               # Toggle mute

Groups

sonos [room1] join [room2]      # Add room1 to room2's group
sonos [room] unjoin             # Remove from group
sonos [room] group              # Show current group members

Favorites / Playlists

sonos [room] favorites          # List Sonos favorites
sonos [room] play_favorite "Name"  # Play a saved favorite
sonos [room] playlist list      # List playlists

Usage Examples

"Discover Sonos speakers"

sonos discover

"Pause the kitchen"

sonos Kitchen pause

"Set living room volume to 50"

sonos "Living Room" volume 50

"Group all speakers"

# Get rooms from discover, then join all to one coordinator
sonos discover
# Then: sonos Kitchen join "Living Room"

"What's playing everywhere?"

sonos list

Rules

  • Check if CLI is installed first: which sonos
  • If not installed, show brew install command and stop
  • Room names are case-sensitive and may contain spaces — use quotes around multi-word room names
  • If discovery finds no speakers, tell user to check that speakers are on the same WiFi network
  • For relative volume changes, confirm the final value in your response
  • Keep responses concise: room name + state + track info on one line

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.