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

recipe-email-drive-link — Claude skill: share a Drive file, email

This skill shares a Google Drive file with a recipient and sends them an email containing the link. Useful when reports go out to clients by hand.

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

What recipe-email-drive-link does

The skill is a three-step recipe. It looks up a file by name with gws drive files list, grants reader access to a specific email address, then sends the link through gws gmail +send.

What's inside: the gws commands in order, plus a note that two skills must be loaded first — gws-drive and gws-gmail. The gws binary itself has to be on your machine.

Worth installing if you already drive Google Workspace from the terminal and want the agent to handle the handoff. If you don't use gws, or you share files through the web UI, skip it.

What it helps with

  • find a Drive file by name
  • grant document access to one person
  • send an email with the file link
  • deliver a report to a client without touching the browser

Example prompts for the agent

  • find the Quarterly Report file on Drive and share it with [email protected]
  • share the document with the client and email them the link
  • grant reader access to the report and message the recipient

How to install recipe-email-drive-link

1Skills CLI (Vercel)

npx skills add googleworkspace/cli --skill recipe-email-drive-link -a claude-code

2Manually: put the files in place

~/.claude/skills/recipe-email-drive-link/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recipe-email-drive-link/

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-email-drive-link

How do I install recipe-email-drive-link in Claude?

Run npx skills add googleworkspace/cli --skill recipe-email-drive-link -a claude-code. The skill lands in ~/.claude/skills/recipe-email-drive-link/SKILL.md.

What does recipe-email-drive-link do?

It shares a Google Drive file with a recipient and emails them the link. Everything runs through gws commands.

What do I need before using it?

The gws binary plus the gws-drive and gws-gmail skills loaded. Without them the recipe steps won't run.

Source text

SKILL.md · Apache-2.0
---
name: recipe-email-drive-link
description: "Share a Google Drive file and email the link with a message to recipients."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-drive
        - gws-gmail
---

# Email a Google Drive File Link

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`, `gws-gmail`

Share a Google Drive file and email the link with a message to recipients.

## Steps

1. Find the file: `gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}'`
2. Share the file: `gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}'`
3. Email the link: `gws gmail +send --to [email protected] --subject 'Quarterly Report' --body 'Hi, please find the report here: https://docs.google.com/document/d/FILE_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