Agent skill

Email Triage

by borghei in borghei/Claude-Skills

Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates.

MITAuto-check passedProductivity & Automation

Install Email Triage

skills CLI
$ npx skills add borghei/Claude-Skills --skill email-triage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills email-triage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/personal-productivity/email-triage .claude/skills/email-triage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
email-triage
GitHub stars
886
Token cost
~928 tokens
SKILL.md length
397 words
Files
4 (incl. scripts, references, assets)
Skills in repo
354
Repo updated
First seen
Licence
MIT

At a glance

Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates.

  • Works in 3 steps: Export inbox to CSV with columns:… → Run: python scripts/email_classifier.py… → Review action buckets; act on each in…
  • Tasks that involve Email management
  • SKILL.md covers Keywords, Clarify First, Quick Start and Core Workflows, plus 4 more sections
  • Runs Python scripts from its folder; calls python

What it does

Email Triage is an agent skill from borghei/Claude-Skills. Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates. Use after a busy week, running inbox zero, or triaging email overload.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts, reference files and assets (for example `assets/gmail_filter_template.md`, `references/inbox_zero_method.md` and `scripts/email_classifier.py`).

It sits in Productivity & Automation, covering Email management. It works with Gmail. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Tasks that involve Email management

Example prompts

  • “/email-triage”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Export inbox to CSV with columns: subject,sender,snippet,received_at
  2. Run: python scripts/email_classifier.py inbox.csv
  3. Review action buckets; act on each in order

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Email Triage loads about 928 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 397 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~928
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 397 words, ~928 tokens.

Download SKILL.mdSave it as .claude/skills/email-triage/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
email-triage
description
Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates. Use after a busy week, running inbox zero, or triaging email overload.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
borghei
metadata.category
personal-productivity
metadata.domain
inbox
metadata.updated
2026-05-04
metadata.python-tools
email_classifier.py
metadata.tech-stack
email, productivity

Email Triage

Classify a batch of email subjects + senders into action buckets and surface inbox-zero candidates.


Keywords

email, inbox, inbox zero, triage, unsubscribe, mailing list, mailbox, gmail, outlook, productivity


Clarify First

Before triaging, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Inbox export fields — subject, sender, snippet drive classification accuracy; missing columns degrade the buckets
  • Priority / VIP senders — who always routes to reply_now regardless of content
  • Unsubscribe tolerance — purge all marketing vs keep newsletters you value; sets how aggressive the unsubscribe/delete buckets are

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.


Quick Start

  1. Export inbox to CSV with columns: subject,sender,snippet,received_at
  2. Run: python scripts/email_classifier.py inbox.csv
  3. Review action buckets; act on each in order

Core Workflows

Workflow 1: Weekly Inbox Triage
  1. Export the past week's inbox
  2. Run classifier
  3. Action in order: reply-now → reply-later (move to follow-up folder) → archive → unsubscribe → delete
  4. Apply Gmail filters (see assets/gmail_filter_template.md) so future similar emails route automatically

Time Estimate: 30-45 minutes for a busy week.

Workflow 2: Unsubscribe Pass
  1. Run classifier; review unsubscribe candidates
  2. Unsubscribe in batch (most senders honor unsubscribe links within ~10 days)
  3. For senders that don't honor, set Gmail filter to auto-delete

Time Estimate: 15 minutes per pass.

