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.
npx skills add googleworkspace/cli --skill recipe-email-drive-link -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/recipe-email-drive-link/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/recipe-email-drive-link/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-email-drive-link -a codex2Manually: put the files in place
.agents/skills/recipe-email-drive-link/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-email-drive-link -a cursor2Manually: put the files in place
.cursor/skills/recipe-email-drive-link/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install googleworkspace/cli recipe-email-drive-link2Manually: put the files in place
.github/skills/recipe-email-drive-link/SKILL.md1Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-email-drive-link -a gemini-cli2Platform CLI
gemini skills install https://github.com/googleworkspace/cli --path skills/recipe-email-drive-linkManually: put the files in place
.devin/skills/recipe-email-drive-link/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add googleworkspace/cli --skill recipe-email-drive-link -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set95
The whole set →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