/apple-pim:configurefrom apple-pim
Guides through configuring Apple PIM plugin access — enables domains (Calendars, Reminders, Contacts, Mail), sets allowlists/blocklists, and configures defaults for new events and reminders.
Ships in apple-pim. Installing the plugin adds it to Claude Code.
Apple PIM is the Personal Information Manager plugin for Calendar, Reminders, Contacts, and Mail.
Help the user configure which domains, calendars, and reminder lists the apple-pim plugin can access.
Tip: If you encounter permission errors during configuration, use /apple-pim:authorize to check and request macOS permissions first.
The config file is at ~/.config/apple-pim/config.json (JSON format).
The Swift CLIs read this file directly via the PIMConfig library.
Do NOT write to any plugin cache directory or use YAML/markdown format.
apple-pim action config_show to see current config and action status for macOS access
notDetermined, use action authorize to trigger promptsdenied, warn the user and guide to System Settingsapple-pim action config_init — this lists ALL calendars and reminder lists from macOS~/.config/apple-pim/config.json if it existsapple-pim action config_init (do NOT use calendar action list — that returns filtered results)~/.config/apple-pim/config.jsonWrite the config file as JSON to ~/.config/apple-pim/config.json:
{
"calendars": {
"enabled": true,
"mode": "allowlist",
"items": ["Calendar Name 1", "Calendar Name 2"]
},
"reminders": {
"enabled": true,
"mode": "allowlist",
"items": ["List Name 1", "List Name 2"]
},
"contacts": {
"enabled": true,
"mode": "all",
"items": []
},
"mail": {
"enabled": true
},
"default_calendar": "Calendar Name",
"default_reminder_list": "List Name"
}
"all" (no filtering), "allowlist" (only listed items), "blocklist" (all except listed)true/false to enable/disable an entire domaintrue allows flag, subtask, section and tag writes through Apple's private ReminderKit framework (set_flag, add_subtask, move_subtask, set_section, set_tags). Omitted or false (the default) blocks them. Each such write is read back and verified, needs Full Disk Access, and is never retried. Only set it when the user explicitly chooses itapple-pim with action config_show and action config_init in parallel to get current config AND available items~/.config/apple-pim/config.json if it exists (for preserving user choices, including keys you do not recognize)apple-pim action config_init results (these show ALL items, unfiltered)ceil(item_count / 4)privateWrites value unless the user changes it~/.config/apple-pim/config.json using the Write toolapple-pim with action config_init returns ALL calendars and reminder lists from macOS (unfiltered) — use this for discoverycalendar with action list returns only calendars allowed by the CURRENT config — do NOT use this for configurationcalendar action list would miss calendars the user previously blocked, making them impossible to re-enableBefore presenting options to the user, explicitly list out:
Then verify your questions cover all items. Missing items means the user can't configure them!
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
7 commands in this plugin
/authorizeAuthorize Apple PIM AccessCheck and request macOS permissions for calendars, reminders, contacts, and Mail.app automation/calendarsCalendar ManagementManage macOS calendar events - list, search, create, update, delete with batch operations/contactsContact ManagementManage macOS contacts - list, search, get details, create, update, deletenpx claudepluginhub omarshahine/apple-pim --plugin apple-pimOther plugins' commands for the same job