Community生产力与协作github.com

steipete/sonos

Sonos 控制:搜索、队列、播放列表、房间/分组、音量、YouTube。

sonos 是什么?

此技能用于通过命令行界面控制 Sonos 音响系统。它能够搜索音乐、管理播放队列、操作播放列表、调整房间或分组的音量,以及处理 YouTube 音频播放。该技能特别强调使用本地存在的 Sonos 工具,避免不必要的 Shell 或 API 调用。执行任何操作(如更改分组、队列或播放状态)前,需确认用户明确要求。对于 YouTube 内容,会优先尝试使用可播放的音频 URL 或本地已有的提取工作流,而不是直接下载。该技能支持多房间控制、音量调节、播放/暂停、跳过、随机播放等常见功能,并能在操作前后读取系统状态以确认结果。主要运行在支持 CLI 工具的开发环境中。

兼容平台~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.

相关技能