Agent skill

recipe-share-doc-and-notify

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

Stars 24,434
Forks 1,240

Install this agent skill to your Project

npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/recipe-share-doc-and-notify

Metadata

Additional technical details for this skill

version
0.22.5
openclaw
{
    "domain": "productivity",
    "category": "recipe",
    "requires": {
        "bins": [
            "gws"
        ],
        "skills": [
            "gws-drive",
            "gws-docs",
            "gws-gmail"
        ]
    }
}

SKILL.md

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'

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results