Recipe Share Event Materials
Published by googleworkspace in cli
No known issues27k installs
What this skill does
Share Google Drive files with all attendees of a Google Calendar event.
Add Recipe Share Event Materials to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "recipe-share-event-materials" from https://github.com/googleworkspace/cliInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-event-materialsSkill instructions
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
Files included
- SKILL.md

