任务与项目32k · #9226
recipe-find-free-time
它能做什么
这个工具可以查看多个人的日历,找出大家都有空的时间段,方便你安排会议。它会检查每个人的空闲情况,并推荐一个所有人都有空的时间。
适用场景
- ✓需要和同事安排会议时。
- ✓想为一个小组找到大家都方便的时间时。
- ✓组织一场需要多人配合时间的活动时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-find-free-time/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/recipe-find-free-time/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add googleworkspace/cli --skill recipe-find-free-time
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-find-free-time/SKILL.md -o SKILL.md
可以这样问 AI
“帮我和约翰、玛丽找一下明天下午 2 点到 5 点之间的空闲时段。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会访问指定人员的日历,寻找所有人都有空的时间段。找到之后,它还可以帮你在该时间创建日程。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Find Free Time Across Calendars
PREREQUISITE: Load the following skills to execute this recipe:
gws-calendar
Query Google Calendar free/busy status for multiple users to find a meeting slot.
Steps
- Query free/busy:
gws calendar freebusy query --json '{"timeMin": "2024-03-18T08:00:00Z", "timeMax": "2024-03-18T18:00:00Z", "items": [{"id": "user1@company.com"}, {"id": "user2@company.com"}]}' - Review the output to find overlapping free slots
- Create event in the free slot:
gws calendar +insert --summary 'Meeting' --attendee user1@company.com --attendee user2@company.com --start '2024-03-18T14:00:00' --end '2024-03-18T14:30:00'
常见问题
我需要有其他人日历的访问权限吗?
不需要。这个工具只查询日历中的“空闲”或“忙碌”状态,看不到具体的日程内容。
我能用它查找不同公司之间的空闲时间吗?
目前,这个工具在同一个组织内部,或者日历已设置为共享空闲信息的情况下,效果最好。
如果没有人有空会怎样?
工具会告诉你,在你指定的时间段内找不到共同的空闲时段。
详情
作者的原始描述
Query Google Calendar free/busy status for multiple users to find a meeting slot.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9226
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …