
The recipe-share-doc-and-notify skill automates the process of sharing Google Docs documents with collaborators by finding a specific document, granting editor access to specified users, and sending them an email notification with the document link. It targets Google Workspace users who need to quickly distribute documents for collaborative review without manually managing permissions and sending separate emails. The skill solves the inefficiency of juggling multiple Google Workspace services to share documents and notify recipients.
$ npx -y skills add googleworkspace/cli --skill recipe-share-doc-and-notify --agent claude-codeInstalls into .claude/skills of the current project.
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.
gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "reviewer@company.com"}'gws gmail +send --to reviewer@company.com --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'Sponsors