Methodologygeneric

recipe-find-free-time

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

googleworkspace/cli
View source

Install

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

Use with your agent

ClaudeCursorOpenAIGemini

Install the recipe-find-free-time skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-find-free-time. Then read the installed skill.md and follow its guidance to build or refactor my project.

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'