Skills gws-gmail-triage
📦

gws-gmail-triage

Safe ⚙️ External commands📁 Filesystem access

Manage Gmail Inbox Efficiently

Quickly scan and prioritize unread Gmail messages without opening your browser. This skill provides sender, subject, and date information to help you triage your inbox efficiently.

Supports: Claude Codex Code(CC)
🥉 73 Bronze
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "gws-gmail-triage". Show me my unread Gmail messages

Expected outcome:

Displays a formatted table with columns for sender, subject, and date for up to 20 unread messages

Using "gws-gmail-triage". Export unread messages to JSON and extract the subject lines

Expected outcome:

Returns JSON array of message objects, then filters and displays only the subject fields using jq

Security Audit

Safe
v1 • 4/12/2026

Static analysis detected 13 potential security issues, all are FALSE POSITIVES. The 'external_commands' patterns appear in markdown code blocks showing command-line usage examples. The 'filesystem' patterns are relative markdown links to other documentation files. The 'weak cryptography' patterns match text in YAML description and markdown table headers, not actual cryptographic implementations. This is a documentation-only skill that provides instructions for using the Google Workspace CLI tool.

1
Files scanned
52
Lines analyzed
2
findings
1
Total audits
Audited by: claude

Quality Score

38
Architecture
100
Maintainability
85
Content
50
Community
100
Security
83
Spec Compliance

What You Can Build

Quick Inbox Scan

Rapidly review new unread emails to identify urgent messages requiring immediate attention

Targeted Email Search

Find specific unread messages from important senders using Gmail query filters

Batch Email Processing

Export unread message data to JSON for automated analysis or integration with other tools

Try These Prompts

Basic Unread Scan
Show me my unread Gmail messages
Limited Results
Show the last 5 unread messages from my boss
Custom Query
Find unread messages with the label 'urgent' and show them with labels
JSON Export
Export unread messages to JSON and extract just the subject lines

Best Practices

  • Start with the basic command without flags to get a quick overview of your unread inbox
  • Use the --max flag to limit results when you only need to see the most recent messages
  • Combine with Gmail search queries using --query to filter by sender, date, label, or other criteria
  • Pipe JSON output to jq or other tools when you need to extract specific fields or process data programmatically

Avoid

  • Do not expect to read full message content—this tool only shows metadata (sender, subject, date)
  • Do not use for bulk email management—this is a read-only triage tool, not a management interface
  • Do not forget to run 'gws generate-skills' if you get a 'missing shared skill' error

Frequently Asked Questions

Does this tool modify my Gmail messages or labels?
No. This tool operates in read-only mode and only displays message metadata. It never modifies your mailbox.
What do I need before using this skill?
You must have the Google Workspace CLI (gws) installed and have completed Gmail authentication setup. Run 'gws gmail +triage --help' if you need help.
Can I search for specific types of messages?
Yes. Use the --query flag with any Gmail search query. For example: '--query from:boss' or '--query is:important'.
How do I see more or fewer messages in the results?
Use the --max flag to set the maximum number of messages displayed. The default is 20 messages.
Can I export the results to other tools?
Yes. Add '--format json' to output in JSON format, then pipe to jq or other tools for processing.
What does the --labels flag do?
It adds a column showing Gmail label names for each message, helping you understand message categorization.

Developer Details

File structure

📄 SKILL.md