Command Palette

Search for a command to run...

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

Apple Music DJ

Your AI Apple Music curator. Moving from Spotify? Import playlists into Apple Music. Builds playlists from your real listening history, finds songs like any…

БесплатноЗапускает вложенные скрипты
and3rn3tот and3rn3t1 884 установки в других каталогах

Установить Apple Music DJ в Claude Code и Claude Desktop

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

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

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

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

Apple Music DJ 🎧

An Apple Music personalization engine for OpenClaw: a taste profile from the user's real listening, nine playlist strategies, insights and shareable cards, created in their own library on request.

At a glance

What it does: reads your Apple Music listening (recently played, heavy rotation, library, ratings, Replay), builds a taste profile, and turns it into playlists and insights.

Try saying

You say You get
"Analyze my taste" A Taste DNA profile and a shareable card
"Songs like Phoebe Bridgers" A playlist of similar artists, filtered through your taste
"Make me a 90s throwback" A decade playlist built from your own artists
"Blend my taste with my sister's" One playlist for two listeners
"Give me my taste code" A short code a friend can blend with, no files to swap
"How has my taste changed since spring?" A drift report from your saved snapshots
"Import this Spotify playlist" A matched Apple Music playlist (preview first)
"I didn't like track 7" Rated down and kept out of future playlists

What it needs: for your own music, an Apple Developer account (for a MusicKit token) and an Apple Music subscription. The skill loads without tokens so it can offer the demo first. {baseDir}/scripts/setup_auth.py gets both tokens in one step (sign in with Apple in the browser). Tokens live in environment variables.

No account yet? python3 {baseDir}/scripts/demo.py tour runs the real scripts against a fictional listener and a local sample catalog — no tokens, nothing sent to Apple, nothing written to an account.

Safety: read-only by default. Creating playlists, favoriting, rating, adding albums and scheduling cron jobs are opt-in and confirmed first (the scripts preview by default and write only with an explicit --create / --yes / --apply / --confirm). Editing an existing playlist can remove tracks (playlist_health.py fix --apply removes duplicate copies and adds a replacement for each unavailable track (it leaves the unavailable entry in place); build_playlist.sh refresh|remove add or remove tracks) — show the exact changes and get a yes first. Scheduled jobs run unattended once installed, so installing one needs a reviewed --confirm digest. Local data is owner-only (~/.apple-music-dj/). See SECURITY.md.

Architecture

A request flows taste profiler (reads listening, cached) → strategy engine (catalog lookups, scoring, sequencing) → playlist builder (writes only when confirmed). Diagram: references/architecture.md.

Prerequisites

Two environment variables are needed for anything that reads or changes the user's Apple Music: APPLE_MUSIC_DEV_TOKEN and APPLE_MUSIC_USER_TOKEN. They are declared as optional (envVars, required: false) rather than in requires.env, so OpenClaw still loads this skill for someone who hasn't set them up yet; this section is how you handle that. Every script that talks to Apple checks for them at run time and stops with a pointer to setup_auth.py. If they're missing:

  1. Offer the demo first so the user sees what they'd get: run python3 {baseDir}/scripts/demo.py tour and show the output. It needs no tokens, uses a fictional listener and a local sample catalog, and never touches an account. Say clearly that the demo results aren't theirs. Any other request can be shown in demo mode too: python3 {baseDir}/scripts/demo.py run <script> [args], with DEMO_PROFILE standing in for the profile path (e.g. demo.py run strategy_engine.py --strategy mood --mood focus --profile DEMO_PROFILE). Never present a demo playlist as created in their library.
  2. Then set up real tokens: ask the user to run python3 {baseDir}/scripts/setup_auth.py in their own terminal. It signs the developer token from their MusicKit key, opens a local page where they sign in with Apple, and prints the export lines (or --env-file PATH writes them to an owner-only file). Don't run it yourself or ask them to paste tokens into the chat. Full manual steps: references/auth-setup.md.
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: {baseDir}/scripts/apple_music_api.sh verify (or the fuller {baseDir}/scripts/verify_setup.sh). python3 {baseDir}/scripts/setup_auth.py status shows how long each token has left; the profiler and verify_setup.sh warn when the developer token is within 14 days of expiry or the user token is nearing the ~6 months these usually last.

Taste Profiling

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

Run: python3 {baseDir}/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

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

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

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

  1. 01Bash(scripts/*.sh:*)
  2. 02Bash(python3 scripts/*.py:*)
  3. 03Read
  4. 04Write

FAQ

Что делает скилл Apple Music DJ?

Your AI Apple Music curator. Moving from Spotify? Import playlists into Apple Music. Builds playlists from your real listening history, finds songs like any artist or song, makes decade throwbacks and two-person blends, and shows how your taste changes over time. Changes to your account are opt-in and confirmed first; a built-in demo needs no tokens. Also: mood, workout and deep cuts playlists, trending picks, taste card, compatibility, year in review, catalog gaps, album deep dive, rabbit hole, concert prep, new release radar, playlist health checks (finds duplicates; removes them only after you say yes), weekly cron curation. Use only for music requests: Apple Music, playlists, music recommendations, listening stats, "what should I listen to", "songs like <artist>", "more music like <artist>", "taste DNA", "what have I missed in music", "daily song", "throwback playlist", "taste drift", "import my playlist", "I didn't like track", "add the missing albums", "my taste code", DJ, or OpenClaw with music.

Как установить скилл Apple Music DJ?

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

Скилл Apple Music DJ запускает скрипты?

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

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

Сравнить Apple Music DJ с