agentleFS
gaofeng21cngaofeng21cn/opl-skills/skills/mail-triage/SKILL.md

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

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    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.

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
  1. Very specific:

    Use this skill with apple-mail when the request is primarily:

    line 19
  2. Very specific:

    Use codex-mail-workbench instead when the request requires:

    line 26
  3. Distinctive:

    Before making personal triage or routing judgments, read the OPL Relay private workspace entry point when it exists:

    line 39
  4. Very specific:

    Use $OPL_RELAY_WORKSPACE/AGENTS.md when OPL_RELAY_WORKSPACE is set.

    line 42
  5. Distinctive:

    Follow the required read order from that entry point.

    line 44
  6. Distinctive:

    Keep route identifiers isolated:

    line 53
  7. Distinctive:

    Never translate, substitute, or combine these handles.

    line 57
  8. Distinctive:

    Read the shared private policy entry point when available.

    line 63
  9. Distinctive:

    Start with lightweight metadata, not full bodies:

    line 64
  10. Distinctive:

    Keep messages required by the shared private policy.

    line 70
  11. Distinctive:

    If the current email does not explain enough context, use thread-aware search with the best available clue.

    line 85
  12. Distinctive:

    Read 1-2 related emails from the returned thread context only if the current email still lacks enough detail.

    line 91
  13. Very specific:

    If a decision requires complete-inbox coverage, fresh IMAP state, stable batch handles, or recipient evidence Apple Mail cannot expose, …

    line 92
  14. Distinctive:

    Use model knowledge first.

    line 99
  15. Distinctive:

    If the journal quality is uncertain, use a dedicated search or retrieval tool to inspect official journal or publisher pages.

    line 100
  16. Distinctive:

    If the journal is still unfamiliar, weak, spammy, or hard to verify, treat it as not worth attention and ignore it.

    line 103
  17. Distinctive:

    If the user may not remember the thread context, reconstruct it from the current email and the related thread results.

    line 119
  18. Distinctive:

    Use concise Chinese output and the shared private report contract when it was loaded.

    line 123
  19. Very specific:

    Prefer triage-meta over recent for daily screening because it is lighter and faster.

    line 136
  20. Very specific:

    Treat search as the main tool for context recovery after a candidate email is identified.

    line 137
  21. Distinctive:

    Do not browse unless the journal quality is uncertain or the user explicitly wants verification.

    line 138
  22. Very specific:

    Do not claim IMAP freshness, complete-inbox coverage, or a storage_ref from the Apple Mail route.

    line 142

≈ “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.

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

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:

  1. Use $OPL_RELAY_WORKSPACE/AGENTS.md when OPL_RELAY_WORKSPACE is set.
  2. Otherwise use ~/.opl-relay/workspaces/default/AGENTS.md when present.
  3. 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, and mailboxPath tuple.
  • 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

  1. Select the Apple Mail route and load apple-mail first.
  2. Read the shared private policy entry point when available.
  3. 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"
  1. 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
  1. For each kept email, use the exact id, account, and mailboxPath to read the body:
python3 ~/.codex/skills/apple-mail/scripts/apple_apps.py mail read --id <id> --account "<account>" --mailbox-path "<mailbox>"
  1. 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
  1. Read 1-2 related emails from the returned thread context only if the current email still lacks enough detail.
  2. 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-workbench and 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-meta over recent for daily screening because it is lighter and faster.
  • Treat search as 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_ref from the Apple Mail route.

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.