apple-music

Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

533 stars

Best use case

apple-music is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

Teams using apple-music should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/apple-music/SKILL.md --create-dirs "https://raw.githubusercontent.com/sundial-org/awesome-openclaw-skills/main/skills/apple-music/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/apple-music/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How apple-music Compares

Feature / Agentapple-musicStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Search Apple Music, add songs to library, manage playlists, control playback and AirPlay.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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:**
```bash
./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)

Related Skills

elevenlabs-music

533
from sundial-org/awesome-openclaw-skills

Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descriptions. Supports vocals with AI-generated lyrics, instrumental tracks, and multiple genres/styles. Requires paid ElevenLabs plan.

apple-reminders

533
from sundial-org/awesome-openclaw-skills

Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

apple-remind-me

533
from sundial-org/awesome-openclaw-skills

Natural language reminders that create actual Apple Reminders.app entries (macOS-native)

apple-photos

533
from sundial-org/awesome-openclaw-skills

Apple Photos.app integration for macOS. List albums, browse photos, search by date/person/content, export photos.

apple-notes

533
from sundial-org/awesome-openclaw-skills

Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks Clawdbot to add a note, list notes, search notes, or manage note folders.

apple-music-2

533
from sundial-org/awesome-openclaw-skills

Apple Music integration via AppleScript (macOS) or MusicKit API

apple-media

533
from sundial-org/awesome-openclaw-skills

Control Apple TV, HomePod, and AirPlay devices via pyatv (scan, stream, playback, volume, navigation).

apple-mail

533
from sundial-org/awesome-openclaw-skills

Apple Mail.app integration for macOS. Read inbox, search emails, send emails, reply, and manage messages with fast direct access (no enumeration).

apple-mail-search

533
from sundial-org/awesome-openclaw-skills

Fast & safe Apple Mail search with body content support.

apple-mail-search-2

533
from sundial-org/awesome-openclaw-skills

Fast Apple Mail search via SQLite on macOS. Search emails by subject, sender, date, attachments - results in ~50ms vs 8+ minutes with AppleScript. Use when asked to find, search, or list emails.

apple-docs

533
from sundial-org/awesome-openclaw-skills

Query Apple Developer Documentation, APIs, and WWDC videos (2014-2025). Search SwiftUI, UIKit, Objective-C, Swift frameworks and watch sessions.

apple-docs-mcp

533
from sundial-org/awesome-openclaw-skills

No description provided.