/personal:gmail-triagefrom personal
Triage Gmail with the `gws` CLI: classify inbox threads into labels, create labels on demand, and bulk-file the results of a mailbox-wide search. Use when the user wants mail sorted, labeled, filed, archived, or moved to a folder, and on the softer phrasings that mean the same thing, such as "clean up my inbox", "where did that receipt go", "organize this mess".
Ships in personal. 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.
Read when SKILL.md points to them; scripts run unread.
Classify and file Gmail threads with scripts/gmail.py, a wrapper over
gws gmail. Every Gmail action goes through it, including the ones the
Gmail MCP tools also offer.
Rows are tab-separated: thread_id, IN/blank (in inbox?), from, subject.
gmail.py labels # user labels -> label_id \t name
gmail.py inbox [max] # inbox threads, ready to classify
gmail.py search "<gmail query>" [max] # same rows, any Gmail search
gmail.py create-label "<Name>" # make a label, prints its id
gmail.py move <label_id> <tid>... # apply label + drop INBOX
gmail.py label <label_id> <tid>... # apply label, thread stays in inbox
Labels are addressed by id (Label_5), never display name. System ids:
INBOX TRASH SPAM STARRED UNREAD IMPORTANT SENT DRAFT.
A move applies the label and drops INBOX. A label tags the thread
where it sits. "Move it to a tag/folder" reads as either one casually, so ask
which the user means when the context doesn't settle it.
gmail.py labels builds the id↔name map.gmail.py inbox, or gmail.py search "<query>" for a mailbox-wide sweep.gmail.py move <label_id> <tid...>. One call per label, with every
thread id for that label batched into it.Move a thread on a confident sender/subject match. Undo is manual and per-thread, with no bulk equivalent, so the cost is asymmetric: an ambiguous thread goes on the list for the user rather than into a label.
ulisboa.pt hits every University of Lisbon faculty; "faculdade de ciências" hits Porto (fc.up.pt) and Lisbon (ciencias.ulisboa.pt) at
once. Read the from column of a search before moving anything, and file
the rows whose sender domain actually matches the target label.
"file everything from GitHub notifications under Dev, and move the Amazon order confirmations to Orders"
Dev: 6 moved ([email protected])
Orders: 3 moved ([email protected], [email protected])
Left in inbox: 1 (ambiguous, "Re: your order" from a personal address)
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/gmail-create-filterCreate Gmail filters with the `gws` CLI: rules that label, archive, star, or forward mail as it arrives. Use when the user wants future mail handled automatically, on phrasings like "always label these", "auto-archive that newsletter", "keep this sender out of my inbox", "set up a filter", "star anything from my boss"./herdrControl Herdr, a terminal multiplexer for coding agents. Use only when the user explicitly mentions Herdr or asks to use Herdr to inspect or control panes, tabs, workspaces, commands, or another agent. Do not use merely because a task could benefit from a background terminal, delegation, or parallel work. Requires HERDR_ENV=1.npx claudepluginhub joaopinto15/skills --plugin personal