googleworkspace avatar

Recipe Find Free Time

googleworkspace/cli
20.2k

This skill allows users to query multiple Google Calendar users to identify overlapping free time slots and schedule meetings accordingly. It provides key capabilities to check free/busy status across calendars and create events within available slots, making it ideal for team scheduling and planning. Designed for users managing shared calendars, it streamlines coordinating meeting times efficiently.

npx skills add https://github.com/googleworkspace/cli --skill recipe-find-free-time

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": "user1@company.com"}, {"id": "user2@company.com"}]}'
  2. Review the output to find overlapping free slots
  3. Create event in the free slot: gws calendar +insert --summary 'Meeting' --attendee user1@company.com --attendee user2@company.com --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'

GitHub Owner

Owner: googleworkspace

SKILL.md


name: recipe-find-free-time version: 1.0.0 description: "Query Google Calendar free/busy status for multiple users to find a meeting slot." metadata: 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": "user1@company.com"}, {"id": "user2@company.com"}]}'
  2. Review the output to find overlapping free slots
  3. Create event in the free slot: gws calendar +insert --summary 'Meeting' --attendee user1@company.com --attendee user2@company.com --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'

More skills