claude/skills/gws-gmail/SKILL.md
Read and search Gmail emails. Check inbox, search messages, and view email threads.
npx skillsauth add tbroadley/dotfiles gws-gmailInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
See
../gws-shared/SKILL.mdfor auth, global flags, and CLI syntax.
gws gmail <resource> <method> [flags]
gws gmail +triage
gws gmail +triage --max 5 --query 'from:boss'
gws gmail +triage --format json | jq '.[].subject'
gws gmail users messages list --params '{"userId":"me","maxResults":10}'
gws gmail users messages list --params '{"userId":"me","q":"is:unread","maxResults":20}'
gws gmail users messages get --params '{"userId":"me","id":"MESSAGE_ID","format":"full"}'
gws gmail users messages get --params '{"userId":"me","id":"MESSAGE_ID","format":"metadata"}'
gws gmail users threads get --params '{"userId":"me","id":"THREAD_ID","format":"full"}'
gws gmail users labels list --params '{"userId":"me"}'
gws gmail users getProfile --params '{"userId":"me"}'
Use the q parameter with Gmail search syntax:
| Query | Description |
|-------|-------------|
| is:unread | Unread messages |
| is:starred | Starred messages |
| from:[email protected] | From specific sender |
| to:[email protected] | To specific recipient |
| subject:hello | Subject contains "hello" |
| has:attachment | Has attachments |
| filename:pdf | Has PDF attachment |
| after:2024/01/01 | After date |
| before:2024/01/31 | Before date |
| newer_than:7d | Last 7 days |
| older_than:1m | Older than 1 month |
| label:work | Has label |
| in:inbox | In inbox |
| in:sent | In sent |
Combine queries: from:[email protected] subject:urgent after:2024/01/01
users.getProfile, users.stop, users.watchusers.drafts — CRUD on draftsusers.history — Mailbox change historyusers.labels — Label managementusers.messages — List, get, send, modify, trash, deleteusers.settings — Filters, forwarding, IMAP/POP, etc.users.threads — Thread operations+triage helper is read-only and never modifies your mailboxminimal, metadata, raw, fullsnippet field gives a preview without needing to decode the bodytools
Add words to the Wispr Flow dictionary. Use when the user wants to add a word, phrase, or snippet to Wispr Flow for voice dictation.
documentation
Upload images to a GitHub PR description or comment using a shared gist as image hosting. Use when the user wants to add plots, screenshots, or other images to a PR.
testing
Manage tasks, projects, and productivity in Todoist. View tasks, add new items, check completed work, and organize projects.
data-ai
Use when working with stacked diffs (branch B based on branch A, which is based on main).