Skip to content
Back to skills

Recipe Block Focus Time

ASecurity

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

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 28, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add fakoli/fakoli-plugins --skill recipe-block-focus-time --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recipe Block Focus Time?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recipe Block Focus Time
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fakoli-recipe-block-focus-time/badge)](https://www.skillsdirectory.com/skills/fakoli-recipe-block-focus-time)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recipe-block-focus-time
description: "Create recurring focus time blocks on Google Calendar to protect deep work hours."
trigger:
  - keyword: block focus time
  - keyword: deep work
  - keyword: focus block
version: 1.0.0
---

# Block Focus Time on Google Calendar

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

## When to Use

Use this workflow when the user wants to block off recurring time for deep work, focus sessions, or protected time on their calendar.

## Workflow

### 1. Check existing schedule

Review the current week to find good slots for focus time:

```bash
gws calendar +agenda --week --format table
```

### 2. Confirm details with the user

Ask the user for:
- **Days** — which weekdays (e.g., Mon-Fri, or specific days)
- **Time window** — start and end time
- **Timezone** — their local timezone
- **Title** — what to call the block (default: "Focus Time")

### 3. Create the recurring block

Use `--dry-run` first to preview:

```bash
gws calendar events insert \
  --params '{"calendarId": "primary"}' \
  --json '{"summary": "Focus Time", "description": "Protected deep work block", "start": {"dateTime": "START_TIME", "timeZone": "TIMEZONE"}, "end": {"dateTime": "END_TIME", "timeZone": "TIMEZONE"}, "recurrence": ["RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR"], "transparency": "opaque"}' \
  --dry-run
```

Confirm with the user, then execute without `--dry-run`.

### 4. Verify it shows as busy

```bash
gws calendar +agenda --format table
```

## Safety

- Always `--dry-run` before creating recurring events — they're hard to undo in bulk
- Set `"transparency": "opaque"` so the block shows as "busy" to others

## Tips

- Use `RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR` for specific days
- Add `COUNT=12` to the RRULE to limit to 12 weeks instead of indefinitely

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.