agentleFS
julismanjulisman/virtual-worker/skills/productivity/email-triage/SKILL.md

Email Triage

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Read today's inbox via connected Gmail MCP tools and classify every message into Urgent / Needs action / FYI, with a 1-2 line summary (sender + ask) for each urgent item. Read-only unless the user explicitly confirms an action.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Fetch: Use the Gmail MCP's list/search tool to get messages in the window (query for messages after the window start).

    line 20
  2. Distinctive:

    No Gmail MCP → stop at step 1: Never scrape mail via the control browser as a fallback.

    line 47
  3. Very specific:

    Do not quote full email bodies into the report — summarize.

    line 48
  4. Distinctive:

    If the window has more than ~50 messages, triage the newest 50 and say how many were left out.

    line 50
  5. Very specific:

    If a message is unreadable (encrypted, empty snippet), list it under FYI as <sender>: <subject> (could not read) — never guess its content.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Email Triage

Triage today's inbox into Urgent / Needs action / FYI and report it — touch nothing without explicit confirmation.

Inputs

  • Time window — default: today (since 00:00 local). The user may widen it ("since Monday", "last 3 days").
  • Scope — default: inbox only, unread + read. Skip spam/trash always.

Steps

  1. Check the tool. Look for connected Gmail MCP tools on this agent (names vary by server — scan your tool list for a Gmail/mail MCP). If none is attached, tell the user: "No Gmail MCP is connected — add one in Agents → MCP, then re-run." and STOP. Do not try browser_open on Gmail or any other workaround.
  2. Fetch. Use the Gmail MCP's list/search tool to get messages in the window (query for messages after the window start). For each message capture: sender, subject, date, and enough body/snippet to know the ask. Read-only calls only.
  3. Classify. Load the rubric — load_skill_resource({"slug": "email-triage", "path": "references/triage-rubric.md"}) — and assign each message exactly one bucket: Urgent, Needs action, or FYI. When in doubt between two buckets, pick the lower-severity one and note the doubt.
  4. Summarize urgent. For every Urgent item write 1-2 lines: <sender> — <what they ask> — <deadline if stated>. Never paraphrase a deadline loosely; quote dates as written.
  5. Report. Present the triage in the output format below, in one message.
  6. Actions only on confirmation. If the user then asks you to reply, archive, label, delete, or forward: restate exactly what you will do to which message, ask "Confirm?", and only act after they say yes in a later message. One confirmation covers one action, not a session.

Output format

📬 Inbox triage — <window>, <n> messages

🔴 Urgent (<n>)
1. <sender> — <ask in one line> — <deadline>
   <optional second line of context>

🟡 Needs action (<n>)
- <sender>: <subject> — <what's needed>

⚪ FYI (<n>)
- <sender>: <subject>

End with: "Want me to draft a reply or act on any of these? I'll confirm before doing anything." Reply in the user's language.

Rules

  • Never send, reply, delete, archive, label, or mark-read without explicit confirmation in a later user message. Triage itself is strictly read-only.
  • No Gmail MCP → stop at step 1. Never scrape mail via the control browser as a fallback.
  • Do not quote full email bodies into the report — summarize. Email content stays in this chat; never deliver or forward it anywhere the user didn't name.
  • Newsletters/notifications are FYI by default even if they say "urgent" (see the rubric's spam-urgency note).
  • If the window has more than ~50 messages, triage the newest 50 and say how many were left out; offer to continue.
  • If a message is unreadable (encrypted, empty snippet), list it under FYI as <sender>: <subject> (could not read) — never guess its content.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.