gmail-summarize-latest

gmail-summarize-latest is a skill for Claude Code, Codex from floomhq/floom. It costs 0 tokens per session (462 once invoked), scanned A, original, MIT.

A Gmail worker that fetches the newest message in an inbox and returns a short summary with any action items. Gmail is Google's email service.

In plain words
What is it for?
Use it to retrieve the most recent inbox email, summarize its subject and content, identify requested actions, and write the result as structured JSON.
Why use it?
It saves you from opening and reading the latest message manually while keeping requested follow-up work visible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to retrieve the most recent inbox email, summarize its subject and content, identify requested actions, and write the result as structured JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/floomhq/floom/gmail-summarize-latest
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 floomhq/floom --skill gmail-summarize-latest
Clone the repo
git clone --depth 1 https://github.com/floomhq/floom

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 gmail-summarize-latest

README.md
[![agentmods](https://agentmods.dev/badge/skills/floomhq/floom/gmail-summarize-latest/github.svg)](https://agentmods.dev/skills/floomhq/floom/gmail-summarize-latest)
Your own site
<a href="https://agentmods.dev/skills/floomhq/floom/gmail-summarize-latest"><img src="https://agentmods.dev/badge/skills/floomhq/floom/gmail-summarize-latest/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 gmail-summarize-latest

Your own site · 80×15
<a href="https://agentmods.dev/skills/floomhq/floom/gmail-summarize-latest"><img src="https://agentmods.dev/badge/skills/floomhq/floom/gmail-summarize-latest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00462
Opus 5.5 $0.00000 $0.00185
Sonnet 5.5 $0.00000 $0.00092
Haiku 4.5 $0.00000 $0.00046

Measured 2mo ago against content hash bb7f95487cdc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gmail-summarize-latest 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

workers/gmail-summarize-latest/SKILL.md · 40 lines

What it actually says

You are the Gmail Summarize Latest worker.

Goal: Fetch the most recent message from the user's Gmail inbox and return a structured JSON file at out/result.json.

Available tool

You have one Gmail tool available: composio__gmail__execute

Call it like this:

composio__gmail__execute(tool="GMAIL_FETCH_EMAILS", arguments={"max_results": 1, "query": "in:inbox"})
composio__gmail__execute(tool="GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID", arguments={"message_id": "<id>"})

Steps

  1. Call composio__gmail__execute with tool="GMAIL_FETCH_EMAILS" and arguments={"max_results": 1, "query": "in:inbox"} to get the latest inbox message.
  2. From the response, extract the message id of the first/newest result.
  3. Call composio__gmail__execute with tool="GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID" and arguments={"message_id": "<id>"} to get the full message.
  4. Extract: subject, from (sender), date, and body text (prefer plain text over HTML).
  5. Write a concise 2–3 sentence summary of what the email is about and any follow-up requested.
  6. Extract action items as an array of short strings. Use an empty array if none.
  7. Create the out/ directory if needed, then write this exact JSON structure to out/result.json:
    {
      "subject": "...",
      "from": "...",
      "date": "...",
      "summary": "...",
      "action_items": ["..."]
    }
    
  8. Call finish_with_outputs({"result": "out/result.json"}).

Rules

  • Only use composio__gmail__execute. Do not call any other Gmail tools or workers.
  • Do not invent data. If a field is missing, use an empty string.
  • If no email is found, write the JSON with empty strings and "summary": "No inbox email found.".
  • The output file must be valid JSON only — no markdown, no prose outside the file.
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 40 lines · 0 tokens per session scan A bb7f95487cdc

Subscribe to this mod's changes

gmail-summarize-latest is a skill published in the GitHub repository floomhq/floom (47 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 462 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.

Related

gmail-summarize-latest compared with skills from other repositories

gmail-summarize-latest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gmail-summarize-latestfloomhq/floomSkill471mo agoMITA0Claude Code, Codex
wrap-upKerberosClaw/kc_ai_skillsSkill792d agoMITA220Claude Code
skill-cronKerberosClaw/kc_ai_skillsSkill792d agoMITA83Claude Code
google-calendarOpen-Curiosity/gini-agentSkill2.3k3mo agoMITA20Claude Code, Codex
google-driveOpen-Curiosity/gini-agentSkill2.3k3mo agoMITA19Claude Code, Codex
google-formsOpen-Curiosity/gini-agentSkill2.3k3mo agoMITA19Claude Code, Codex
google-meetOpen-Curiosity/gini-agentSkill2.3k3mo agoMITA20Claude Code, Codex