Skill0 starsChanged 5 months agoMITView on GitHub
Triage your Apple Mail from a Mac. Pull recent messages, classify them, and flag the ones that need action. Use to check email, see what needs a reply, or run a recurring inbox triage (wrap in /loop).
8 other projects use a version of this.
Adopted by
Most recently taken up by
- rokokol/mail-skilltheir own version, first seen Nov 8, 2026
- outof-place/claude-acctheir own version, first seen Oct 15, 2026
- orangehrm/orangehrmtheir own version, first seen Oct 8, 2026
- andrewsoonqn/skillstheir own version, first seen Oct 8, 2026
- polycode-public/claude-code-idea-refinerytheir own version, first seen Aug 23, 2026
- FoneClaw-AI/foneclaw-androidtheir own version, first seen Jul 24, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- orangehrm/orangehrm★ 1.1ksame name
- FoneClaw-AI/foneclaw-android★ 21same name
- gofixpoint/amika-biz★ 3same name
- outof-place/claude-acc★ 2same name
- ai461/claudemail★ 1same name
- polycode-public/claude-code-idea-refinery★ 1same name
- andrewsoonqn/skills★ 0same name
- rokokol/mail-skill★ 0same 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 repository4 other files it gives its agents.
- agenda-syncSkill
- calendarSkill
- plan-daySkill
- todosSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Do not flag mailing-list/newsletter noise as Action.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mail (Apple Mail triage)
Reads and flags Apple Mail through AppleScript helper scripts in scripts/. Mail.app aggregates all your accounts in one place, so this works across every account you have configured there. Mac-only. Read + flag only: it never sends, deletes, archives, or marks read.
Personalize first: set
DEFAULT_ACCOUNTSat the top ofscripts/list.shto your Mail.app account name(s). Use the exact "Description" shown under Mail > Settings > Accounts (e.g.iCloud,Gmail,Work). Account names likeWorkbelow are placeholders.
On invocation (triage routine)
- Pull recent mail.
bash ~/.claude/skills/mail/scripts/list.sh(default account, 10 most recent). For a wider sweep pass an account name:list.sh Work,list.sh iCloud. Output marks[UNREAD]vs[read]. - Classify each unread/recent message into:
- 🔴 Action: needs a reply or a task (a real person asking something, admin with a deadline, bills, anything time-sensitive).
- 🟠 FYI: informational, worth knowing, no action (announcements, receipts).
- ⚪️ Noise: mailing lists and newsletters. Summarize as a count, do not itemize.
- Flag the Action items (reversible):
bash ~/.claude/skills/mail/scripts/flag.sh "<account>" "<subject substring>" on red. Use red for must-do, orange for a softer "should reply". Unflag with... off. - Present a tight triage, not a dump: a 🔴 Action list (sender + what they want + suggested next step), a short 🟠 FYI list, and "+N list-serv/newsletter items skipped". End with the single most important thing to handle, and offer to draft a reply (draft only, see guardrails).
Recurring use
Wrap the routine in a loop: /loop 45m /mail (runs while the Mac and a session are on). Each pass re-triages and flags new Action mail. Flags show up in Mail.app's Flagged smart mailbox and sync to iPhone.
Scripts
list.sh [account] [count]: fast bulk read (avoids the slow unified-inbox count); resilient inbox resolver. Default account set is editable at the top of the script (DEFAULT_ACCOUNTS).flag.sh "<account>" "<subject substring>" [on|off] [color]: flag/unflag the first matching message (within the 40 most recent). Colors: red orange yellow green blue purple grey.
Guardrails
- Read + flag only. Drafting a reply is fine (tell the user, or use a Gmail connector's
create_draftif available), but never auto-send, delete, archive, or mark-read without explicit say-so. - Do not flag mailing-list/newsletter noise as Action.
- Account names must match Mail.app exactly, including any punctuation or spaces. Copy the name as shown under Mail > Settings > Accounts.
- Mail's unified-inbox
countis very slow: always read per-account with the bounded slice (the scripts already do this). Do not iterate the unifiedinbox.
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.

