recipe-find-free-time

$npx mdskill add googleworkspace/cli/recipe-find-free-time

Find a common free time slot across multiple Google Calendar users.

  • Solves finding a meeting time when multiple people are free.
  • Depends on the gws-calendar skill and Google Calendar API.
  • Queries free/busy status for each user and finds overlapping free slots.
  • Creates a calendar event in the first available free slot.

SKILL.md

.github/skills/recipe-find-free-timeView on GitHub ↗
---
name: recipe-find-free-time
description: "Query Google Calendar free/busy status for multiple users to find a meeting slot."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "scheduling"
    requires:
      bins:
        - gws
      skills:
        - gws-calendar
---

# Find Free Time Across Calendars

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-calendar`

Query Google Calendar free/busy status for multiple users to find a meeting slot.

## Steps

1. Query free/busy: `gws calendar freebusy query --json '{"timeMin": "2024-03-18T08:00:00Z", "timeMax": "2024-03-18T18:00:00Z", "items": [{"id": "[email protected]"}, {"id": "[email protected]"}]}'`
2. Review the output to find overlapping free slots
3. Create event in the free slot: `gws calendar +insert --summary 'Meeting' --attendee [email protected] --attendee [email protected] --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'`

More from googleworkspace/cli