recipe-share-doc-and-notify — Claude skill: share a Google Doc, email
Grants a collaborator edit access to a Google Docs file and emails them the link. Useful when a document has to go out for review in one step.
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a claude-codeWhat recipe-share-doc-and-notify does
The skill is a three-step recipe. It looks up a document in Google Drive by name and the application/vnd.google-apps.document type, creates a permission with the writer role for a given address, then sends an email containing the file link.
Everything runs through gws commands: gws drive files list, gws drive permissions create, gws gmail +send. The recipe itself does nothing until three skills are loaded — gws-drive, gws-docs and gws-gmail — and the gws binary has to be on the machine.
Worth installing if your team keeps documents in Google Docs and you hand out access by hand. If you work in another editor or grant access through groups, this recipe saves you little.
What it helps with
- find a Drive document by name and MIME type
- grant editor access to a specific address
- email a collaborator the document link
- hand a brief off for review in one command
Example prompts for the agent
- Find the Project Brief doc in Google Docs and give [email protected] edit access
- Email [email protected] the link to Project Brief
- Share the document with writer access and notify the collaborator
How to install recipe-share-doc-and-notify
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a claude-code2Manually: put the files in place
~/.claude/skills/recipe-share-doc-and-notify/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recipe-share-doc-and-notify/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a codex2Manually: put the files in place
.agents/skills/recipe-share-doc-and-notify/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a cursor2Manually: put the files in place
.cursor/skills/recipe-share-doc-and-notify/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install googleworkspace/cli recipe-share-doc-and-notify2Manually: put the files in place
.github/skills/recipe-share-doc-and-notify/SKILL.md1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a gemini-cli2Platform CLI
gemini skills install https://github.com/googleworkspace/cli --path skills/recipe-share-doc-and-notifyManually: put the files in place
.devin/skills/recipe-share-doc-and-notify/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set95
The whole set →Similar
Questions about recipe-share-doc-and-notify
How do I install recipe-share-doc-and-notify in Claude?
Run npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a claude-code. The skill lands in ~/.claude/skills/recipe-share-doc-and-notify/SKILL.md.
What does recipe-share-doc-and-notify do?
It finds a Google Docs document, gives the address you name writer access, and sends an email with the link.
What does the skill need to run?
The gws binary plus the gws-drive, gws-docs and gws-gmail skills loaded — without them the recipe steps fail.
Source text
SKILL.md · Apache-2.0
---
name: recipe-share-doc-and-notify
description: "Share a Google Docs document with edit access and email collaborators the link."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-drive
- gws-docs
- gws-gmail
---
# 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
1. Find the doc: `gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}'`
2. Share with editor access: `gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}'`
3. 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'`
© googleworkspace · Apache-2.0 · googleworkspace/cli