Calendar create event

From theexperiencecompany/gaia · View interactive version

Calendar create event is an AI agent skill from the GitHub repository theexperiencecompany/gaia. Create calendar events intelligently - check availability, handle attendees, manage recurrence, timezone-aware scheduling with confirmation workflow.

How to use this skill

Skill file

Calendar Create Event

When to Use

Tools

Discovery

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.

approval card is the confirmation when gating is on)

Workflow

Step 1: Identify the Right Calendar

GOOGLECALENDAR_CUSTOM_LIST_CALENDARS()

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"
)
  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"
)

Step 3: Handle Timezone

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

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:

Step 6: Confirm to User

Report:

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
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.