recipe-block-focus-time — Claude Code skill: how to install
Sets up recurring focus time blocks in Google Calendar to protect deep work hours. Works directly through the gws CLI tool.
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a claude-codeWhat recipe-block-focus-time does
This skill configures automated focus slots in your primary Google Calendar. It inserts a recurring event named Focus Time from Monday to Friday with opaque status, ensuring teammates see you as busy during deep work windows.
Under the hood, the recipe executes gws calendar events insert with JSON parameters specifying start time, end time, and weekday recurrence rules. It then checks the calendar state by calling gws calendar +agenda. Running this recipe requires the gws binary and the gws-calendar skill.
Install this recipe if you schedule your calendar commitments through Google Workspace command-line tools. Without the gws executable available in your path, the commands cannot complete.
What it helps with
- block recurring focus time slots on Google Calendar
- mark weekday deep work hours as busy
- verify calendar availability using the gws agenda command
Example prompts for the agent
- Block focus time on my Google Calendar for weekday mornings
- Schedule a recurring deep work block using gws
- Protect my morning hours for deep work from Monday to Friday
How to install recipe-block-focus-time
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a claude-code2Manually: put the files in place
~/.claude/skills/recipe-block-focus-time/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recipe-block-focus-time/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a codex2Manually: put the files in place
.agents/skills/recipe-block-focus-time/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a cursor2Manually: put the files in place
.cursor/skills/recipe-block-focus-time/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install googleworkspace/cli recipe-block-focus-time2Manually: put the files in place
.github/skills/recipe-block-focus-time/SKILL.md1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a gemini-cli2Platform CLI
gemini skills install https://github.com/googleworkspace/cli --path skills/recipe-block-focus-timeManually: put the files in place
.devin/skills/recipe-block-focus-time/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-block-focus-time -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set95
The whole set →Similar
Questions about recipe-block-focus-time
How do I install recipe-block-focus-time in Claude Code?
Run npx skills add googleworkspace/cli --skill recipe-block-focus-time -a claude-code. The recipe will be stored at ~/.claude/skills/recipe-block-focus-time/SKILL.md.
What does recipe-block-focus-time do?
It inserts a recurring weekday Focus Time event into your primary calendar using gws calendar events insert and confirms the schedule with gws calendar +agenda.
What are the prerequisites for recipe-block-focus-time?
You need the gws binary installed and the gws-calendar skill loaded before executing this recipe.
Source text
SKILL.md · Apache-2.0
---
name: recipe-block-focus-time
description: "Create recurring focus time blocks on Google Calendar to protect deep work hours."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "scheduling"
requires:
bins:
- gws
skills:
- gws-calendar
---
# 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`
© googleworkspace · Apache-2.0 · googleworkspace/cli