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 從公開儲存庫中收錄這些內容。

檢舉或申請下架