recipe-share-event-materials
它能做什么
这个工具可以把 Google 云端硬盘中的文件分享给 Google 日历活动的所有参与者。这就像给参加会议的每个人发送一份带附件的邀请。
适用场景
- ✓希望所有与会者都能查看一份重要文档时。
- ✓会议前,确保大家都拿到了相关资料时。
- ✓会议结束后,把会议纪要或录音分享给与会者时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-share-event-materials/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把文件“final_report.pdf”分享给我 Google 日历中“Project X Meeting”活动的参与者。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会先从你的日历活动中获取所有参与者的邮箱。然后,它会向每个邮箱发送邀请,让对方可以查看你在 Google 云端硬盘中选定的文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Share Files with Meeting Attendees
PREREQUISITE: Load the following skills to execute this recipe:
gws-calendar,gws-drive
Share Google Drive files with all attendees of a Google Calendar event.
Steps
- Get event attendees:
gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}' - Share file with each attendee:
gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}' - Verify sharing:
gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table
常见问题
文件必须放在 Google 云端硬盘中吗?
是的,你想分享的文件必须保存在 Google 云端硬盘中。
谁可以使用这个工具?
只要设置好了 Google 日历和 Google 云端硬盘的人都可以使用。
我可以选择对方能否编辑文件吗?
默认情况下,对方只能查看文件(即“reader”权限)。如果需要其他权限,你需要向工具更明确地说明。
详情
作者的原始描述
Share Google Drive files with all attendees of a Google Calendar event.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9243
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …