musickit

Integrate Apple Music playback, catalog search, and Now Playing metadata into iOS apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KumarAdi8/AgentKit --skill musickit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: musickit
Source: https://github.com/KumarAdi8/AgentKit/tree/main/skills/musickit
Command: npx skills add https://github.com/KumarAdi8/AgentKit --skill musickit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Integrate Apple Music catalog search, in-app playback, subscription checks, and Now Playing metadata so apps can offer native-quality music experiences without modifying the user's global Music app state.

Core Features & Use Cases

  • Catalog search and discovery: Query the Apple Music catalog and present searchable results with artwork and metadata.
  • App-scoped playback and queue management: Use ApplicationMusicPlayer for app-scoped playback, build and manipulate queues, and handle skips, inserts, and scrub events.
  • Subscription and entitlement handling: Detect Apple Music subscription state and surface subscription offers when necessary.
  • Now Playing and remote control integration: Publish metadata to MPNowPlayingInfoCenter and register controls with MPRemoteCommandCenter for Lock Screen and CarPlay interactions.
  • Use Case: Add an in-app music search UI that lets subscribed users preview, queue, and play songs while updating Lock Screen artwork and responding to AirPods and CarPlay controls.

Quick Start

Play a searched Apple Music song in-app, check the user's subscription, set the ApplicationMusicPlayer queue, and update Now Playing metadata.

Frequently Asked Questions about musickit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Apple Music playback into my iOS app without affecting the user's global Music app state?

You can use Apple Music's ApplicationMusicPlayer for app-scoped playback. This allows your iOS app to build and manipulate playback queues independently, ensuring native in-app music playback without modifying the user's global Music app state.

How do I update Lock Screen and CarPlay controls for my in-app music player?

You can update Lock Screen and CarPlay controls by publishing playback metadata to MPNowPlayingInfoCenter and registering interactions with MPRemoteCommandCenter. This handles remote commands for AirPods and CarPlay seamlessly.

How do I check Apple Music subscription status before allowing in-app music playback?

You can implement subscription and entitlement handling to detect a user's Apple Music subscription state. This allows your app to verify access and surface subscription offers to users when necessary before playing catalog songs.

Can I search the Apple Music catalog and display artwork within my Swift app?

Yes, you can query the Apple Music catalog to perform search and discovery. This returns searchable results complete with artwork and metadata, allowing you to present native-quality music search experiences directly in your app.

What iOS version and entitlements are required to use MusicKit for in-app playback?

MusicKit requires Swift 6.3 and iOS 26+ or later. You must configure the MusicKit entitlement, add an NSAppleMusicUsageDescription, and optionally enable a background audio mode to support application-scoped playback.