跳到正文
Skillpedia
其他7.4k · #13246

sonos

它能做什么

这个技能使用你项目中已有的本地工具控制 Sonos 音箱,进行音乐播放。适合希望通过 AI 来控制 Sonos 系统的人。

适用场景

  • ✓你想在 Sonos 的某个房间或分组中播放音乐的时候。
  • ✓你想更改播放队列、音量或当前播放内容的时候。
  • ✓你想把播放从一个房间转移到另一个房间的时候。

技能链接

https://github.com/steipete/agent-scripts/blob/main/skills/sonos/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/steipete/agent-scripts/blob/main/skills/sonos/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在厨房的 Sonos 音箱上播放我的爵士歌单,并把音量调到舒适的程度。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会先读取当前状态,例如房间和正在播放的内容,然后进行所需的更改,并再次检查状态。如果请求不明确,它会询问你使用哪个房间。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Sonos

Use for Sonos music, playback, queue, room/group, and YouTube workflows.

Rules

  • Prefer existing local Sonos tooling in the current repo before inventing shell/API calls.
  • Do not change speaker groups, queues, or playback unless the user asks for it.
  • Confirm target room/group when ambiguous.
  • For YouTube, prefer a playable audio URL or local extraction workflow already present in the repo; avoid downloading unless requested.
  • Keep network/debug work out of scope unless the user explicitly asks for diagnostics.
  • Secrets, service tokens, and account auth: check env/profile first; use op only via the repo/AGENTS rules.

Workflow

  1. Discover repo commands:
    • rg --files
    • package scripts or CLI help
  2. Identify target:
    • room/group
    • service/source
    • query, URL, playlist, album, artist, or track
  3. Dry-read current state when useful:
    • rooms/groups
    • now playing
    • queue
  4. Execute the requested playback action.
  5. Verify by reading current state again.

Common Tasks

  • Search and play music by track, album, artist, playlist, or station.
  • Add or replace the queue.
  • Pause, resume, skip, seek, shuffle, repeat.
  • Set volume or mute for a room/group.
  • Move/group playback between rooms.
  • Play YouTube audio/music through Sonos when supported by local tooling.

YouTube Notes

  • Treat YouTube URLs as media sources first, not as download requests.
  • If conversion/extraction is needed, prefer the local toolchain already used by the repo.
  • State constraints clearly when Sonos/service support blocks direct playback.
常见问题

它会自行更改我的音箱分组吗?

不会。技能规定,除非你要求,否则不更改分组、队列或播放。

YouTube 链接怎么办?

它优先使用本地工具已支持的可播放音频源,除非你要求,否则避免下载。

它会检查更改是否生效吗?

会。做出更改后,它会重新读取当前状态。

详情

作者的原始描述

Sonos control: search, queue, playlists, rooms/groups, volume, YouTube.

repo: steipete/agent-scripts

热度

GitHub 星标
7.4k
排名
#13246
许可证
MIT
更新时间
2026/10/30

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能