recipe-save-email-attachments

recipe-save-email-attachments is a skill for Claude Code, Codex from shigechika/gws-mcp. It costs 20 tokens per session (276 once invoked), scanned A, a copy of recipe-save-email-attachments, Apache-2.0.

A file-handling recipe that finds Gmail messages with attachments, downloads the files, and uploads them to a Google Drive folder.

In plain words
What is it for?
It helps collect documents such as client files from email into an organized Drive folder.
Why use it?
It removes the repeated downloading and filing needed to save email attachments centrally.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It helps collect documents such as client files from email into an organized Drive folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shigechika/gws-mcp/recipe-save-email-attachments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shigechika/gws-mcp --skill recipe-save-email-attachments
Clone the repo
git clone --depth 1 https://github.com/shigechika/gws-mcp

Made for: Claude Code, Codex.

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 recipe-save-email-attachments

README.md
[![agentmods](https://agentmods.dev/badge/skills/shigechika/gws-mcp/recipe-save-email-attachments/github.svg)](https://agentmods.dev/skills/shigechika/gws-mcp/recipe-save-email-attachments)
Your own site
<a href="https://agentmods.dev/skills/shigechika/gws-mcp/recipe-save-email-attachments"><img src="https://agentmods.dev/badge/skills/shigechika/gws-mcp/recipe-save-email-attachments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recipe-save-email-attachments

Your own site · 80×15
<a href="https://agentmods.dev/skills/shigechika/gws-mcp/recipe-save-email-attachments"><img src="https://agentmods.dev/badge/skills/shigechika/gws-mcp/recipe-save-email-attachments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 276 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 100% copy Near-identical to another mod 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.00020 $0.00276
Opus 5 $0.00010 $0.00138
Sonnet 5 $0.00004 $0.00055
Haiku 4.5 $0.00002 $0.00028

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

Security

Grade A, and why

recipe-save-email-attachments 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 9d 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.

Origin

This is a copy

100% identical to recipe-save-email-attachments — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/recipe-save-email-attachments/SKILL.md · 30 lines

What it actually says

Save Gmail Attachments to Google Drive

PREREQUISITE: Load the following skills to execute this recipe: gws-gmail, gws-drive

Find Gmail messages with attachments and save them to a Google Drive folder.

Steps

  1. Search for emails with attachments: gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:[email protected]"}' --format table
  2. Get message details: gws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}'
  3. Download attachment: gws gmail users messages attachments get --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'
  4. Upload to Drive folder: gws drive +upload --file ./attachment.pdf --parent FOLDER_ID
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. 9d ago First seen · 30 lines · 20 tokens per session scan A 8efd6a6944b9

Subscribe to this mod's changes

recipe-save-email-attachments is a skill published in the GitHub repository shigechika/gws-mcp (1 stars, last pushed 8d ago), licensed Apache-2.0. It adds 20 tokens to every session and 276 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to recipe-save-email-attachments, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

recipe-bulk-download-folder

List and download all files from a Google Drive folder.

googleworkspace/cli · 17 tokens

google-apps-script

Build Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF export, external API. Use whenever the user wants to automate a Google Sheet, build a Sheets menu / sidebar / dialog, hit a Sheets row from email or a…

jezweb/claude-skills · 89 tokens

pdf-tools-workflow

Run bounded, evidence-first PDF work through a separately configured PDF Tools MCP connection. Use for inspecting, comparing, filling, stamping, organizing, preparing for signature, validating, or returning PDFs when the source must remain unchanged and every result must be independently read back. Do not use as…

Open-Document-Alliance/PDF-Tools · 86 tokens

presentation-craft

Router for high-quality presentations. Orchestrates specialist sub-skills per stage: narrative (docs-product + seo-content) -> visual direction (frontend-design-taste) -> build (presentation-maker) -> UI/UX audit (frontend-perfection + deckaudit) -> export (presentation-maker pptx/pdf). Encodes a research-backed…

bestdeejay-design/agent-skills · 106 tokens

pdf-report-builder

A converter that turns Markdown, a plain-text document format often used for README files and technical notes, into a PDF report.

bestdeejay-design/agent-skills · 180 tokens

pdf-calendar-extractor

Extract text and identifying colored regions (e.g., rectangles) from a PDF using pdfplumber.

cxcscmu/SkillLearnBench · 25 tokens