skills$openclaw/apple-music
tyler62042.8k

by tyler6204

apple-music – OpenClaw Skill

apple-music is an OpenClaw Skills integration for coding workflows. Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

2.8k stars2.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameapple-music
descriptionSearch Apple Music, add songs to library, manage playlists, control playback and AirPlay. OpenClaw Skills integration.
ownertyler6204
repositorytyler6204/apple-music
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @tyler6204/apple-music
last updatedFeb 7, 2026

Maintainer

tyler6204

tyler6204

Maintains apple-music in the OpenClaw Skills directory.

View GitHub profile
File Explorer
8 files
.
lib
generate-token.js
3.4 KB
_meta.json
455 B
apple-music.sh
34.9 KB
auth.html
9.7 KB
launch-setup.sh
259 B
setup.sh
4.5 KB
SKILL.md
1.7 KB
SKILL.md

name: apple-music description: Search Apple Music, add songs to library, manage playlists, control playback and AirPlay. metadata: {"clawdbot":{"emoji":"🎵","os":["darwin"],"requires":{"bins":["node","curl"]}}}

Apple Music

Control Apple Music via MusicKit API and AppleScript. Path: ~/.clawdbot/skills/apple-music/

Local (No Setup)

Playback: ./apple-music.sh player [now|play|pause|toggle|next|prev|shuffle|repeat|volume N|song "name"]
AirPlay: ./apple-music.sh airplay [list|select N|add N|remove N]

API (Setup Required)

Requires Apple Developer account ($99/yr) + MusicKit key.

Setup

Portal steps first:

  1. developer.apple.com → Keys → Create MusicKit key → Download .p8
  2. Note your Key ID and Team ID

Then run setup:

./launch-setup.sh  # Opens Terminal for interactive setup

The launcher opens Terminal.app and runs the setup script there. Enter your .p8 path, Key ID, Team ID, then authorize in browser and paste the token.

⚠️ Agents: Always use ./launch-setup.sh to open Terminal. Don't run setup.sh through chat (requires interactive input).

Commands

  • search "query" [--type songs|albums|artists] [--limit N]
  • library add <song-id>
  • playlists [list|create "Name"|add <playlist-id> <song-id>]

Config

config.json stores tokens (valid ~6 months). Re-run ./setup.sh if auth fails.

Errors

  • 401: Token expired, re-run setup
  • 403: Check Apple Music subscription
  • 404: Invalid ID or region-locked

Setup Issues

  • 404 on auth page: Setup script auto-fixes with HTTP server verification
  • No token in browser: Restart setup.sh
  • Browser won't open: Manually open printed URL (Chrome recommended)
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

Configuration

`config.json` stores tokens (valid ~6 months). Re-run `./setup.sh` if auth fails.

FAQ

How do I install apple-music?

Run openclaw add @tyler6204/apple-music in your terminal. This installs apple-music into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/tyler6204/apple-music. Review commits and README documentation before installing.