Skip to content
Skillpedia
Tasks & projects32k · #6306

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

https://github.com/googleworkspace/cli/blob/main/skills/recipe-block-focus-time/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-block-focus-time/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
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-time

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-block-focus-time/SKILL.md -o SKILL.md
Technical 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

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills