Apple Music Play
/install apple-music-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 apple-music-play - After installation, invoke the skill by name or use
/apple-music-play - Provide required inputs per the skill's parameter spec and get structured output
What is Apple Music Play?
Play Apple Music songs on macOS using clawtunes with keyboard navigation to stream catalog tracks via the Music app and local library. It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.
How do I install Apple Music Play?
Run "/install apple-music-play" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Apple Music Play free?
Yes, Apple Music Play is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Apple Music Play support?
Apple Music Play is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Apple Music Play?
It is built and maintained by S K Aravind (@skaravind); the current version is v2.0.0.