Command Palette

Search for a command to run...

Назад к скиллам
скилл № 27493

apple-music-dj

Ultimate personalization engine for Apple Music. Analyzes listening history, Apple Music Replay stats, library data, and taste patterns to create intelligent…

БесплатноЗапускает вложенные скрипты
modbenderот modbender★ 21 звезда на GitHub

Установить apple-music-dj в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Apple Music DJ 🎧

An intelligent Apple Music personalization engine for OpenClaw. Reads your listening history, Replay stats, ratings, and library to build a deep taste profile — then generates playlists using five strategies, surfaces insights about your listening, and writes everything directly to your Apple Music library. Also includes shareable Taste DNA Cards, compatibility scoring, catalog gap analysis, album deep dives, artist rabbit holes, daily song drops, concert prep playlists, and personalized new release radar.

Architecture

User Request
     │
     ▼
┌─────────────┐    ┌──────────────────────────────────────────────┐
│  Taste       │◄──│  Apple Music API (read)                      │
│  Profiler    │    │  · recently played    · library songs/artists│
│  (cached)    │    │  · heavy rotation     · ratings (loved/hated)│
│              │    │  · recommendations    · Replay summaries     │
└──────┬───────┘    └──────────────────────────────────────────────┘
       │
       ▼
┌─────────────┐    ┌──────────────────────────────────────────────┐
│  Strategy    │───▶│  Apple Music API (catalog)                   │
│  Engine      │    │  · search · charts · artist albums/top songs │
│              │    │  · genres · new releases                     │
└──────┬───────┘    └──────────────────────────────────────────────┘
       │
       ▼
┌─────────────┐    ┌──────────────────────────────────────────────┐
│  Playlist    │───▶│  Apple Music API (write)                     │
│  Builder     │    │  · POST /me/library/playlists                │
│              │    │  · POST /me/library/playlists/{id}/tracks     │
└─────────────┘    └──────────────────────────────────────────────┘

Prerequisites

Two environment variables must be set. If the user doesn't have them, walk them through references/auth-setup.md before doing anything else.

Variable Purpose
APPLE_MUSIC_DEV_TOKEN JWT signed with MusicKit private key (Apple Developer portal)
APPLE_MUSIC_USER_TOKEN Per-user authorization token (obtained via MusicKit JS authorize())

Verify with: scripts/apple_music_api.sh verify

Taste Profiling

Before generating any playlist, build (or load from cache) a taste profile.

Run: python3 scripts/taste_profiler.py [--cache ~/.apple-music-dj/taste_profile.json] [--max-age 0] [--storefront us]

Use --max-age 0 to force a refresh, bypassing any cached profile.

The profiler pulls from all available data sources:

Source Endpoint Signal
Loved/disliked songs GET /v1/me/ratings/songs ★★★★★ Explicit intent
Heavy rotation GET /v1/me/history/heavy-rotation ★★★★☆ Repeated engagement
Recently played GET /v1/me/recent/played/tracks ★★★★☆ Current mood
Replay summaries GET /v1/me/music-summaries ★★★★☆ Annual deep data
Library songs GET /v1/me/library/songs?include=catalog ★★★☆☆ Broad taste
Library artists GET /v1/me/library/artists ★★★☆☆ Artist affinity
Recommendations GET /v1/me/recommendations ★★☆☆☆ Apple's inference

Output: Taste DNA profile cached at ~/.apple-music-dj/taste_profile.json (7-day TTL by default).

The profile includes: top artists (weighted), genre distribution, era profile, energy classification, variety score, loved/disliked IDs, library song IDs, and Replay highlights.

Sparse Data Handling

If the user has limited history:

  1. Check Replay data — covers a full year even if recent history is short
  2. Lean on /me/recommendations
  3. Ask user to name 3–5 artists/songs they love as manual seeds
  4. Use catalog search with those seeds to bootstrap

Playlist Strategies

Five strategies. Read detailed algorithms in references/playlist-strategies.md.

Strategy 1: Deep Cuts Explorer

Triggers: "deep cuts", "hidden gems", "B-sides", "underrated", "album tracks" Find tracks from artists the user loves but hasn't heard yet. Excludes top songs, singles, and anything in library.

Strategy 2: Mood / Activity Matcher

Triggers: "workout", "chill", "focus", "party", "sleep", "cooking", "driving", "running", "morning", "sad", "study", "dinner" — any mood/activity word. Maps mood to musical attributes, filters through user's taste.

Strategy 3: Trend Radar

Triggers: "trending", "what's hot", "charts", "popular", "new releases" Current charts filtered through user's genre preferences. Includes wildcard picks.

Strategy 4: Constellation Discovery

Triggers: "surprise me", "something new", "expand my taste", "I'm bored", "discovery" Journey from familiar artists outward to new territory in 3 "rings" of distance.

Strategy 5: Playlist Refresh / Evolution

Triggers: "refresh my [playlist]", "update my [playlist]", "evolve", "getting stale" Analyzes existing playlist's sonic signature, adds fresh matching tracks, optionally pru

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • CHANGELOG.md
  • CONTRIBUTING.md
  • README.md
  • SECURITY.md
  • assets/icon.svg
  • clawhub.json
  • pyproject.toml
  • references/api-reference.md
  • references/auth-setup.md
  • references/playlist-strategies.md
  • references/troubleshooting.md
  • renovate.json
  • requirements.txt
  • scripts/_common.py
  • scripts/apple_music_api.sh
  • scripts/build_playlist.sh
  • scripts/catalog_explorer.py
  • scripts/compatibility.py
  • scripts/concert_prep.sh
  • scripts/daily_pick.py
  • scripts/generate_dev_token.py
  • scripts/listening_insights.py
  • scripts/new_releases.sh
  • scripts/playlist_health.py
  • scripts/playlist_history.py
  • scripts/setup_cron.py
  • scripts/strategy_engine.py
  • scripts/taste_card.py
  • scripts/taste_profiler.py
  • scripts/verify_setup.sh

FAQ

Что делает скилл apple-music-dj?

Ultimate personalization engine for Apple Music. Analyzes listening history, Apple Music Replay stats, library data, and taste patterns to create intelligent playlists directly in the user's Apple Music library via the MusicKit API. Supports deep cuts discovery, mood/activity playlists, trend scouting, constellation discovery ("surprise me"), playlist refresh/evolution, automated weekly curation via cron, taste DNA cards, compatibility scoring, listening insights, catalog gap analysis, album deep dives, artist rabbit holes, daily song drops, concert prep, and personalized new release radar. Use this skill whenever the user mentions Apple Music, playlists, music recommendations, listening habits, music taste, "what should I listen to", discovering new music, mood playlists, workout playlists, deep cuts, hidden gems, trending music, "surprise me", refreshing a playlist, or anything related to curating their music experience. Also trigger on: "DJ", "mix", "playlist for", "music for", "songs like", "similar to", "what's hot", "new releases for me", "taste DNA", "taste card", "compatibility", "how compatible", "year in review", "listening stats", "what have I missed", "album deep dive", "rabbit hole", "concert prep", "seeing [artist] live", "daily song", "what should I listen to right now", or OpenClaw in the context of music.

Как установить скилл apple-music-dj?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл apple-music-dj запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить apple-music-dj с