Agentic calendar coordination

From curiositech/windags-skills · View interactive version

Agentic calendar coordination is an AI agent skill from the GitHub repository curiositech/windags-skills. AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection,

How to use this skill

Skill file

Agentic Calendar Coordination

Build AI agents that negotiate meetings, protect focus time, and infer context from calendar data. Navigate timezone complexity, implement agent-to-agent scheduling, and architect custom calendar logic using Google Calendar API and MCP.

Decision Points

When Conflict Detected

Incoming meeting request conflicts with existing event
├─ Sender = manager/exec → Auto-accept, suggest moving existing
├─ Meeting = 1:1/urgent tagged → Propose alternative within 24h
├─ Focus block collision
│  ├─ Block priority = high (deep work) → Auto-decline
│  └─ Block priority = medium → Propose alternative time
└─ Double-booking with peer meeting → Counter with 3 alternative slots

Auto-Decline vs. Propose-Alternative Decision

Factors: sender_tier (exec/manager/peer/external) × meeting_type (1:1/team/all-hands) × focus_block_priority
If exec + any_type → Always propose alternative
If manager + (1:1 OR urgent) → Propose alternative
If peer + recurring + low_attendance → Auto-decline
If external + no_prior_relationship → Auto-decline with "use calendar link"
If during high_priority_focus_block → Auto-decline regardless of sender

Timezone-Aware Slot Selection

Multi-participant scheduling:
├─ All same timezone → Use local working hours (9-17)
├─ 2 timezones, <6h apart → Find overlap window
├─ 2 timezones, >6h apart → Early/late split (one takes 8am, other takes 6pm)
└─ 3+ timezones → Propose async alternative OR rotating schedule

Energy Model Slot Ranking

Time of day priority (descending):
1. 9-11 AM (peak cognitive) → Reserve for deep work, decline routine meetings
2. 11 AM-12 PM (sustained focus) → Allow important meetings only
3. 2-4 PM (collaboration sweet spot) → Prefer for team meetings
4. 4-5 PM (wrap-up) → Good for 1:1s, status updates
5. 1-2 PM (post-lunch dip) → Avoid complex meetings

Failure Modes

Timezone-Aware Recurring Conflicts

Symptoms: Weekly 9 AM meeting shows conflicts in winter but not summer; cross-timezone recurring fails after DST change

Detection: if recurring_event && timezone_conversion && conflict_pattern_seasonal

Fix: Always expand recurring with singleEvents: true, convert each instance to UTC for conflict checking, re-evaluate after DST transitions

Buffer Enforcement Thrashing

Symptoms: Agent repeatedly reschedules same meeting trying to create buffers; meetings bounce between slots

Detection: if same_meeting_rescheduled > 2 times in 24h for buffer_reasons

Fix: Lock in meeting after first reschedule, adjust buffer requirements dynamically based on meeting importance

Energy Model Cold-Start

Symptoms: New agent schedules meetings at user's worst cognitive times; ignores established patterns

Detection: if meeting_satisfaction_score < 3 for meetings_scheduled_by_agent

Fix: Bootstrap with explicit user preferences, learn from decline patterns, require 2-week observation period before auto-scheduling

Schema Bloat Privacy Leak

Symptoms: Agent shares too much calendar detail with external systems; event descriptions leak to LLMs

Detection: if external_api_call contains event.description OR attendee.email

Fix: Implement data minimization layer, strip PII before external calls, use free/busy only for scheduling

Recursive Negotiation Loop

Symptoms: Two agents endlessly counter-propose; no convergence on meeting time

Detection: if negotiation_rounds > 3 && no_accepted_slot

Fix: Escalate to human after 2 counters, implement "good enough" acceptance threshold, time-bound negotiations

Worked Examples

Cross-Timezone Meeting Negotiation

Scenario: Your agent (Chicago) needs 30min with peer agent (Tokyo) for API review. Both have energy constraints.

Step 1: Initial Analysis

Step 2: Energy Model Check

Step 3: Proposal Generation

Agent Chicago → Agent Tokyo: PROPOSE
Slots: [
  "2024-03-19T01:00Z" (Chi: 7PM, Tok: 10AM),
  "2024-03-19T23:00Z" (Chi: 5PM, Tok: 8AM),  
  "2024-03-20T00:00Z" (Chi: 6PM, Tok: 9AM)
]
Priority: normal
Topic: "API review - timezone complexity discussion"

Step 4: Counter-Proposal

Agent Tokyo → Agent Chicago: COUNTER
Reason: "Prefer later Tokyo morning for complex technical discussion"
Alternatives: [
  "2024-03-19T02:00Z" (Chi: 8PM, Tok: 11AM),
  "2024-03-20T01:00Z" (Chi: 7PM, Tok: 10AM)
]
Constraints: "Need 15min buffer before 11:30 AM JST standup"

Step 5: Resolution

Chicago agent accepts 8 PM CST / 11 AM JST slot, creates event with both timezones in description:

"API Review - 8:00 PM CST / 11:00 AM JST+1"

Novice vs Expert:

Quality Gates

NOT-FOR Boundaries

This skill is NOT for:

Delegate to other skills when:

This skill focuses specifically on calendar data structures, scheduling algorithms, and meeting coordination logic.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.