Skip to content

Email a Google Drive File Link

Share a Google Drive file with someone and email them the link with a message

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

This skill gives an AI agent a step-by-step recipe for sharing a file from Google Drive and emailing its link. The agent searches Drive for a file by name, grants a specified person read-only access, then sends them a Gmail message containing the link. It relies on the gws command-line tool and two companion skills for Drive and Gmail.

Great for

  • Staff who regularly send reports or documents to clients and want the agent to handle the sharing and emailing
  • Developers or operations people already using the gws CLI who want a ready-made workflow
  • Anyone who wants a quick, repeatable way to share a Drive file with one recipient

Skip it if

  • Sharing with many people or publicly, since the recipe only grants access to one email address and can expose sensitive files if the wrong name or address is matched
  • Situations where the file name search may return multiple matches, because the recipe does not show a disambiguation step before sharing
  • Users without the gws tool installed and authenticated, since the recipe cannot run without it

Try asking

  • “Share the Quarterly Report file with client@example.com and email them the link”
  • “Find my budget spreadsheet in Drive, give reader access to finance@example.com, and send them a message with the link”
  • “Send the latest project proposal doc to a client with a short cover note”
Step-by-step guide: how to use Email a Google Drive File LinkInstall, 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-email-drive-link.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip recipe-email-drive-link.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip recipe-email-drive-link.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

  • Give the agent the exact file name and recipient address, and check the search results before it shares anything
  • Ask the agent to confirm the file ID and recipient before running the permission and send steps
  • Review the email body the agent drafts, since it is sent from your own Gmail account

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.