Recipe Block Focus Time

作者 googleworkspacea3768d0e82ad无许可证31K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

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

AI 生成的概览

在 Google 日历上创建重复的专注时间块,以保护深度工作时间。

功能
该配方指示代理使用 gws calendar 命令在主 Google 日历上插入每周重复的专注时间块,包含摘要、描述、开始与结束时间、工作日重复规则以及不透明(忙碌)状态。随后通过查看日程来确认该时间块显示为忙碌。它生成的是日历事件,而不是文件。
适用场景
当你希望在 Google 日历中按重复方式预留受保护的深度工作时间时使用。它适合需要每周工作日重复专注时间块,并确认该时段显示为忙碌的日程安排。
运行要求
需要 gws 命令行工具和 gws-calendar 技能,并通过该工具访问 Google 日历。不附带脚本,仅为说明性指令。

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

来源与署名

来源:googleworkspace/cli位于skills/recipe-block-focus-time提交a3768d0

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架