Triggers when the user wants to query or modify real calendar data: checking today's or this week's agenda, spotting conflicts, creating meetings, rescheduling, or deleting events. Typical phrasings include "what time is my meeting tomorrow", "book xx for me", or "schedule a meeting". **Do not use for**: casually mentioning times or countdowns in conversation (→ answer directly), or recurring background jobs like "run this script at 9am every day" (→ schedule-ops-skill).
71
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
| Tool | Responsibility | Read-only |
|---|---|---|
CalendarQuery | Query calendar sources / items (mode: list-sources / list-items / get-event, etc.) | Yes |
CalendarMutate | Create / update / delete calendar items (kind: event or reminder) | No |
Loading: Both are deferred tools. Activate their schemas with
ToolSearch(names: "CalendarQuery,CalendarMutate")before calling.
date '+%Y-%m-%dT%H:%M:%S%z' via Bash to capture the current moment and timezone.
Why? Relative expressions like "today" or "next Tuesday" only make sense once pinned to a concrete timezone — "10 AM" means entirely different instants for someone in Beijing versus New York, and an ISO 8601 string without an offset will silently drift between systems.CalendarQuery (mode: list-items) with rangeStart / rangeEnd (ISO 8601 must include the timezone offset, e.g. +08:00).
If the user just says "show me today's agenda", the range is 00:00:00 to 23:59:59 of today; for "what's on this week", expand to the full week. Better to query slightly wider than to miss events at the edges.sourceIds to filter specific calendars and avoid unrelated clutter (e.g. holiday calendars).Why must conflicts be checked before creating? Because double-booking wastes everyone's time and makes the user look unprofessional.
CalendarQuery (mode: list-sources) first to get the list of available calendar sources.
Why? sourceId is a required field at creation time — guessing it will always fail. If a sourceId was already obtained earlier in the conversation and is still valid, you may reuse it.CalendarQuery (mode: list-items) to see whether the target time slot is already taken.CalendarMutate (action: create).
Pick kind: event (a scheduled item with clear start/end times) or reminder (better suited to to-do-style content).CalendarQuery (mode: list-items) to confirm the itemId.
Why? When the user says "move the afternoon meeting to 3 PM", you need to pinpoint which specific event is meant — fuzzy matching may alter the wrong item.CalendarMutate (action: update) with the itemId plus only the fields to change. Only send the fields that actually change; do not resubmit everything.itemId.CalendarMutate (action: delete).
Deletion is irreversible and requires explicit consent. If multiple similar events match, list the candidates and let the user pick.Use CalendarMutate (action: toggle-completed) with an itemId and a completed boolean. Primarily intended for reminder-type items.
All times must use ISO 8601 with an explicit timezone offset (e.g. +08:00, -05:00). Always run date via Bash first to determine the current time and timezone — never assume UTC or any default. A bare 2026-03-20T10:00:00 without an offset will be interpreted differently by different systems, and events will land at the wrong time.
"Next Tuesday", "the day after tomorrow in the afternoon", "end of this month" — run date via Bash first, then compute the absolute time yourself. Note that "next Tuesday" means different dates depending on whether you say it on Monday or Wednesday, and month/year boundaries are easy to miscalculate. When an expression is ambiguous, ask the user to clarify.
The create action of CalendarMutate requires sourceId. Creating without first calling list-sources guarantees an error. Users often have several calendar sources (work, personal, shared) — pick the right one.
All-day events need allDay: true. Still provide start and end times, covering 00:00:00 to 23:59:59 of that day (with the timezone offset).
When the user says "what's coming up soon", don't query only the current day. Broaden the range appropriately (the next 3–7 days) and group the results by day for clarity.
When the user says "delete that meeting" but the query returns several matches, you must list the candidates and let the user choose — never guess. The cost of guessing wrong is far higher than asking once more. The same applies to updates.
When the user says "book me a meeting" without specifying the time, location, or attendees, do not fill in defaults — proactively ask for the missing critical fields. An incomplete event causes more confusion than no event at all.
| Tool | Purpose |
|---|---|
CalendarQuery | Two modes: list-sources to list calendar sources, list-items to query items by time range |
CalendarMutate | Four actions: create, update, delete, toggle-completed |
The kind field on CalendarMutate create: event (calendar event) or reminder (reminder item).
a1ab5be
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.