<< All versions

Skill v1.0.1

currentLLM-judged scan90/100
theexperiencecompany/gaia/calendar-create-event

1 files

──Details
PublishedOctober 17, 2026 at 06:44 AM
Content Hashsha256:116a1793d03103e0...
Git SHA91e534996083
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 5.6 KB)
SKILL.md5.6 KBactive
SKILL.md · 159 lines · 5.6 KB

version: "1.0.1" name: calendar-create-event description: Create calendar events intelligently - check availability, handle attendees, manage recurrence, timezone-aware scheduling with confirmation workflow. target: googlecalendar_agent


Calendar Create Event

When to Use

  • User asks to "create an event" or "schedule a meeting"
  • User asks to "add to calendar" or "set up a call"
  • User wants to "book time" or "schedule something"
  • User asks to make an event recurring

Tools

Discovery

  • GOOGLECALENDAR_CUSTOM_LIST_CALENDARS: List all calendars
  • GOOGLECALENDAR_FIND_FREE_SLOTS: Find available time slots
  • GOOGLECALENDAR_FREE_BUSY_QUERY: Check busy/free status
  • GOOGLECALENDAR_CUSTOM_FETCH_EVENTS: List events in time range
  • GOOGLECALENDAR_CUSTOM_FIND_EVENT: Search events by keyword

Creation & Modification (Custom Tools vs Standard Tools)

Prefer using Custom Tools over standard Composio tools where possible, as they are simplified and sufficient for most use cases. However, standard tools (like GOOGLECALENDAR_CREATE_EVENT) are fully featured and can be used when advanced functionality is missing.
  • GOOGLECALENDAR_CUSTOM_CREATE_EVENT: Create new event (immediate; the

approval card is the confirmation when gating is on)

  • GOOGLECALENDAR_CREATE_EVENT: Standard composer tool. Use if the custom tool doesn't support an advanced parameter you explicitly need.
  • GOOGLECALENDAR_CUSTOM_ADD_RECURRENCE: Add recurrence to existing event
  • frequency: DAILY, WEEKLY, MONTHLY, YEARLY
  • by_day: ["MO", "WE", "FR"] etc.
  • count / until: Limit occurrences
  • GOOGLECALENDAR_CUSTOM_PATCH_EVENT: Modify event
  • GOOGLECALENDAR_CUSTOM_DELETE_EVENT: Delete (REQUIRES CONSENT)

Workflow

Step 1: Identify the Right Calendar

GOOGLECALENDAR_CUSTOM_LIST_CALENDARS()
  • User may have multiple calendars (Work, Personal, Shared)
  • If ambiguous, ask: "Which calendar? You have Work and Personal."
  • Default to primary calendar if only one exists

Step 2: Gain Context & Check Availability (CRITICAL for meetings)

When scheduling with attendees or specific times, always understand the user's day first.

  1. Get the Day's Context:
GOOGLECALENDAR_CUSTOM_GET_DAY_SUMMARY(
date="2026-03-01"
)
  • Or use GOOGLECALENDAR_CUSTOM_FETCH_EVENTS for a wider range.
  • Use this to understand what else the user has going on that day so you don't schedule a heavy meeting right after another heavy meeting or during their focus time.
  1. Find Free Slots (if needed):
GOOGLECALENDAR_FIND_FREE_SLOTS(
calendar_id="primary",
time_min="2026-03-01T09:00:00",
time_max="2026-03-01T17:00:00"
)
  • Show available slots to user
  • If attendee calendars are accessible, check their availability too
  • Suggest the first available slot that works
  • If all-day event, skip availability check

Step 3: Handle Timezone

All times in user's local timezone. The backend handles conversion.

  • Use ISO format: "2026-03-01T10:00:00"
  • Do NOT include timezone offset in datetime strings
  • Respect the user's stated time literally (if they say "3pm", use 15:00)

Step 4: Create the Event

GOOGLECALENDAR_CUSTOM_CREATE_EVENT(
events=[
{
"summary": "Team Standup",
"start_datetime": "2026-03-01T09:00:00",
"end_datetime": "2026-03-01T09:30:00",
"calendar_id": "primary",
"description": "Daily sync",
"attendees": ["alice@company.com", "bob@company.com"],
"create_meeting_room": True,
}
]
)

Give the event's length with start_datetime and end_datetime. Omit end_datetime for a 30-minute event. For all-day events set is_all_day=True and use end_datetime as the last day (inclusive), or omit it for one day.

The call creates immediately. When approval gating is on, the approval card is the confirmation; there is no separate draft step.

Always set create_meeting_room=True when:
- The event has attendees (i.e., it's a meeting)
- The event is described as "online", "virtual", or a "call"
- The user explicitly asks for a meeting link
This automatically generates a Google Meet link. It never hurts to add one for a meeting! Only omit if the user explicitly says they don't want a video call.

Step 5: Add Recurrence (2-step process)

Recurrence CANNOT be set during creation. Always create first, then add:

GOOGLECALENDAR_CUSTOM_ADD_RECURRENCE(
event_id="created_event_id",
calendar_id="primary",
frequency="WEEKLY",
by_day=["MO", "WE", "FR"],
count=10
)

Common patterns:

  • Daily standup: frequency="WEEKLY", by_day=["MO","TU","WE","TH","FR"]
  • Weekly 1:1: frequency="WEEKLY"
  • Monthly review: frequency="MONTHLY"
  • Until date: until="2026-06-30T00:00:00"
  • N occurrences: count=10

Step 6: Confirm to User

Report:

  • Event title and time
  • Calendar it was added to
  • Attendees (if any)
  • Recurrence pattern (if set)
  • "Check your calendar to confirm the details."

Error Recovery

If creation fails:

  1. Calendar not found → LIST_CALENDARS → verify correct calendar_id → retry
  2. Time conflict → FIND_FREE_SLOTS → suggest alternative time → retry
  3. Permission error → Inform user, suggest checking calendar sharing settings

Important Rules

  1. Check availability first: Especially for meetings with attendees
  2. Local timezone always: Don't convert to UTC, backend handles it
  3. Approval card confirms: Creation is immediate; gating asks the user
  4. Recurrence is 2-step: Create event first, then add recurrence
  5. Delete requires consent: Never delete events without asking
← v1.0.0All versions