setup
Skill0 starsChanged 30 days agoMITView on GitHub
Configure credentials for the Apple plugin (App Store Connect, App Store Server, Apple Music, WeatherKit, Maps, CloudKit, APNs, Sign in with Apple, Business Manager, Search Ads, News, iCloud) and build/check the Rust MCP server. Use when the user wants to set up, connect, or add an Apple service.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- finolabs/vibecodetheir own version, first seen Nov 15, 2026
- quickchatai/quickreviewtheir own version, first seen Nov 15, 2026
- tomw1808/flash-agentstheir own version, first seen Nov 15, 2026
- felipeam86/pipe-skillstheir own version, first seen Nov 15, 2026
- oss-invisible/playwright_mcptheir own version, first seen Nov 15, 2026
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 36ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- apnsSkill
- apple-business-managerSkill
- apple-mapsSkill
- apple-musicSkill
- apple-newsSkill
- apple-search-adsSkill
- apple-servicesSkill
- app-store-connectSkill
- app-store-serverSkill
- cloudkitSkill
- docsSkill
- icloudSkill
- sign-in-with-appleSkill
- statusSkill
- weatherkitSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 2 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
If $ARGUMENTS names a service, map it to its section and use --want <section>.
- Very specific: line 35
Search Ads · Apple News Publisher · iCloud (Calendar/Contacts/Mail) · iCloud web extras (Reminders/Notes/Drive/Photos/Find My/Hide My …
- Distinctive: line 67
Do not list portals or fields for services the user did not choose.
- Distinctive: line 87
Never echo a secret or a private key back.
- Very specific: line 91
If the plugin's MCP server (apple, listed as plugin:apple-services:apple in /mcp) is connected, call apple_test_service (no reconnect …
- Very specific: line 93
If it is not connected (first install: the launcher built in the background and refused the first connection), tell the user to run /mcp …
- Very specific: line 106
Run … scripts/apple-mcp icloud login.
- Very specific: line 109
If Apple answers that updated iCloud terms must be accepted, the user signs in once at https://www.icloud.com/ and accepts them, then … …
“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/apple-services:setup — connect Apple services
Requested service (may be empty): $ARGUMENTS
Talk to the user in their language. The setup is automated by the server binary: you never write the JSON config by hand and you never ask for something the report does not list. Apple only forces one manual step per key: clicking "generate" in a web console and downloading the key once. Everything else (finding the key file, reading its id, testing it against every Apple API, deriving the Team ID and bundle ids, writing the config) is done by:
APPLE_MCP_DATA_DIR="${CLAUDE_PLUGIN_DATA}" bash "${CLAUDE_PLUGIN_ROOT}/scripts/apple-mcp" setup auto --json [--want a,b] [section.key=value …]The first run builds the Rust binary (needs cargo; several minutes). If cargo is missing,
tell the user to install Rust from https://rustup.rs and stop.
Section names: app_store_connect, app_store_server, music, weatherkit, maps,
cloudkit, apns, sign_in_with_apple, business_manager, search_ads, news, icloud.
1. Which services
If $ARGUMENTS names a service, map it to its section and use --want <section>.
Otherwise ask once (AskUserQuestion, several allowed) which of these the user wants:
App Store Connect · App Store Server (in-app purchases) · Apple Music · WeatherKit ·
Apple Maps · CloudKit · APNs push · Sign in with Apple · Business/School Manager ·
Search Ads · Apple News Publisher · iCloud (Calendar/Contacts/Mail) · iCloud web extras
(Reminders/Notes/Drive/Photos/Find My/Hide My Email, see §5). Then run setup auto --json --want <sections>.
2. Read the report, show links, collect only what is missing
The JSON report contains:
keys[]: key files found (also in~/Downloads,~/Desktop, and the Windows profile under WSL) and imported into~/.config/apple-mcp/keys/, withkey_idandused_by.team_id,apps[](name + bundle id) derived from App Store Connect when it works.services[]:statusisok,needsorskipped. Forneeds, each entry ofneeds[]hasfield(section.key),how(what to do) andurl(the exact page to click).choiceslists candidate values (e.g. several apps for a bundle id).public_keys: PEM public keys to paste into the CloudKit / Search Ads consoles.changed,warnings.
Present it like this:
- One line per service: ✅ configured and verified / ⏳ needs … / ⏭ skipped.
- For the services that need something, group by
urlso the user opens each Apple page once. Show the URL as a clickable link, then thehowtext for each field. Offer to open the page for them:… setup open <portal>(works from Linux, macOS and WSL). - Tell the user the three ways to hand a key over, all equivalent:
- download
AuthKey_<ID>.p8/SubscriptionKey_<ID>.p8and leave it in Downloads (Windows or Linux): the next run picks it up; - paste the content of the
.p8file into the chat; - paste the path of the file. For ids (issuer id, service id, client id, key id, app-specific password…) they paste the value.
- download
- For a field with
choices, use AskUserQuestion with those choices. - Show
public_keys.<section>in a code block only for CloudKit / Search Ads when they are wanted and not yetok("paste this in the console, then give me the Key ID").
Do not list portals or fields for services the user did not choose. Do not ask for a Team ID if App Store Connect is among the wanted services and not yet configured: it is derived from it.
3. Apply the answers and re-run
Pass values on the command line (team_id=…, weatherkit.service_id=…); the config is
merged, never replaced. For secrets and PEM content use --stdin with a JSON object so the
secret never appears in a command line:
APPLE_MCP_DATA_DIR="${CLAUDE_PLUGIN_DATA}" bash "${CLAUDE_PLUGIN_ROOT}/scripts/apple-mcp" setup auto --json --want music,maps --stdin <<'EOF'
{"team_id": "ABCDE12345", "music": {"private_key_path": "-----BEGIN PRIVATE KEY-----\n…\n-----END PRIVATE KEY-----"}}
EOFA PEM given as any field value is saved as a key file (mode 600) and private_key_path is set.
A file path the user gives: --key <path> (it is imported). Every run re-probes everything
and rewrites the config, so there is no separate "verify" step. Repeat §2–§3 until every
wanted service is ok, or the user wants to stop (what is done stays configured).
Never echo a secret or a private key back; refer to key files by name.
4. Final check
- If the plugin's MCP server (
apple, listed asplugin:apple-services:applein/mcp) is connected, callapple_test_service(no reconnect needed: the server reloads the config file when it changes) and report its table. - If it is not connected (first install: the launcher built in the background and refused the
first connection), tell the user to run
/mcpand reconnectplugin:apple-services:apple, or restart Claude Code.… scripts/apple-mcp doctorgives the same verification from the shell meanwhile. - WeatherKit can take ~30 minutes to activate after enabling it on the key / Services ID: a 401 right after creation is expected; say so.
5. iCloud web extras (Reminders, Notes, Drive, Photos, Find My, Hide My Email)
Built into the Rust server. They need the full Apple ID password in icloud.password (warn: it is
the real account password, stored in the 600-mode config file, used against Apple's private
icloud.com APIs) and one two-factor code. Only if the user explicitly wants these:
- Save the password with
--stdin:{"icloud": {"apple_id": "…", "password": "…"}}. - Run
… scripts/apple-mcp icloud login. If it reportstwo_factor_required, Apple pushed a 6-digit code to the user's devices: ask for it and run… icloud 2fa <code>right away (codes expire). No prompt on the devices →… icloud smssends it by SMS, thenicloud 2fa <code>. If Apple answers that updated iCloud terms must be accepted, the user signs in once at https://www.icloud.com/ and accepts them, then… icloud loginagain (no 2FA this time). - Prove it with
… icloud lists(Reminders lists). The session is cached; later logins are silent.
Reference: other setup commands
| Command | Use |
setup links [portal] | print the Apple URLs (asc-keys, iap-keys, dev-keys, services-ids, cloudkit, abm, searchads, news, icloud-passwords, membership, vendor) |
setup open <portal> | open that page in the user's browser |
setup discover | list / import key files without probing |
setup pubkey cloudkit|search_ads | print the public key to paste (generated once) |
setup set k=v … | --stdin | write values without probing |
setup wizard | interactive terminal version (for a human in a shell: ! bash "${CLAUDE_PLUGIN_ROOT}/scripts/apple-mcp" setup is not interactive; they should run it in a separate terminal) |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

