recipe-batch-invite-to-event
它能做什么
这个工具可以把多个人添加到你 Google Calendar 中已有的日程里,并会向所有参与者发送通知。
适用场景
- ✓想邀请一群朋友参加聚会时。
- ✓组织有多人参加的工作会议时。
- ✓忘记把某人加入已创建的日程时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-batch-invite-to-event/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把 alice@company.com、bob@company.com 和 carol@company.com 添加到“Project Meeting”日程中,完成后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先在你的 Google Calendar 中找到这个日程,然后添加你列出的邮箱地址,并发送更新。最后,它会检查是否都已正确添加。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Add Multiple Attendees to a Calendar Event
PREREQUISITE: Load the following skills to execute this recipe:
gws-calendar
Add a list of attendees to an existing Google Calendar event and send notifications.
Steps
- Get the event:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - Add attendees:
gws calendar events patch --params '{"calendarId": "primary", "eventId": "EVENT_ID", "sendUpdates": "all"}' --json '{"attendees": [{"email": "alice@company.com"}, {"email": "bob@company.com"}, {"email": "carol@company.com"}]}' - Verify attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
常见问题
需要安装 Google Calendar 吗?
需要。这个工具要和你的 Google Calendar 配合使用。
可以给已经结束的日程添加人员吗?
这个工具适用于未来或正在进行的日程,不适用于已经结束的日程。
如果我输错了邮箱会怎样?
邮箱错误的人不会被添加到日程中。确认之前,请仔细检查邮箱地址。
详情
作者的原始描述
Add a list of attendees to an existing Google Calendar event and send notifications.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9207
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …