# Recipe Block Focus Time > Create recurring focus time blocks on Google Calendar to protect deep work hours. Source: https://skillsagentes.com/skills/googleworkspace/cli/recipe-block-focus-time Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 20 tok installed, 247 tok once triggered, 247 tok with every bundled file Bundle: 1 file, 987 B Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill recipe-block-focus-time --agent claude-code ``` ## What it does - Crea bloques recurrentes de tiempo de enfoque en Google Calendar usando gws calendar events insert con una regla RRULE semanal - Marca el bloque como opaque para que aparezca como ocupado en el calendario - Verifica el resultado con gws calendar +agenda ## Use it when - Quieres proteger horas de trabajo profundo reservando tiempo recurrente en el calendario ## What triggers it - "Bloquea tiempo de enfoque recurrente en mi calendario de 9 a 11 de lunes a viernes" - "Crea un evento recurrente en Google Calendar para proteger mis horas de trabajo profundo" ## Before you install - Requiere el binario gws y tener cargada la skill gws-calendar. ## Files - SKILL.md — 987 B ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # 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` --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/recipe-block-focus-time