Show full SKILL.md (168 more words)Show less
Workflow 3: Inbox-Zero Reset
  1. Apply the full inbox-zero method from references/inbox_zero_method.md
  2. Move every email older than 30 days to archive (you'll find 1% later via search)
  3. Triage the remaining recent emails using the classifier

Time Estimate: 1-2 hours one-time; then 20 min/week to maintain.


Tools

email_classifier.py

Classifies email rows into action buckets using rule-based pattern matching on sender domain, subject line, and snippet.

bash
python scripts/email_classifier.py inbox.csv
python scripts/email_classifier.py inbox.csv --json

Action buckets:

  • reply_now — direct addressing, time-sensitive language, named-person sender
  • reply_later — informational threads, longer non-urgent
  • archive — receipts, confirmations, completed transactions
  • unsubscribe — newsletters, marketing, promotional
  • delete — spam patterns, low-signal senders
  • review — couldn't classify confidently

Reference Guides

  • references/inbox_zero_method.md — Method, daily routine, common pitfalls

Templates

  • assets/gmail_filter_template.md — Common Gmail filter recipes for the action buckets above

Best Practices

  • The 2-minute rule: if a reply takes < 2 minutes, do it now.
  • Don't archive instead of unsubscribing. Recurring senders compound — kill the source.
  • Process in batches. Constant inbox checking destroys focus more than email itself.
  • Inbox is not a to-do list. Move action items to a real task tool.

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references, assets) in personal-productivity/email-triage of borghei/Claude-Skills.

  • SKILL.md
  • assets/gmail_filter_template.md
  • references/inbox_zero_method.md
  • scripts/email_classifier.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Email Triage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Email Triage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Email Triage this skillborghei/Claude-Skills886—~928Automated safety check: PassMIT
Career-Ops Gmail Lead Plugincareer-ops-hq/career-ops74k—~233Automated safety check: NotesMIT
Gmailteam-attention/plugins-for-claude-natives827—~967Automated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Gmail Emailopen-gitagent/gitagent713—~235Automated safety check: NotesMIT
Google Workspaceyc-software/qm15k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Career-Ops Gmail Lead Plugin

    career-ops-hq/career-ops

    Pulls job leads from a Gmail label into the career-ops pipeline, extracting job URLs from DMARC-passing emails and de-duplicating against existing leads.

    74k GitHub stars~233 tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • Gmail

    team-attention/plugins-for-claude-natives

    This skill should be used when the user asks to "check email", "read emails", "send email", "reply to email", "search inbox", or manages Gmail.

    827 GitHub stars~967 tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Gmail Email

    open-gitagent/gitagent

    Send emails via Gmail SMTP using App Password authentication.

    713 GitHub stars~235 tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • Google Workspace

    yc-software/qm

    Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.

    15k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Gmcli

    badlogic/pi-skills

    Gmail CLI for searching emails, reading threads, sending messages, managing drafts, and handling labels/attachments.

    2.6k GitHub stars~470 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed

More from borghei/Claude-Skills

All 354 skills in this repo
  • Agent Harness

    borghei/Claude-Skills

    Test and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets.

    886 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    886 GitHub stars~4.2k tokensUpdated 2 days ago
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    886 GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    886 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Email Triage

What does Email Triage do?

Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates. Email Triage is an agent skill from borghei/Claude-Skills. Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates.

When should I use Email Triage?

Email Triage fits situations like: tasks that involve Email management.

How do I install Email Triage in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill email-triage -a claude-code`. Or copy the skill folder (personal-productivity/email-triage in borghei/Claude-Skills) into .claude/skills/email-triage in your project. Claude Code loads it when a task matches its description.

How do I install Email Triage in Codex?

Run `npx skills add borghei/Claude-Skills --skill email-triage -a codex`. Or copy the skill folder (personal-productivity/email-triage in borghei/Claude-Skills) into .agents/skills/email-triage in your project. Codex loads it when a task matches its description.

Can I use Email Triage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill email-triage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/email-triage, .gemini/skills/email-triage, .github/skills/email-triage and .opencode/skills/email-triage in your project.

What does Email Triage need to run?

Going by SKILL.md and its folder, Email Triage needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Email Triage access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Email Triage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Email Triage use?

Email Triage is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Email Triage use?

About 928 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 949 tokens, read only when the agent opens those files.

What are the alternatives to Email Triage?

Skills that share tags, products or a category with Email Triage: Career-Ops Gmail Lead Plugin (career-ops-hq/career-ops, 74k stars), Gmail (team-attention/plugins-for-claude-natives, 827 stars), Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars) and Gmail Email (open-gitagent/gitagent, 713 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Email Triage?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 886 GitHub stars. The repository holds 354 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.