Recipe share doc and notify
Skill googleworkspace/cli/skills/recipe-share-doc-and-notify
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
npx -y skills add googleworkspace/cli --skill recipe-share-doc-and-notifyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Share a Google Docs document with edit access and email collaborators the link.
SKILL.md
1.1 KB, as published. Nobody here has run it
Share a Google Doc and Notify Collaborators
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive,gws-docs,gws-gmail
Share a Google Docs document with edit access and email collaborators the link.
Steps
- Find the doc:
gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}' - Share with editor access:
gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - Email the link:
gws gmail +send --to [email protected] --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'