sonoscli
하는 일
AI 에이전트가 sonos 명령으로 로컬 네트워크의 Sonos 스피커를 제어하도록 안내합니다. Sonos 스피커를 가지고 있고 채팅으로 음악을 관리하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓Sonos 스피커에서 음악을 재생, 일시 정지, 또는 정지하고 싶을 때.
- ✓특정 방의 볼륨을 바꿔야 할 때.
- ✓스피커를 묶거나 저장된 즐겨찾기를 재생하고 싶을 때.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/skills/sonoscli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“주방 스피커의 볼륨을 15로 설정하고, 제 Morning Mix 즐겨찾기를 재생해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 네트워크에서 Sonos 스피커를 찾고, 지정한 스피커에 재생, 볼륨, 그룹, 대기열 명령을 보냅니다. 선택 사항인 키가 설정되어 있으면 Sonos를 통해 Spotify를 검색할 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Sonos CLI
Use sonos to control Sonos speakers on the local network.
Quick start
sonos discoversonos 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. - If there is an error, check the troubleshooting section and offer advice if there is a decent match.
Troubleshooting
sonos discover - no route to host
- On error
Error: write udp4 0.0.0.0:64326->239.255.255.250:1900: sendto: no route to host (Command exited with code 1)- Note that the port number after
0.0.0.0:is ephemeral and will change and the netmask may not match exactly either - The
sendto: no route to hostshould stay consistent
- Note that the port number after
- Advise the user that in
direct(no Docker sandbox) mode on Mac OS that Settings -> Privacy & Security -> Local Network will need to be enabled for the top-level host parent process of the Gatewaynodeif running vialaunchdTerminalif running the gateway directly in the terminalVisual Studio Codeif running via terminal in VS Code
- An alternative option is to use
sandbox(docker container) with network access allowed for that sandbox
sonos discover - bind: operation not permitted
- On error
Error: listen udp4 0.0.0.0:0: bind: operation not permitted - Advise the user that they may be running via a Codex or other sandbox that does not permit network access (this can be replicated by running
sonos discoverwithin a Codex CLI session with sandbox enabled and not approving the escalation request)
자주 묻는 질문
스피커를 찾지 못하면 어떻게 하나요?
자동 탐색이 실패하면 스피커의 IP 주소를 직접 알려 줄 수 있습니다.
Mac에서 네트워크 설정이 중요한가요?
예. macOS에서는 게이트웨이를 실행하는 호스트 앱에 대해 로컬 네트워크 접근을 허용해야 합니다.
Spotify 키가 필요한가요?
선택 사항인 Spotify Web API 검색에만 필요하며, 이때 클라이언트 ID와 비밀 값이 필요합니다.
상세 정보
인기도
- GitHub 스타
- 394k
- 순위
- #81
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.