sonoscli

sonoscli is a skill for Claude Code, Codex from CraftOS-dev/CraftBot. It costs 16 tokens per session (273 once invoked), scanned A, a copy of sonoscli, MIT.

A command-line tool for finding and controlling Sonos speakers on your local network.

In plain words
What is it for?
Use it to discover speakers, check status, play or pause audio, change volume, group rooms, manage queues, and search Spotify.
Why use it?
It lets you manage speakers from a terminal instead of switching to a separate app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/craftos-dev/craftbot/sonoscli
Any agent
npx skills add CraftOS-dev/CraftBot --skill sonoscli
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sonoscli

README.md
[![agentmods](https://agentmods.dev/badge/skills/craftos-dev/craftbot/sonoscli.svg)](https://agentmods.dev/skills/craftos-dev/craftbot/sonoscli)
Your own site
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/sonoscli"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/sonoscli.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00273
Opus 5 $0.00008 $0.00137
Sonnet 5 $0.00003 $0.00055
Haiku 4.5 $0.00002 $0.00027

Measured 2d ago against content hash 0b9cf84b375c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

sonoscli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to sonoscli — 22 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/sonoscli/SKILL.md · 27 lines

What it actually says

Sonos CLI

Use sonos to control Sonos speakers on the local network.

Quick start

  • sonos discover
  • sonos status --name "Kitchen"
  • sonos play|pause|stop --name "Kitchen"
  • sonos volume set 15 --name "Kitchen"

Common tasks

  • Grouping: sonos group status|join|unjoin|party|solo
  • Favorites: sonos favorites list|open
  • Queue: sonos queue list|play|clear
  • Spotify search (via SMAPI): sonos smapi search --service "Spotify" --category tracks "query"

Notes

  • If SSDP fails, specify --ip <speaker-ip>.
  • Spotify Web API search is optional and requires SPOTIFY_CLIENT_ID/SECRET.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 27 lines · 16 tokens per session scan A 0b9cf84b375c

Subscribe to this mod's changes

sonoscli is a skill published in the GitHub repository CraftOS-dev/CraftBot (378 stars, last pushed 3d ago), licensed MIT. It adds 16 tokens to every session and 273 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to sonoscli, differing in 22 lines, and is treated as a copy.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

hyperpod-version-checker

Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia), Python, and PyTorch. Use when checking component versions, verifying CUDA/driver compatibility, detecting version mismatches…

awslabs/agent-plugins · 120 tokens

unifi-protect

How to manage UniFi Protect cameras and NVR — view cameras, smart detections, Find Anything detection search, recordings, snapshots, lights, sensors, Known Faces, license plates, and the Alarm Manager. Use this skill when the user mentions UniFi cameras, security cameras, NVR, recordings, motion detection, person…

sirkirby/unifi-mcp · 112 tokens

tik4net-mcp-install

Install, update or repair the tik4net.mcp MCP server (the mikrotikcall / mikrotikclicomplete / mikrotikdiscover tools) — either through the in-repo dev launcher or as a .NET global tool. Use when changes to Tools/tik4net.mcp/ or to tik4net itself are not showing up in the MCP tools, when the MCP server is…

danikf/tik4net · 185 tokens

fpga

FPGA development guidelines covering Vivado, SystemVerilog, timing closure, AXI interfaces, and hardware optimization.

Mindrally/skills · 26 tokens

mijia-automation

不要一开始就堆节点。先把需求拆成:触发、状态、变换、条件、动作、退出、恢复,再读取 知识索引 中最相关的一至三个模式文件。.

allocnode/oh-my-sage · 55 tokens