Apple Music Play

v2.0.0

Play Apple Music songs on macOS using clawtunes with keyboard navigation to stream catalog tracks via the Music app and local library.

1· 129·0 current·0 all-time
byS K Aravind@skaravind

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for skaravind/apple-music-play.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Apple Music Play" (skaravind/apple-music-play) from ClawHub.
Skill page: https://clawhub.ai/skaravind/apple-music-play
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install apple-music-play

ClawHub CLI

Package manager switcher

npx clawhub@latest install apple-music-play
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Apple Music playback via clawtunes and UI automation) align with what the files do: use clawtunes for library/catalog actions, call the iTunes Search API, open music:// URLs, and drive Music via osascript/System Events.
Instruction Scope
SKILL.md explicitly instructs use of clawtunes, python3, osascript, and open and documents Accessibility/Automation permission. The runtime scripts do UI automation (send keystrokes) and call the Apple iTunes Search endpoint — these are within the claimed scope but require macOS Accessibility permission and can mis-target input if the UI focus changes.
Install Mechanism
No install spec; this is instruction-only with included scripts. Nothing downloads or extracts remote archives or installs third-party packages during install, so install risk is low.
Credentials
The skill requests no environment variables or credentials. It does need local tools (clawtunes, python3, osascript, open) and macOS Accessibility/Automation permission — these are proportional to its UI-automation purpose.
Persistence & Privilege
always is false, and the skill does not claim to modify other skills or global agent settings. Autonomous invocation is allowed by default but not coupled with elevated privileges or broad credential access.
Assessment
This skill appears to do what it says: it uses clawtunes, the Apple iTunes Search API, opens music:// URLs, and automates the Music app with osascript/System Events. Before installing, ensure you: (1) trust the source of the skill and the clawtunes binary (this code executes local commands), (2) are comfortable granting macOS Accessibility/Automation permission (this allows sending keystrokes to the Music app and could interact with other UI if focus changes), (3) verify network access to itunes.apple.com is acceptable (the scripts query the iTunes Search API), and (4) review the included scripts locally (they are small, readable Python scripts) if you have concerns. If you do not trust the repository owner or clawtunes, don’t grant Accessibility permissions or install/run the scripts.

Like a lobster shell, security has layers — review code before you run it.

latestvk9705d6y1y57jhyq2p9g8axbd1848aqs
129downloads
1stars
1versions
Updated 3w ago
v2.0.0
MIT-0

Clawtunes Play

Use clawtunes as the first choice for Apple Music control on this Mac.

Workflow

  1. For library items, try direct playback first.
  2. For songs likely not in the library, search the Apple Music catalog and open the selected result in Music.
  3. 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
  4. Check whether playback actually changed to the requested song.
  5. If playback did not switch, say so plainly.

Commands

  • Direct library-style play:
    • clawtunes_play --song "<song>"
  • Catalog play wrapper:
    • catalog_play "<query>"
  • Status only:
    • clawtunes_play --status
  • Experimental step-by-step catalog workflow:
    • catalog_play_experiment "<query>" --index 1 --strategy tab-tab-enter

Requirements

This skill assumes these local tools are available on macOS:

  • clawtunes
  • python3
  • osascript
  • open

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 song targets library playback.
  • clawtunes catalog search opens 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.

Comments

Loading comments...