# Recipe Block Focus Time

Create recurring focus time blocks on Google Calendar to protect deep work hours.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill recipe-block-focus-time -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill recipe-block-focus-time -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill recipe-block-focus-time -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill recipe-block-focus-time -g -a gemini-cli -y`

## Description

Create recurring focus time blocks on Google Calendar to protect deep work hours.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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`


