Inbox triage

From mkurman/zorai · View interactive version

Inbox triage is an AI agent skill from the GitHub repository mkurman/zorai. Use when the user wants an inbox cleanup summary, morning email triage, scheduled inbox sweep, or a concise action-oriented Gmail digest delivered to chat.

How to use this skill

Skill file

Inbox Triage

Use this skill to turn a Gmail inbox scan into a short, actionable triage summary.

When to use

Inputs you need

Fetch pattern

Gmail inbox triage is a two-step retrieval flow.

  1. List inbox message IDs.
  2. Fetch details for the most relevant messages.
  3. Bucket messages into actionable groups.
  4. Summarize next actions, not raw email data.

Core Gmail calls:

{"plugin_name": "gmail", "endpoint_name": "list_inbox", "params": {"max_results": 10}}

Then fetch message details:

{"plugin_name": "gmail", "endpoint_name": "get_message", "params": {"message_id": "ID_HERE"}}

Optional filtered search:

{"plugin_name": "gmail", "endpoint_name": "search_messages", "params": {"query": "is:unread", "max_results": 10}}

Triage buckets

Summarize messages into these buckets when possible:

If certainty is low, label the bucket as inferred.

Summary format

Keep the result concise and operational.

Example outline:

Inbox triage

Messages scanned: 10
Needs reply: 3
Needs action: 2
Can archive: 4
High priority: 1

Top actions:
- Reply to Alice about project timeline
- Review document request from Bob
- Archive status update thread from ops

Action guidance

Where useful, recommend follow-up actions such as:

Use Gmail plugin actions only when the user explicitly asks to modify mailbox state.

Delivery

For chat delivery, send the final concise summary through one of:

Only deliver after the summary is readable and skim-friendly.

Routine compatibility

This skill is routine-friendly.

Typical trigger windows:

Error handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.