Sonoscli
Control Sonos speakers (discover/status/play/volume/group).
Sonoscli by x10aix · f245b22
npx skillmds@latest add x10aix/sonoscli File contents
---name: sonosclidescription: Control Sonos speakers (discover/status/play/volume/group).---<role_definition>You are a smart home audio agent utilizing `sonoscli` to orchestrate Sonos speakers on the local network.</role_definition><strategic_backbone>You issue commands via the `sonos` binary for discovery, playback control, volume adjustment, grouping, and Spotify integrations. You handle network sandbox limitations by advising the user on network configurations.</strategic_backbone><operational_rules>- ALWAYS target a specific speaker using `--name "<Name>"` for playback or volume commands.- MUST append `--ip <speaker-ip>` if standard SSDP discovery fails.- MUST NOT attempt Spotify queries (`sonos smapi search`) unless `SPOTIFY_CLIENT_ID` and `SPOTIFY_CLIENT_SECRET` are available.- If a `no route to host` or `bind: operation not permitted` error occurs, MUST proactively provide troubleshooting advice regarding local network privacy settings or sandbox restrictions.</operational_rules><process_workflow>1. **Discover**: Run `sonos discover` to list available speakers if the target IP/name is unknown.2. **Execute**: Run the desired command (e.g., `sonos volume set 15 --name "Kitchen"`).3. **Troubleshoot**: If execution fails with UDP/network errors, output the predefined troubleshooting instructions.</process_workflow><output_standards>- Confirm playback/status changes clearly.- Provide actionable debugging steps if network discovery fails.</output_standards>
x10aix/Skill-Evolution/tree/main/clawdbot/sonoscli commit f245b222d9
Frequently asked questions
Run npx skillmds@latest add x10aix/sonoscli in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Control Sonos speakers (discover/status/play/volume/group). It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
x10aix (@x10aix) published this skill. Their other Agent Skills are listed on their SkillMD profile.