Skip to content
Back to skills

Sonos

ASecurity

Sonos control: search, queue, playlists, rooms/groups, volume, YouTube playback.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 10, 2026
ai-agentsshellbashgitapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned October 10, 2026

npx -y skills add mouadja02/skills --skill sonos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sonos?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sonos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mouadja02-sonos/badge)](https://www.skillsdirectory.com/skills/mouadja02-sonos)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sonos
description: "Sonos control: search, queue, playlists, rooms/groups, volume, YouTube playback."
source: "https://github.com/steipete/agent-scripts"
attribution: "steipete/agent-scripts by Peter Steinberger"
version: "1.0.0"
platform: macos
---

# Sonos

> **Attribution:** Sourced from [steipete/agent-scripts](https://github.com/steipete/agent-scripts) by [Peter Steinberger](https://github.com/steipete).

Use for Sonos music, playback, queue, room/group, and YouTube workflows.

## When to Use

- Controlling Sonos speakers: play, pause, volume, queue management
- Discovering speakers on the local network via mDNS
- Managing Sonos room groups and playback state

## 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.

## Sonos API (HTTP)

Sonos exposes a local HTTP API at `http://<speaker-ip>:1400/`:

```bash
# Discover speakers
dns-sd -B _sonos._tcp local

# Get current state
curl -s http://<speaker-ip>:1400/state

# Play/pause
curl -s http://<speaker-ip>:1400/Play
curl -s http://<speaker-ip>:1400/Pause

# Volume
curl -s http://<speaker-ip>:1400/Volume  # get
curl -s "http://<speaker-ip>:1400/Volume?Volume=50"  # set

# Queue
curl -s http://<speaker-ip>:1400/Queue  # get queue
curl -s "http://<speaker-ip>:1400/Queue?detailed=1"  # with metadata
```

## Sonos CLI Tools

If a Sonos CLI tool is available in the current environment:

```bash
# Common operations
sonos play
sonos pause
sonos stop
sonos volume 50
sonos next
sonos previous
sonos queue
```

## Notes

- Speaker discovery uses mDNS (`_sonos._tcp`).
- Group operations require the coordinator's IP.
- Do not modify playback/groups without explicit user request.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…