recipe-block-focus-time

Recurring focus time blocks on Google Calendar to protect deep work hours. Creates weekly recurring focus blocks (Monday–Friday by default) that display as busy time, preventing calendar conflicts Requires the gws-calendar skill and uses Google Calendar's recurrence rules for flexible scheduling Includes verification step to confirm blocks appear correctly in calendar agenda view

INSTALLATION
npx skills add https://github.com/googleworkspace/cli --skill recipe-block-focus-time
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

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
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card