Agent Skills
› googleworkspace/cli
› recipe-block-focus-time
recipe-block-focus-time
GitHub通过 Google Calendar API 创建每周重复的专注时间日程块,保护深度工作时间。需调用 gws-calendar 技能执行插入事件及验证操作。
Trigger Scenarios
用户需要设置固定的深度工作时段
用户希望在日历中屏蔽空闲状态以防止干扰
Install
npx skills add googleworkspace/cli --skill recipe-block-focus-time -g -y
SKILL.md
Frontmatter
{
"name": "recipe-block-focus-time",
"metadata": {
"version": "0.22.5",
"openclaw": {
"domain": "scheduling",
"category": "recipe",
"requires": {
"bins": [
"gws"
],
"skills": [
"gws-calendar"
]
}
}
},
"description": "Create recurring focus time blocks on Google Calendar to protect deep work hours."
}
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
Version History
- a3768d0 Current 2026-08-20 07:26


