# Recipe Share Doc And Notify

Share a Google Docs document with edit access and email collaborators the link.

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -g -a gemini-cli -y`

## Description

Share a Google Docs document with edit access and email collaborators the link.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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": "reviewer@company.com"}'`
3. Email the link: `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'`


