/apple-mail:calendar-operatorfrom apple-mail
This skill should be used when the user asks "what's on my calendar", "am I free Thursday", "add an event", "block time for this", "clean up my test calendar", or "which calendar tool should I use". Covers bounded reads, timezone handling, safe event creation, ID-first updates and deletes, and calendar management with list_calendars, list_events, create_event, delete_events, and manage_calendars. Do NOT use for coordinating meetings with other people or invitation workflows (see meeting-scheduler), and do NOT use for email work (see apple-mail-operator).
Ships in apple-mail. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Operate the Apple Calendar tool surface safely: bounded reads, timezone-correct writes, ID-first mutations, and dry-run-first deletes.
| Signal | Skill |
|---|---|
| Read my schedule, add/edit/delete my own events, calendar cleanup | calendar-operator (this skill) |
| Find a time with other people, invitations, cross-timezone meetings | meeting-scheduler |
| Anything email (inbox, drafts, replies) | apple-mail-operator and siblings |
list_calendars() first. It returns every calendar with calendar_id,
writable, is_default, the active engine (applescript or eventkit), and
eventkit_available diagnostics.CALENDAR_READ_ONLY.DEFAULT_CALENDAR (environment variable) sets the create target only; reads always
scope explicitly or fan out.Every event read requires a window and every window is capped. This differs from the
mail tools in one important way: with no calendar-scoping argument (calendar or
calendars on list_events, calendars on check_availability), both fan out
across every calendar (capped at 20 plus a wall-clock budget) instead of erroring
like mail's account scoping. Prefer explicit scoping:
list_events(days_ahead=7) for the upcoming week across calendars.list_events(calendar="Work", days_ahead=1, days_back=0) for today on one calendar.list_events(start="2026-08-01", end="2026-08-31", query="review") for a bounded search.list_events(calendar="Work", start="2026-01-01", end="2026-03-31", participant_query="[email protected]") for historical meetings with a person. Page with offset, then use get_events_by_id only for exact relevant ids.offset when truncated is true; never widen the window instead.participant_query matches attendee display names and email addresses without returning
participant metadata in the list response. On the EventKit fast path it also matches
organizer name and email; Calendar.app scripting exposes attendees but not an organizer
field. Combine it with query when a title term is known; both filters must match. Keep
historical searches calendar-scoped and in 30-90 day windows, then retrieve exact ids for
full notes and attendee metadata.
On UNBOUNDED_CALENDAR_SCAN, supply an explicit non-empty window; on
CALENDAR_WINDOW_TOO_WIDE, narrow the window; on
CALENDAR_WINDOW_TOO_DENSE, narrow further or scope to one calendar. Check
calendar_errors and budget_exhausted on every fan-out response; partial results are
normal on slow stores.
Recurring coverage (AppleScript engine): list_events and check_availability project
recurring occurrences from masters whose start date falls within the last 400 days, so a
standing series created earlier can be missing with no per-row error. When the AppleScript
recurring pass runs, the response carries recurring_lookback_days and a
recurring_coverage_note; if a long-running series looks absent, tell the user it may
predate the horizon and that the EventKit fast path expands natively. See
references/calendar-safety-limits.md.
Pass timezone (IANA, for example America/Chicago) whenever the user's zone matters,
and read resolved_timezone back. Events return start/end in the requested zone
plus start_utc/end_utc. Naive datetimes are interpreted in the requested zone;
offset-aware ISO 8601 strings need no timezone parameter. The event lands on the
correct absolute instant regardless of the Mac's own zone.
create_event(title=..., start=..., duration_minutes=60) or an explicit end.
All-day: all_day=True (may omit end for one day). Alarms:
alarms_minutes_before=[10, 60] (max 5). Recurrence: allowlisted RRULE strings such
as FREQ=WEEKLY;BYDAY=MO,WE,FR.on_conflict="warn" reports conflicts;
"block" refuses with EVENT_CONFLICT; "allow" skips).
If a requested conflict check returns CALENDAR_CONFLICT_CHECK_INCOMPLETE, repair
the reported Calendar read problem and retry the check before writing.update_event and delete_events take exact
event_ids from a prior list_events/get_events_by_id call. There are no fuzzy
destructive selectors, by design. Pass calendar as a lookup hint to avoid fan-out.update_event is PATCH-style: only the fields you pass change. On EVENT_NOT_FOUND,
widen lookup_days_back/lookup_days_ahead or pass the right calendar.span='all_occurrences'. update_event applies the
change to the whole series; delete_events cannot remove a whole series
(Calendar.app scripting deletes only individual occurrences), so it verifies
after deleting and returns RECURRING_DELETE_INCOMPLETE with the surviving dates
when the series is not fully gone. If the follow-up read fails, preserve the
confirmed removal receipts in RECURRING_DELETE_VERIFICATION_INCOMPLETE and
reconcile the calendar before retrying. this_occurrence/future_occurrences return
RECURRING_SPAN_UNSUPPORTED.batch_create_events creates up to 25 one-off blocking events in one call
(no attendees, no recurrence in items); use dry_run=True first for bulk plans.| Action | Rule |
|---|---|
delete_events | Always run the default dry_run=True preview and show it before dry_run=False; exact ids only; one unresolved id aborts everything |
| Recurring deletes | Calendar.app scripting cannot remove a whole series; delete_events verifies after running and returns RECURRING_DELETE_INCOMPLETE with surviving dates. For a reliable series delete, direct the user to Calendar.app |
manage_calendars(action="delete") | Three steps: dry-run preview with event_count, then confirm_delete_calendar=True, plus force_nonempty=True when events exist; exact name or calendar_id only |
| Draft-safe mode | Deletes return CALENDAR_DELETE_BLOCKED; never suggest the CALENDAR_ALLOW_DESTRUCTIVE env unlock, that is an operator decision at launch |
| Bulk anything | Respect TOO_MANY_DELETES / BATCH_TOO_LARGE; split deliberately, never loop to evade caps |
The mode flags gate calendars harder than mail: --read-only removes every calendar
write tool; --draft-safe additionally blocks deletes and attendee sends while still
allowing personal create/update/rename (reversible, no third parties). For mail tools
the same flags block only the send paths. Read the full matrix in
references/calendar-safety-limits.md.
CALENDAR_ACCESS_DENIED remediation
names the exact pane.eventkit_available (reason + next_step) in list_calendars, or run
apple-mail calendar-doctor for both gates at once. A human grants access
once by running apple-mail calendar-grant from Terminal
(plugin installs: PYTHONPATH=<plugin dir> venv/bin/python3 -m apple_mail_mcp.cli calendar-grant).
not_determined means it was never requested; write_only means the host has
write-only access and the grant must be re-run for Full Access; denied /
restricted need System Settings > Privacy & Security > Calendars (or
tccutil reset Calendar). Never attempt to trigger
that consent prompt from a tool call.invitation_delivery: "platform_dependent"); see meeting-scheduler for the
reliable .ics drafting path.respond_to_invitation always returns CALENDAR_RSVP_UNSUPPORTED; point the
user to Calendar.app or their mail client.references/calendar-safety-limits.md: bounds, mode matrix, error recovery, platform limitations.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agentic-assets/apple-mail-mcp --plugin apple-mail12 skills in this plugin
/apple-mail-archive-exportUse when the user asks to "back up an Apple Mail account", "recover my partial.emlx attachments", "search an offline mail archive", or "convert my mail for Thunderbird". Runs local scripts to snapshot the Mail cache, rebuild detached MIME payloads, verify the output, and create a SQLite search index. Also indexes verified EML and ICS plugin exports with a manifest. Route staged moves or trash to email-archive-cleanup./apple-mail-operatorThis skill should be used when the user asks "how does this Mail MCP work", "why is Mail slow", "set up Mail for the assistant", "list my accounts/mailboxes", "find an email quickly", or "export my mail in batches". Uses list_accounts, list_mailboxes, get_inbox_overview, search_emails, and export_emails. Do NOT use for sustained inbox-zero programs (see email-management), a 5–10 minute triage ritual (see inbox-triage), or drafting mail (see email-drafting)./email-archive-cleanupThis skill should be used when the user asks to "archive old mail safely", "move everything from X sender" (screens out human correspondents unless confidently spam), "clear newsletters", "bulk mark read after export", "preview what would move with dry_run=True", or run staged cleanup campaigns. Uses search_emails, move_email(dry_run=True) preview → execute, update_email_status, export_emails, manage_trash (max_deletes cap), synchronize_account, and get_statistics when measuring progress. Do NOT use for taxonomy design sessions without execution (mailbox-taxonomy), proposing Mail filter rules copy (mail-rules-advisor only), drafting mail (email-drafting), or the 5-minute triage skim (inbox-triage).