360 Secure SkillHub
360 安全技能中心

recipe-share-event-materials

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

分类:协作
googleworkspace
热度 72.34
最近更新 2026-10-18 17:15:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace/cli/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