Methodologygeneric
recipe-share-event-materials
Share Google Drive files with all attendees of a Google Calendar event.
googleworkspace/cli
Install
Use with your agent
Install the recipe-share-event-materials skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-share-event-materials. Then read the installed skill.md and follow its guidance to build or refactor my project.
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": "[email protected]"}' - Verify sharing:
gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table