recipe-skills: Command for Claude Code

.claude/commands/gmail-recipes.md

gmail-recipes is a command for Claude Code from workato-devs/recipe-skills. It costs 0 tokens per session (803 once invoked), scanned A, original, MIT.

A set of Gmail instructions for creating Workato recipes. Workato is an automation platform that connects services and runs step-by-step workflows.

In plain words
What is it for?
Sending emails and attachments, finding messages, reading message details, managing labels, and exposing Gmail operations through callable or web recipes.
Why use it?
It explains how to work around the Gmail connector's limited built-in actions and use Gmail searches or API requests correctly.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is workato-devs/recipe-skills's own configuration. It tells Claude Code how to work on recipe-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything recipe-skills configures →

Part of the recipe-skills plugin — 8 skills, 7 commands shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to workato-devs/recipe-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/workato-devs/recipe-skills/main/.claude/commands/gmail-recipes.md
Clone the repo
git clone --depth 1 https://github.com/workato-devs/recipe-skills

Made for: Claude Code.

Or install recipe-skills, the plugin that ships this one along with the rest of its 8 skills, 7 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gmail-recipes

README.md
[![agentmods](https://agentmods.dev/badge/commands/workato-devs/recipe-skills/gmail-recipes.svg)](https://agentmods.dev/commands/workato-devs/recipe-skills/gmail-recipes)
Your own site
<a href="https://agentmods.dev/commands/workato-devs/recipe-skills/gmail-recipes"><img src="https://agentmods.dev/badge/commands/workato-devs/recipe-skills/gmail-recipes.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00803
Opus 5 $0.00000 $0.00402
Sonnet 5 $0.00000 $0.00161
Haiku 4.5 $0.00000 $0.00080

Measured 8d ago against content hash 2d47bc963749, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

gmail-recipes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/gmail-recipes.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gmail Recipes Skill

DEPENDENCY: Run /workato-recipes first if not already loaded. This skill requires the base Workato knowledge for triggers, control flow, datapills, and recipe structure.

You are now equipped with Gmail-specific knowledge for writing Workato recipes using the native Gmail connector (gmail).

Capabilities

With this skill loaded, you can:

  • Create recipes that send emails (text/HTML) with attachments
  • Create recipes that list and search emails with Gmail query syntax
  • Create recipes that get full message details
  • Create recipes that manage labels (create, list, apply, remove)
  • Create callable API endpoint recipes for Gmail operations

Gmail Connector

The native Gmail connector provides:

  • Built-in send_mail action for sending emails
  • Adhoc HTTP actions for direct Gmail REST API calls

Connector Limitations

The native connector is built on Gmail REST API v1 with a hardcoded base URL. This means:

  • Limited built-in actions (only send_mail)
  • Most operations require adhoc HTTP calls
  • Cannot access newer API features not in v1

If users need unsupported functionality, recommend they:

  1. Check the Workato Community Library for updated connectors
  2. Consider a custom SDK connector
  3. Use the HTTP connector with custom OAuth

Gmail-Specific Knowledge

Provider

Always use gmail for the native connector:

"provider": "gmail"

Gmail API Base URL

For adhoc HTTP actions:

https://www.googleapis.com/gmail/v1/users/

Datapill Paths (CRITICAL)

Native actions return data without body wrapper:

"path": ["id"]
"path": ["threadId"]

Adhoc HTTP actions wrap responses in body:

"path": ["body", "messages"]
"path": ["body", "id"]

Optional Parameters Pattern

For optional query parameters, use .presence || skip:

"data": {
  "maxResults": "=_dp('{...}').presence || skip",
  "q": "=_dp('{...}').presence || skip"
}

Reference Files

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 113 lines · 0 tokens per session scan A 2d47bc963749

Subscribe to this mod's changes

gmail-recipes is a command published in the GitHub repository workato-devs/recipe-skills (18 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 803 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.