360 Secure SkillHub
360 安全技能中心

Recipe Share Event Materials

该 Skill 是一个三步配方:先读取 Google 日历事件参会者,再为每位参会者授予 Google Drive 文件阅读权限,最后列出权限以验证共享结果。依赖 gws CLI 及 gws-calendar、gws-drive 技能,需要 Google Workspace 环境。

googleworkspace-bot
googleworkspace-bot
热度 73.85
最近更新 2026-05-11 17:31:45
分类:协作依赖:第三方 API应用场景:日程安排 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-share-event-materials
Metadata
name
recipe-share-event-materials
description
Share Google Drive files with all attendees of a Google Calendar event.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-calendar","gws-drive"]}}}

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

  1. Get event attendees: gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  2. Share file with each attendee: gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}'
  3. Verify sharing: gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table