recipe-create-events-from-sheet
它能做什么
这个工具可以从 Google Sheets 表格中读取活动信息,并在你的 Google Calendar 中创建对应的日程。就像把清单上的活动一条条复制粘贴到日历里一样。
适用场景
- ✓当你在表格里整理了一份预约清单时。
- ✓想一次性把多个活动添加到日历中时。
- ✓和多人一起组织活动,且详细信息都记在表格里时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-create-events-from-sheet/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请使用“Appointments”标签页中“Weekly Events”工作表的 A、B、C、D 列,在日历中创建活动。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会先读取你的 Google Sheets 表格数据。然后,对于每一行包含活动信息的数据,它都会在你的 Google Calendar 中新建一个活动,并填入对应的详细信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create Google Calendar Events from a Sheet
PREREQUISITE: Load the following skills to execute this recipe:
gws-sheets,gws-calendar
Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row.
Steps
- Read event data:
gws sheets +read --spreadsheet SHEET_ID --range "Events!A2:D" - For each row, create a calendar event:
gws calendar +insert --summary 'Team Standup' --start '2026-01-20T09:00:00' --end '2026-01-20T09:30:00' --attendee alice@company.com --attendee bob@company.com
常见问题
我需要同时拥有 Google Sheets 和 Google Calendar 吗?
需要。表格要用 Google Sheets 保存,工具要在 Google Calendar 中创建活动,所以两者都需要有访问权限。
表格需要包含哪些信息?
表格需要有活动名称、开始日期和时间、结束日期和时间,以及参与者邮箱等几列。
我能给活动添加更多细节吗?
工具只会使用表格里已有的信息。如果想添加更多细节,需要先在表格中增加相应的列,再使用这个工具。
详情
作者的原始描述
Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9215
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …