/claude-code-status:gmail-checkfrom 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.
Ships in claude-code-status. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub seojaewan/claude-code-status --plugin claude-code-status9 skills in this plugin
/github-checkShow cached GitHub PR notification details, diagnose errors, guide authentication, and optionally force a fresh fetch. Use when status line shows github count or error./init-statuslineOne-command full setup — bootstrap data directory, wire settings.json, and populate cache. No restart required./jira-checkShow cached Jira open issue details, diagnose errors, guide authentication, and optionally force a fresh fetch. Use when status line shows jira count or error./slack-checkShow cached Slack unread details, diagnose errors, and optionally force a fresh fetch. Use when status line shows slack count or error./slack-setupSet up Slack integration — register token and select channels to monitor. Use when user wants to connect Slack to the status line./status-doctorCheck all external dependencies, authentication status, cache freshness, and configuration required by the claude-status plugin. Use when status line shows errors or after installation.