Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Google

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add googleworkspace/cli --skill recipe-share-doc-and-notify -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/recipe-share-doc-and-notify/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-share-doc-and-notify/

From the same set95

The whole set →
gws-gmail official googleworkspace This skill hands your agent Gmail: send mail, read the inbox, reply in a thread. Useful when email work already runs through the gws CLI. Claude Code CX Codex Cursor +1 81,900installs gws-gmail-send official googleworkspace A skill that teaches your agent to send Gmail from the terminal: recipients, subject, body, attachments and drafts. Claude Code CX Codex Cursor +1 74,700installs gws-drive official googleworkspace This skill hands your agent Google Drive through the gws CLI: files, folders, shared drives, comments and access requests. Useful when docs move through code. Claude Code CX Codex Cursor +1 74,500installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs gws-calendar official googleworkspace Manage Google Calendar events, access rules, and schedules through the gws CLI tool. Claude Code CX Codex Cursor +1 61,100installs gws-sheets official googleworkspace This skill lets an agent read and edit Google Sheets through the CLI. Use it when a coding workflow needs spreadsheet data or table updates. Claude Code CX Codex Cursor +1 58,800installs gws-docs official googleworkspace This skill lets an agent read and update Google Docs through gws. Use it when document changes should happen from an agent chat. Claude Code CX Codex Cursor +1 58,300installs gws-sheets-read official googleworkspace Reads cell values and sheets from Google Spreadsheets via CLI. Useful when an agent needs spreadsheet data without risk of altering it. Claude Code CX Codex Cursor +1 50,600installs

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor