mail-triage
Skill0 starsChanged 7 days agoApache-2.0View on GitHub
Use when triaging today's new emails through Apple Mail, filtering review invitations, or explaining manuscript status updates and thread context; route full-inbox, multi-day, synced, or auditable work to codex-mail-workbench.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- aashari/ai-agent-skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- aashari/ai-agent-skills★ 7same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- academic-defense-prepSkill
- apple-mailSkill
- evidence-bound-closeoutSkill
- external-learning-landingSkill
- xiaohongshu-repo-scoutSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 15 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Use this skill with apple-mail when the request is primarily:
- Very specific: line 26
Use codex-mail-workbench instead when the request requires:
- Distinctive: line 39
Before making personal triage or routing judgments, read the OPL Relay private workspace entry point when it exists:
- Very specific: line 42
Use $OPL_RELAY_WORKSPACE/AGENTS.md when OPL_RELAY_WORKSPACE is set.
- Distinctive: line 44
Follow the required read order from that entry point.
- Distinctive: line 53
Keep route identifiers isolated:
- Distinctive: line 57
Never translate, substitute, or combine these handles.
- Distinctive: line 63
Read the shared private policy entry point when available.
- Distinctive: line 64
Start with lightweight metadata, not full bodies:
- Distinctive: line 70
Keep messages required by the shared private policy.
- Distinctive: line 85
If the current email does not explain enough context, use thread-aware search with the best available clue.
- Distinctive: line 91
Read 1-2 related emails from the returned thread context only if the current email still lacks enough detail.
- Very specific: line 92
If a decision requires complete-inbox coverage, fresh IMAP state, stable batch handles, or recipient evidence Apple Mail cannot expose, …
- Distinctive: line 99
Use model knowledge first.
- Distinctive: line 100
If the journal quality is uncertain, use a dedicated search or retrieval tool to inspect official journal or publisher pages.
- Distinctive: line 103
If the journal is still unfamiliar, weak, spammy, or hard to verify, treat it as not worth attention and ignore it.
- Distinctive: line 119
If the user may not remember the thread context, reconstruct it from the current email and the related thread results.
- Distinctive: line 123
Use concise Chinese output and the shared private report contract when it was loaded.
- Very specific: line 136
Prefer triage-meta over recent for daily screening because it is lighter and faster.
- Very specific: line 137
Treat search as the main tool for context recovery after a candidate email is identified.
- Distinctive: line 138
Do not browse unless the journal quality is uncertain or the user explicitly wants verification.
- Very specific: line 142
Do not claim IMAP freshness, complete-inbox coverage, or a storage_ref from the Apple Mail route.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Mail Triage
Overview
This skill is the lightweight Apple Mail path for deciding which new emails are
worth attention. It is optimized for same-day screening, academic inboxes,
review invitations, manuscript status updates, and ongoing conversations. It is
a companion to codex-mail-workbench, not a replacement for it.
Route Selection
Choose exactly one mailbox-fact route before inspecting messages.
Use this skill with apple-mail when the request is primarily:
- a quick screen of today's new mail;
- explicitly about Apple Mail or Mail.app;
- dependent on UI-local mailbox, read/unread, or message state;
- a narrow thread or status lookup that does not require a fresh IMAP sync.
Use codex-mail-workbench instead when the request requires:
- the complete current inbox, multiple dates, or every configured account;
- explicit IMAP sync freshness or broad historical search;
- bulk classification, cleanup, or an auditable batch operation;
- stable manuscript first-author routing across recipient headers and history.
Honor a route the user names explicitly. Do not scan the same request through both routes. If the Apple Mail screen reveals that the workbench is required, state the handoff and restart fact gathering there instead of combining results.
Shared Private Policy
Before making personal triage or routing judgments, read the OPL Relay private workspace entry point when it exists:
- Use
$OPL_RELAY_WORKSPACE/AGENTS.mdwhenOPL_RELAY_WORKSPACEis set. - Otherwise use
~/.opl-relay/workspaces/default/AGENTS.mdwhen present. - Follow the required read order from that entry point.
The overlay supplies policy and personal context only. While this route is
active, mailbox facts still come exclusively from Apple Mail; do not run
codex-mail merely to apply the shared policy. If the overlay is unavailable,
continue with this skill's built-in rules and
references/journal-evaluation.md, and state
that private policy coverage was unavailable.
Keep route identifiers isolated:
- Apple Mail uses the exact
id,account, andmailboxPathtuple. - Mail Bench uses
storage_ref. - Never translate, substitute, or combine these handles. Execute a follow-up operation only through the route that produced its handle.
Workflow
- Select the Apple Mail route and load
apple-mailfirst. - Read the shared private policy entry point when available.
- Start with lightweight metadata, not full bodies:
python3 ~/.codex/skills/apple-mail/scripts/apple_apps.py mail triage-meta --limit 8 --include-read --on-date "YYYY-MM-DD"- Keep messages required by the shared private policy. Without that overlay, keep at least:
- review invitations
- manuscript status updates
- manuscript conversations or follow-up threads
- editorial responsibilities
- direct academic, business, collaborator, or institutional requests
- For each kept email, use the exact
id,account, andmailboxPathto read the body:
python3 ~/.codex/skills/apple-mail/scripts/apple_apps.py mail read --id <id> --account "<account>" --mailbox-path "<mailbox>"- If the current email does not explain enough context, use thread-aware search with the best available clue. The clue can be a manuscript id, title fragment, sender, order number, project name, meeting code, or any other structured identifier.
python3 ~/.codex/skills/apple-mail/scripts/apple_apps.py mail search --account "<account>" --query "<manuscript id or title fragment>" --limit 10 --include-read- Read 1-2 related emails from the returned thread context only if the current email still lacks enough detail.
- If a decision requires complete-inbox coverage, fresh IMAP state, stable batch
handles, or recipient evidence Apple Mail cannot expose, hand off to
codex-mail-workbenchand restart that part of the inspection there.
Review Invitations
- Extract the journal name from the subject, sender, and body.
- Use model knowledge first. If the journal is clearly reputable and well known, keep it.
- If the journal quality is uncertain, use a dedicated search or retrieval tool to inspect official journal or publisher pages; follow the active browser routing policy only when page interaction is needed.
- If the journal is still unfamiliar, weak, spammy, or hard to verify, treat it as not worth attention and ignore it.
Read references/journal-evaluation.md when
judging invitation quality if the shared private overlay does not provide a
more specific rule.
Status Updates And Conversations
These emails must not be summarized as title-only notifications. Explain:
- which manuscript this is about
- what exactly changed
- whether review is complete, proof is ready, revision is reactivated, or someone is waiting for your response
- what this means in the current thread context
- whether you likely need to act
If the user may not remember the thread context, reconstruct it from the current email and the related thread results.
Output Format
Use concise Chinese output and the shared private report contract when it was loaded. For each email worth attention, include:
- email type
- manuscript or journal name
- what happened
- why it matters
- whether action is needed
For low-value review invitations, one short dismissal line is enough.
Notes
- Prefer
triage-metaoverrecentfor daily screening because it is lighter and faster. - Treat
searchas the main tool for context recovery after a candidate email is identified. - Do not browse unless the journal quality is uncertain or the user explicitly wants verification.
- For web checks, prefer official sources through the active research route.
- Reading shared policy never grants permission to send, delete, archive, move, or mark mail.
- Do not claim IMAP freshness, complete-inbox coverage, or a
storage_reffrom the Apple Mail route.
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
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.

