transfer-playlist-to-apple-music
Automated, API-driven playlist migration from Spotify, Tidal, and YouTube Music to Apple Music with artist validation.
About This Skill
Professional Music Migration for AI Agents
Stop wrestling with manual playlist transfers. This high-performance skill enables your AI agent to automate the end-to-end migration of music libraries from Spotify, Tidal, and YouTube Music directly into Apple Music with developer-grade precision.
What it does
Unlike simple scrapers, this tool implements a sophisticated three-phase workflow:
- Deep Extraction: Utilizes custom JavaScript execution to bypass virtual scrolling on Tidal, DOM scraping on YouTube Music, and URL extraction on Spotify.
- Smart Matching: Employs an artist-validated matching algorithm that filters search results by primary artist and title, preventing the "wrong version" errors common in AI prompting.
- MusicKit Integration: Leverages the native Apple MusicKit JS API to programmatically create playlists and batch-inject tracks directly into the user's library.
Why use this skill?
Standard LLM prompting fails at music transfer because the Apple Music web UI hides "Add to Playlist" functions from domestic automation. This skill bypasses the UI entirely by communicating directly with Apple's internal API. It handles batch processing (25 songs at a time), manages 500-level API errors by rotating catalog IDs, and includes built-in verification to ensure the final track count matches the source.
Output
The skill produces a clean migration report featuring successfully added tracks, flagged "unverified" matches for user review, and automatic retries for failed API calls, ending with a direct link to the new Apple Music playlist.
Use Cases
- Transfer different playlist from other music streaming service (Spotify, Tidal, Youtube music). Other streaming service may also work with the same logic as long as they have a web player but it's not guaranteed.
Known Limitations
How many playlists you can copy depends on your token or credit limit in for example Claude.
Example Outputs
Added 22 songs to Apple Music playlist successfullyAdded 22 songs to Apple Music playlist successfully22 added, 3 failed. Let me fix those — retry with different search terms and alternate catalog IDs:Retrieved and added songs to Apple Music playlist successfullyRetrieved and added songs to Apple Music playlist successfullyAll 3 remaining tracks added successfully. Now let me verify the clean playlist:Retrieved all 25 tracks from Apple Music playlistRetrieved all 25 tracks from Apple Music playlistLet me navigate to the playlist to see it visually:Updated task tracking for YouTube Music playlist extraction workflowUpdated task tracking for YouTube Music playlist extraction workflowThe TestListYoutube playlist has been successfully transferred from YouTube Music to Apple Music! Here's the summary: 25 of 27 tracks matched and added to the clean playlist on Apple Music. The playlist is live and visible in your library. 2 tracks not available on Apple Music: "Back to the 90s (Radio Edit)" by D.A.V.E. — this artist has no songs in the Apple Music catalog "I Can't Believe (feat. Lyane Leigh)" by D.A.V.E. — same artist, not on Apple Music
How to Install
unzip transfer-playlist-to-apple-music.zip -d ~/.claude/skills/$5
One-time purchase • Own forever
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Since Apple music web player is too limited it interacts with the native Apple Music app which require some OS interaction using the official Apple MusicKit JS API.
Tags
Requires Claude Cowork (Pro subscription + Claude Desktop app for Win/Mac) and Claude for Chrome plugin. Free Spotify and YouTube Music accounts work. Requires paid subscription to Apple Music.
Creator
Claude Skills
Freelancer, internet entrepreneur and music producer from Sweden.
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills
video enhancement
Upscale, denoise, and sharpen videos using AI with support for local files, YouTube, and batch processing.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
readme-generator
Generates a complete, polished README.md by scanning your actual project structure, dependencies, and code.
git-commit-writer
Writes conventional commit messages by analyzing your staged git changes. Detects commit type, scope, and breaking changes automatically.