Community生產力與協作github.com

steipete/sonos

Sonos 控制:搜尋、佇列、播放清單、房間/群組、音量、YouTube。

sonos 是什麼?

此技能專為與 Sonos 音響系統互動而設計,提供從搜尋音樂、管理播放佇列到控制房間/群組與音量的完整功能。支援透過本地工具或 API 操作 Sonos 播放器,並可處理 YouTube 音訊來源,以串流方式播放而非直接下載。技能強調最小干預原則,僅在使用者明確要求時才會變更播放狀態或群組設定,並會自動確認目標房間以避免混淆。其運作流程包括探索當前儲存庫中的可用命令、識別目標(如房間、服務或查詢內容)、讀取當前狀態、執行操作並驗證結果,以確保準確性與非破壞性互動。支援的平台包括任何可執行 Sonos 相關 CLI 或腳本的開發環境,如 Claude Code、Cursor 或 Codex,且依賴於本地化的 Sonos 工具鏈與環境變數進行身分驗證。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/steipete/agent-scripts/tree/main/skills/sonos

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

sonos 是做什麼的?

用於 Sonos 音樂、播放、佇列、房間/群組和 YouTube 工作流程。

規則

  • 在發明 shell/API 呼叫之前,優先使用當前儲存庫中已有的本地 Sonos 工具。
  • 除非使用者要求,否則不要變更喇叭群組、佇列或播放狀態。
  • 當目標房間/群組不明確時,請先確認。
  • 對於 YouTube,優先使用可播放的音訊 URL 或儲存庫中已有的本地提取工作流程;除非要求,否則避免下載。
  • 除非使用者明確要求診斷,否則將網路/除錯工作排除在範圍之外。
  • 機密、服務令牌和帳號認證:先檢查環境變數/設定檔;僅透過儲存庫/AGENTS 規則使用 op。

工作流程

  1. 探索儲存庫命令:
    • rg --files
    • 套件腳本或 CLI 說明
  2. 識別目標:
    • 房間/群組
    • 服務/來源
    • 查詢、URL、播放清單、專輯、藝人或曲目
  3. 在需要時預先讀取當前狀態:
    • 房間/群組
    • 現在播放
    • 佇列
  4. 執行要求的播放動作。
  5. 再次讀取當前狀態以進行驗證。

常見任務

  • 按曲目、專輯、藝人、播放清單或電台搜尋並播放音樂。
  • 新增或取代佇列。
  • 暫停、恢復、跳過、搜尋、隨機播放、重複。
  • 設定房間/群組的音量或靜音。
  • 在房間之間移動/群組播放。
  • 當本地工具支援時,透過 Sonos 播放 YouTube 音訊/音樂。

YouTube 注意事項

  • 先將 YouTube URL 視為媒體來源,而非下載請求。
  • 如果需要轉換/提取,優先使用儲存庫已使用的本地工具鏈。
  • 當 Sonos/服務支援阻擋直接播放時,清楚說明限制條件。

Individual skills in this repo

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

steipete/agent-transcript

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

steipete/beeper

Beeper cache: contact hints, room lookup, WhatsApp/iMessage traces, FTS.

steipete/browser-use

Existing Chrome automation: Chrome plugin first, mcporter fallback.

steipete/clawsweeper-status

ClawSweeper status: URLs, workflow health, active workers, ops snapshot.

steipete/clickclack

ClickClack ops: chat app, Hetzner deploy, DNS/docs/app, Docker rollout.

steipete/cloudflare-registrar

Cloudflare Registrar: domain availability, prices, registration via mcporter.

steipete/codex-debugging

Codex debugging: codex-rs core/tui/exec/cli/app-server/config.

steipete/create-cli

CLI UX/spec: args, flags, help, output, errors, config, dry-run.

steipete/discord-clawd

Discord-backed OpenClaw agent/session relay; not archive search.

steipete/domain-dns-ops

DNS/domain ops: registrars, zones, redirects, DNS/HTTP verify, manager truth.

steipete/frontend-design

Frontend UI: pages, apps, components, polished non-generic design.

steipete/github-author-context

GitHub contributor context: identity, activity, trust, company/team signal.

steipete/github-cache-hygiene

GitHub quota/cache hygiene: gh, ghx, xcache, gitcrawl, mirrors, limits.

steipete/github-deep-review

GitHub deep review: bugs, PRs, best fix, stale-or-real, read code first.

steipete/github-project-triage

GitHub issue/PR triage: queues, CI, blockers, risk, proof, next actions.

steipete/hopper-debugger

Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.

steipete/instruments-profiling

Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.

steipete/mac-maintenance

Mac upkeep: brew update/upgrade, pull clean repos, empty Trash.

steipete/maintainer-orchestrator

Open-source maintainer orchestration: Codex app workers, work recovery, dependencies, vision, releases.

steipete/markdown-converter

Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.

相關技能