Communityコーディング&開発github.com

sonoscli

ローカルネットワーク上のSonosスピーカーを制御します(検出、ステータス確認、再生、ボリューム調整、グループ化など)。

sonoscli とは?

これは、CLIからSonosマルチルームオーディオシステムを操作するためのスキルです。スピーカーの検出、再生/一時停止/停止、ボリューム調整、グループ化、お気に入りの再生、キュー管理、Spotify検索(SMAPI経由)など、日常的な操作をコマンドラインで実行できます。macOSの直接モードでは、ネットワークアクセス許可(プライバシー設定)が必要な場合があります。また、Dockerサンドボックス環境では明示的なネットワーク許可が必要です。エラーが発生した際には、トラブルシューティングガイドが役立ちます。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/sonoscli

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Sonos CLI

sonos を使用して、ローカルネットワーク上のSonosスピーカーを制御します。

クイックスタート

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

一般的なタスク

  • グループ化: sonos group status|join|unjoin|party|solo
  • お気に入り: sonos favorites list|open
  • キュー: sonos queue list|play|clear
  • Spotify検索(SMAPI経由): sonos smapi search --service "Spotify" --category tracks "query"

注意事項

  • SSDPが失敗する場合は、--ip <speaker-ip> を指定してください。
  • Spotify Web API検索はオプションであり、SPOTIFY_CLIENT_ID/SECRET が必要です。
  • エラーが発生した場合は、トラブルシューティングセクションを確認し、適切な一致がある場合はアドバイスを提供してください。

トラブルシューティング

sonos discover - no route to host

  • エラー Error: write udp4 0.0.0.0:64326->239.255.255.250:1900: sendto: no route to host (Command exited with code 1) の場合
    • 0.0.0.0: の後のポート番号は一時的であり、変更されることに注意してください。また、ネットマスクも正確に一致しない場合があります。
    • sendto: no route to host は一貫して表示されるはずです。
  • ユーザーに、Mac OSの direct(Dockerサンドボックスなし)モードでは、システム設定 > プライバシーとセキュリティ > ローカルネットワークで、Gatewayの最上位ホスト親プロセスに対してローカルネットワークアクセスを有効にする必要があることをアドバイスしてください。
    • launchd 経由で実行している場合は node
    • ターミナルで直接Gatewayを実行している場合は Terminal
    • VS Codeのターミナルで実行している場合は Visual Studio Code
  • 別の方法として、そのサンドボックスに対してネットワークアクセスを許可した sandbox(Dockerコンテナ)を使用することもできます。

sonos discover - bind: operation not permitted

  • エラー Error: listen udp4 0.0.0.0:0: bind: operation not permitted の場合
  • ユーザーに、ネットワークアクセスを許可していないCodexやその他のサンドボックスを介して実行している可能性があることをアドバイスしてください(これは、サンドボックスを有効にしたCodex CLIセッション内で sonos discover を実行し、エスカレーション要求を承認しないことで再現できます)。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

関連スキル