/recipe-draft-email-from-doc
Read content from a Google Doc and use it as the body of a Gmail message.
$ npx -y skills add googleworkspace/cli --skill recipe-draft-email-from-doc --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/recipe-draft-email-from-doc
Context preview
The summary Claude sees to decide when to auto-load this skill.
Read content from a Google Doc and use it as the body of a Gmail message.
SKILL.md
recipe-draft-email-from-doc.SKILL.mdname: recipe-draft-email-from-doc
description: "Read content from a Google Doc and use it as the body of a Gmail message."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-docs
- gws-gmailDraft a Gmail Message from a Google Doc
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-docs`, `gws-gmail`
Read content from a Google Doc and use it as the body of a Gmail message.
Steps
1. Get the document content: `gws docs documents get --params '{"documentId": "DOC_ID"}'` 2. Copy the text from the body content 3. Send the email: `gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'`
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Repo: googleworkspace/cli
Other skills on cli.
- /gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
Open skill - /gws-calendar-agenda
Google Calendar: Show upcoming events across all calendars.
Open skill - /gws-calendar-insert
Google Calendar: Create a new event.
Open skill - /gws-calendar
Google Calendar: Manage calendars and events.
Open skill - /gws-chat-send
Google Chat: Send a message to a space.
Open skill - /gws-chat
Google Chat: Manage Chat spaces and messages.
Open skill

