--- id: googleworkspace/cli/recipe-block-focus-time version: "9c8866fc" license: Apache-2.0 install: manual updated: 2026-07-22 --- # recipe-block-focus-time — This recipe automates the setup of recurring focus time blocks on Google Calendar, marking them as busy to shield your deep work from interruptions. It uses the gws-calendar skill to establish weekly blocks across weekdays. Publisher: googleworkspace · Stars: 30031 · Updated: 2026-07-22 Install (manual): `git clone https://github.com/googleworkspace/cli` ## SKILL.md # 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 1. 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"}'` 2. Verify it shows as busy: `gws calendar +agenda` [View on SkillFed](https://skillfed.io/googleworkspace/cli/recipe-block-focus-time) · [View on GitHub](https://github.com/googleworkspace/cli)