/odh-google-workspace:gmail-draft [subject]from odh-google-workspace
Composes a Gmail draft from text content in the conversation. Accepts body, recipient list, and subject, then creates a draft in the user's Gmail Drafts folder via gws.
Ships in odh-google-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Compose a Gmail draft from text content provided in the conversation.
gws binary must be on $PATHgws auth login (not --readonly)If gws is not installed or authentication fails, tell the user to follow the
setup instructions in the google-workspace skill.
Helper scripts are located in ${CLAUDE_SKILL_DIR} and require Python 3.10+.
Collect the three required inputs. Sources depend on how the skill was invoked:
email-meeting-summary): recipients, subject,
and body are passed in context — use them directly.AskUserQuestion to collect any that are
missing:
Show the user the draft details before creating:
To: <recipients>
Subject: <subject>
<body>
Ask:
"Does this look right? Reply with any edits, or say 'send' to create the draft."
Incorporate edits and re-present until the user approves.
Write the body to a temp file, then call create_draft.py:
BODY_FILE=$(mktemp /tmp/gmail_draft_body.XXXXXX)
cat > "$BODY_FILE" << 'BODY_EOF'
<approved body text>
BODY_EOF
python3 "${CLAUDE_SKILL_DIR}/scripts/create_draft.py" \
--to "<recipients>" \
--subject "<subject>" \
--body-file "$BODY_FILE"
On success, tell the user:
"Draft created. You can find it in the Drafts folder in Gmail at https://mail.google.com/mail/#drafts. Review it before sending."
If the script exits with an error, show the error message and suggest the user
check gws auth login permissions (the Gmail scope must include draft
creation).
| Situation | Action |
|---|---|
gws not found | Tell user to install gws and add it to PATH |
| Auth error (401/403) | Tell user to run gws auth login (without --readonly) |
create_draft.py fails | Show error; check Gmail scope in gws auth login |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub opendatahub-io/ai-helpers --plugin odh-google-workspace3 skills in this plugin
/email-meeting-summaryUse when the user wants to summarize a Google Meet meeting and send the summary by email. Reviews a Google Meet transcript for a specific meeting topic, then composes a Gmail draft summarizing decisions and action items for that topic. Prompts for meeting selection if not specified, and for topic selection before drafting. Stops with a message if the transcript is not yet available./google-workspaceFetch and query data from Google Workspace using the gws CLI — Gmail, Calendar, Docs, Sheets, Slides, and Drive. Use this skill whenever the user mentions email, inbox, messages, calendar, meetings, schedule, agenda, Google Docs, spreadsheets, presentations, or Drive files. Trigger on phrases like "check my email", "what meetings do I have", "read this doc", "open this spreadsheet", "find files in Drive", or any Google URL (docs.google.com, drive.google.com).
3 plugins in one repository ship this exact skill · first indexed Jul 10, 2026
Other plugins' skills for the same job