Skip to content

Share Google Doc and Notify

Share a Google Doc with edit access and email the link to collaborators via gws CLI

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

Once installed, the agent can find a Google Docs file by name, give a named person editor (writer) access to it through Google Drive, and send them an email with the document link through Gmail. It works by running the gws command-line tool with the Drive and Gmail actions described in the skill's steps, so the agent is acting on the user's real Google account.

Great for

  • Team members who regularly share project documents with reviewers and want the agent to handle both the sharing and the notification
  • People already using the gws command-line tool with a configured Google Workspace account

Skip it if

  • Anyone who wants to share with view-only access or on a public link, since the recipe is hard-wired to editor (writer) access and a specific email address; this could grant more access than intended
  • Situations where the email or doc should be checked before sending, since the steps run the share and send without a confirmation step

Try asking

  • “Share the Project Brief doc with reviewer@company.com and email them the link”
  • “Give editor access to my Q3 planning document to a colleague and notify them”
Step-by-step guide: how to use Share Google Doc and NotifyInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    recipe-share-doc-and-notify.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip recipe-share-doc-and-notify.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip recipe-share-doc-and-notify.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Replace the example email address and DOC_ID placeholders with real values, and confirm the search returns the correct document before sharing
  • Check the recipient list carefully, because the share grants edit rights and the email is sent immediately

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.