gws-gmail-triage
Quickly summarize unread Gmail inbox messages with sender, subject, and date.
Works with
What it does
Displays up to 20 unread messages by default; customize with --max flag
Supports Gmail search queries via --query flag to filter beyond unread (e.g., from:boss )
Read-only operation; never modifies your mailbox
Optional --labels flag includes label names in output; supports JSON format for scripting
Installation Guide
How to use gws-gmail-triage on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- โบCursor installed and configured on your machine
- โบNode.js 16+ with npm โ verify with
node --version - โบActive project directory where you want to add
gws-gmail-triage
Run the install command
Execute the skills CLI command in your project's root directory to begin installation:
Fetches gws-gmail-triage from googleworkspace/cli and configures it for Cursor.
Select Cursor when prompted
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate gws-gmail-triage. Access via /gws-gmail-triage in your agent's command palette.
Security Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Documentation
gmail +triage
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Show unread inbox summary (sender, subject, date)
Usage
gws gmail +triage
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--max |
โ | 20 | Maximum messages to show (default: 20) |
--query |
โ | โ | Gmail search query (default: is:unread) |
--labels |
โ | โ | Include label names in output |
Examples
gws gmail +triage
gws gmail +triage --max 5 --query 'from:boss'
gws gmail +triage --format json | jq '.[].subject'
gws gmail +triage --labels
Tips
- Read-only โ never modifies your mailbox.
- Defaults to table output format.
See Also
- gws-shared โ Global flags and auth
- gws-gmail โ All send, read, and manage email commands
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort