recipe-block-focus-time
Lets your agent create focus time blocks on Google Calendar. This helps ensure you have uninterrupted time for deep work.
What it does
This tool creates time blocks on your Google Calendar so you can focus on important tasks. It schedules these blocks repeatedly to ensure your deep work time is protected.
When to use it
- ✓When you need uninterrupted time for a project.
- ✓To ensure you have time for thinking and planning.
- ✓To prevent other meetings from being scheduled over your focused work time.
Example of what to ask your AI
“Schedule a focus time block every week, Monday to Friday, from 9 AM to 11 AM.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool uses a command to add recurring events to your Google Calendar. It labels the event 'Focus Time' and marks you as busy during that period.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add googleworkspace/cli --skill recipe-block-focus-timeOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-block-focus-time/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- 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"}' - Verify it shows as busy:
gws calendar +agenda
FAQ
Do I need Google Calendar installed?
Yes, this tool works with Google Calendar.
Can I choose the days and times?
Yes, you can specify which days of the week and times you want for your focus time.
What happens if I already have an appointment?
The tool marks you as busy but does not cancel other appointments. It's important to check your calendar to avoid conflicts.
Details
Original description by the author
Create recurring focus time blocks on Google Calendar to protect deep work hours.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #6306
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
Helps your agent get activity reports from Google Workspace. It collects audit and usage data.
googleworkspace/cli
gws-calendar-agenda
Helps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
googleworkspace/cli
gws-calendar-insert
Lets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
googleworkspace/cli
gws-calendar
Allows your agent to manage calendars and events. It's useful for organizing your life and work.
googleworkspace/cli
Similar skills
carrier-relationship-management
Manages relationships with carriers. It helps negotiate freight rates, evaluate performance, and build transportation strategies.
affaan-m/ECC
cost-tracking
Tracks and reports agent token usage and costs. It's useful for efficiently controlling spending and budgets.
affaan-m/ECC
plan-canvas
Opens plans and artifacts in a browser window for you to comment on. It makes giving visual feedback on needed changes easier.
affaan-m/ECC