Clawtunes Play
/install clawtunes-play
Clawtunes Play
Use clawtunes as the first choice for Apple Music control on this Mac.
Workflow
- For library items, try direct playback first.
- For songs likely not in the library, search the Apple Music catalog and open the selected result in Music.
- For catalog playback, prefer the wrapper script that tries the best-known keyboard sequence automatically:
Tab+Tab+Enter- fallback:
Tab+Enter - fallback:
Shift-Tab+Enter
- Check whether playback actually changed to the requested song.
- If playback did not switch, say so plainly.
Commands
- Direct library-style play:
clawtunes_play --song "\x3Csong>"
- Catalog play wrapper:
catalog_play "\x3Cquery>"
- Status only:
clawtunes_play --status
- Experimental step-by-step catalog workflow:
catalog_play_experiment "\x3Cquery>" --index 1 --strategy tab-tab-enter
Requirements
This skill assumes these local tools are available on macOS:
clawtunespython3osascriptopen
It also needs macOS Accessibility / Automation permission so System Events can send keyboard input to Music.
Install / Use
- Keep repo in
skills/clawtunes-play - Commands:
clawtunes_play,catalog_play,catalog_play_experiment - For catalog playback, use the wrapper script in
scripts/catalog_play_wrapper.sh
Notes
clawtunes play songtargets library playback.clawtunes catalog searchopens the streaming result in Music, but Music may not autoplay unless the UI focus lands correctly.- The current best-known workaround is keyboard navigation after opening the result.
- This is macOS UI-state dependent; it is usable, but not a guaranteed Apple primitive.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install clawtunes-play - After installation, invoke the skill by name or use
/clawtunes-play - Provide required inputs per the skill's parameter spec and get structured output
What is Clawtunes Play?
Play Apple Music songs on macOS using clawtunes, including streaming catalog tracks via a practical keyboard-navigation workaround after opening the song in... It is an AI Agent Skill for Claude Code / OpenClaw, with 84 downloads so far.
How do I install Clawtunes Play?
Run "/install clawtunes-play" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Clawtunes Play free?
Yes, Clawtunes Play is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Clawtunes Play support?
Clawtunes Play is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Clawtunes Play?
It is built and maintained by S K Aravind (@skaravind); the current version is v1.0.3.