Skip to content

Block Focus Time on Google Calendar

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

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

Once installed, the agent can set up a repeating 'Focus Time' event on your Google Calendar, such as weekday mornings from 9 to 11, marked as busy so others see you as unavailable. It uses the gws command-line tool to create the event and then checks your agenda to confirm it appears. The skill is a short recipe; it depends on the gws-calendar skill and the gws tool being available.

Great for

  • Professionals who want recurring protected time for deep work on their Google Calendar
  • Users of the gws command-line tool who want a quick way to schedule focus blocks from an agent

Skip it if

  • Users who do not use Google Calendar, since the skill only works with it
  • Anyone expecting the agent to pick the right times automatically: the example uses a fixed date, time zone and weekday pattern that you must adjust yourself, and a wrong edit could put events in the wrong place on a shared calendar

Try asking

  • “Block 9am to 11am every weekday on my primary calendar as Focus Time”
  • “Set up a recurring deep work block on my Google Calendar and then show me my agenda to confirm it is busy”
  • “Protect two hours each weekday morning on my calendar for focused work”
Step-by-step guide: how to use Block Focus Time on Google CalendarInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    recipe-block-focus-time.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip recipe-block-focus-time.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip recipe-block-focus-time.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Edit the example start and end dates, time zone and weekday pattern before running so the recurrence matches your schedule; the sample date is fixed in January 2025.
  • Check the created event in Google Calendar yourself, since the agent will run a command that writes to your real calendar.
  • Make sure the gws tool is installed and signed in to the intended account before asking the agent to run this recipe.

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.