🤖
Spotify
Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
安全通过
💬Prompt
技能说明
name: spotify description: Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume. metadata: {"clawdbot":{"emoji":"🎵","requires":{"bins":["spotify"],"os":"darwin"},"install":[{"id":"brew","kind":"brew","packages":["shpotify"],"bins":["spotify"],"label":"Install spotify CLI (brew)"}]}}
Spotify CLI
Control Spotify on macOS. No API key required.
Commands
spotify play # Resume
spotify pause # Pause/toggle
spotify next # Next track
spotify prev # Previous track
spotify stop # Stop
spotify vol up # +10%
spotify vol down # -10%
spotify vol 50 # Set to 50%
spotify status # Current track info
Play by Name
- Search web for Spotify URL:
"Daft Punk" site:open.spotify.com - Get ID from URL:
open.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi→ ID is4tZwfgrHOc3mvqYlEYSvVi - Play with AppleScript:
# Artist
osascript -e 'tell application "Spotify" to play track "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi"'
# Album
osascript -e 'tell application "Spotify" to play track "spotify:album:4m2880jivSbbyEGAKfITCa"'
# Track
osascript -e 'tell application "Spotify" to play track "spotify:track:2KHRENHQzTIQ001nlP9Gdc"'
Notes
- macOS only - uses AppleScript
- Spotify desktop app must be running
- Works with Sonos via Spotify Connect
如何使用「Spotify」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Spotify」技能完成任务
- 结果即时呈现,支持继续对话优化