clawtunes
由 forketyfork 提供
Media & Streaming简介
Control Apple Music on macOS via the `clawtunes` CLI.
描述
该技能的功能
Controls Apple Music on macOS through the `clawtunes` CLI. Supports playback, volume, shuffle, repeat, search, playlist management, AirPlay device switching, and Apple Music catalog browsing. macOS-only, communicates with the Apple Music app via AppleScript.
Lets agents control Apple Music programmatically without GUI interaction, enabling music control as part of automated workflows.
何时使用
- Play a specific album while working
- Skip to the next track without leaving the terminal
- Create a playlist and add songs to it
- Switch audio output to an AirPlay speaker
- Search your library for a song by partial name
示例工作流
User asks: 'Play the album Kind of Blue and set volume to 60'
- 1
Run
clawtunes -N play album "Kind of Blue"to start the album - 2
Check exit code; if multiple matches, retry with
--firstflag - 3
Run
clawtunes volume 60to set volume - 4
Run
clawtunes statusto confirm what is now playing
Apple Music plays Kind of Blue at volume 60, status confirms the current track
前置要求
- clawtunes installed via Homebrew (`brew install forketyfork/tap/clawtunes`)
- Apple Music app on macOS
- macOS Automation permission granted for clawtunes in System Settings > Privacy & Security > Automation
安装
clawhub install forketyfork/clawtunes运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。