Methodologygeneric
recipe-block-focus-time
Create recurring focus time blocks on Google Calendar to protect deep work hours.
googleworkspace/cli
Install
Use with your agent
Install the recipe-block-focus-time skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-block-focus-time. Then read the installed skill.md and follow its guidance to build or refactor my project.
Block Focus Time on Google Calendar
PREREQUISITE: Load the following skills to execute this recipe:
gws-calendar
Create recurring focus time blocks on Google Calendar to protect deep work hours.
Steps
- Create recurring focus block:
gws calendar events insert --params '{"calendarId": "primary"}' --json '{"summary": "Focus Time", "description": "Protected deep work block", "start": {"dateTime": "2025-01-20T09:00:00", "timeZone": "America/New_York"}, "end": {"dateTime": "2025-01-20T11:00:00", "timeZone": "America/New_York"}, "recurrence": ["RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR"], "transparency": "opaque"}' - Verify it shows as busy:
gws calendar +agenda