From claude-code-status
Show cached Gmail unread details, diagnose errors, and optionally force a fresh fetch. Use when status line shows Gmail count or error.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-status:gmail-checkThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Show Gmail unread message details from cache.
Show Gmail unread message details from cache.
! for Gmail and you want to diagnose the error.CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA:-$HOME/.claude/plugins/data/claude-code-status-claude-code-status}"
cat "$CLAUDE_PLUGIN_DATA/cache/gmail.json"
Parse the JSON. The items array contains the most recent unread messages (up to 10).
status is ok — display the itemsThe items array contains objects with:
| Field | Example |
|---|---|
title | Meeting agenda for tomorrow |
link | https://mail.google.com/mail/u/0/#inbox/18f3a2b1c4d5e6f7 |
meta.from | John Doe <[email protected]> |
meta.date | Mon, 24 Mar 2026 10:15:00 +0900 |
Present as a numbered list. Include the link for each message.
Note: value shows the total unread count, while items shows up to 10 most recent.
status is error — show error causeerrorKind | Likely cause | Recommended fix |
|---|---|---|
auth | Not logged in via gws | Run gws auth login |
dependency | gws CLI not installed | Run npm install -g @nicholasgasior/gws |
rate_limit | Gmail API quota exceeded | Wait a few minutes, then retry |
transient | Temporary network error | Force refresh |
CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA:-$HOME/.claude/plugins/data/claude-code-status-claude-code-status}"
rm -f "$CLAUDE_PLUGIN_DATA/locks/gmail.lock"
node "$CLAUDE_PLUGIN_DATA/runtime/dist/collect.js" --service gmail --force 2>&1
cat "$CLAUDE_PLUGIN_DATA/cache/gmail.json"
Then display the updated items.
Gmail unread: 7 (last updated: 2026-03-24T10:15:00Z)
Showing 7 most recent:
1. Meeting agenda for tomorrow
From: John Doe <[email protected]>
Date: Mon, 24 Mar 2026 10:15:00 +0900
https://mail.google.com/mail/u/0/#inbox/18f3a2b1c4d5e6f7
2. Deploy notification: production v2.3.1
From: CI Bot <[email protected]>
Date: Mon, 24 Mar 2026 09:30:00 +0900
https://mail.google.com/mail/u/0/#inbox/18f3a2b1c4d5e6f8
npx claudepluginhub seojaewan/claude-code-status --plugin claude-code-statusDisplays unread Gmail inbox summary (sender, subject, date) via CLI. Supports custom queries, max results, and labels for quick email triage.
Reads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.
Fetches Gmail inbox and presents emails as a fresh grouped list with letter-number identifiers. Useful for quickly reviewing recent emails and archiving via identifiers.