gw-inbox

gw-inbox is a skill for Claude Code from Elnora-AI/elnora-google-workspace. It costs 59 tokens per session (555 once invoked), scanned A, original, Apache-2.0.

An inbox-scanning tool that shows recent emails with their sender, subject, date, and a short preview.

In plain words
What is it for?
Use it to scan recent or unread Gmail messages, check a specific account, list drafts, and open a chosen email.
Why use it?
It gives you a quick view of incoming mail without opening messages one by one. It is for checking email, not sending or replying.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the google-workspace plugin — 13 skills, 4 commands, 1 agent shipped together

Good fit Use it to scan recent or unread Gmail messages, check a specific account, list drafts, and open a chosen email.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Elnora-AI/elnora-google-workspace
Claude Code
/plugin install google-workspace

Made for: Claude Code.

Or install google-workspace, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 1 agent.

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 gw-inbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-inbox/github.svg)](https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-inbox)
Your own site
<a href="https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-inbox"><img src="https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-inbox/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 gw-inbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-inbox"><img src="https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-inbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 555 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.00059 $0.00555
Opus 5 $0.00030 $0.00278
Sonnet 5 $0.00012 $0.00111
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

gw-inbox 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 12d 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.

skills/gw-inbox/SKILL.md · 58 lines

What it actually says

Inbox Scan

Quick scan of recent emails. For full operations (send, draft, reply), use gw-gmail.

Invocation

CLI="python3 ${CLAUDE_PLUGIN_ROOT}/cli/gw.py"

Commands

# Recent emails (default: last 24h)
$CLI gmail scan [--since "1d"] --compact

# Unread emails with more control
$CLI gmail list --query "is:unread" --limit 10 --compact

# Specific account
$CLI gmail scan --since "3d" --account work --compact

# List drafts (use this, not `list --query in:drafts`, if you need draftIds for chaining)
$CLI gmail list-drafts [--query "..."] [--limit 20] --compact

Response Shape (validated)

scan and list return: {"messages":[{"id","threadId","from","to","subject","date","snippet","labelIds"}],"count","query"}

list-drafts (and list --query "in:drafts", which auto-routes) returns a different shape: {"drafts":[{"draftId","id","threadId","from","to","subject","date","snippet","labelIds"}],"count","query"} — note the top-level drafts key instead of messages, and each entry includes draftId for chaining into get-draft/update-draft/send-draft/delete-draft.

Read a specific email

$CLI gmail get MESSAGE_ID --compact

Returns: {"id","threadId","from","to","subject","date","snippet","labelIds","body"}

Account Routing

Accounts are user-defined in accounts.json (see gw auth list / gw auth login --account <name>); the names and emails below are only examples.

Account Example email Typical use
--account main [email protected] Primary inbox (default)
--account work [email protected] Work / outreach inbox
--account personal [email protected] Personal inbox
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. 12d ago First seen · 58 lines · 59 tokens per session scan A 8df0bd3cb9ef

Subscribe to this mod's changes

gw-inbox is a skill published in the GitHub repository Elnora-AI/elnora-google-workspace (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 59 tokens to every session and 555 once invoked, about $0.0003 per session on Opus 5. 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-31.

Related

Other skills, from other repositories

managing-google-workspace

Manages Google Workspace operations across 12 services (Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Contacts, Chat, Apps Script, Custom Search). Supports MCP tools or CLI via uvx workspace-mcp --cli. Provides tool routing, workflows, and parameter guidance for 114 tools. Triggers for "check my email"…

taylorwilsdon/google_workspace_mcp · 123 tokens

alive:system-cleanup

The world feels messy. Stale tasks, orphan folders, v2 remnants, unsaved sessions — entropy is accumulating and needs to be addressed before it compounds. Scans across all walnuts, then surfaces issues one at a time.

alivecontext/alive · 52 tokens

alive:world

The human doesn't know what to work on, or wants to see everything at once. They need the big picture — what's active, what's stale, what needs attention. Renders a live world view grouped by ALIVE domain, then routes to open, tidy, find, history, or map.

alivecontext/alive · 63 tokens

alive:bundle

Create, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation.

alivecontext/alive · 34 tokens

alive:settings

The human wants to adjust how the system behaves — not what it contains, but how it feels. Voice, rhythm, preferences, walnut-level config, full permissions toggleable, named squirrel config, action logging toggle. The system adapting to them. Routes to preferences.yaml or walnut config.yaml depending on scope. For…

alivecontext/alive · 84 tokens

alive-cleanup

System maintenance -- stale tasks, orphan folders, unsaved sessions, world health check.

alivecontext/alive · 20 tokens