review-email
Skill1 starsChanged 3 months agoMITView on GitHub
Guided email triage workflow using the fm CLI. Walks through an 8-phase inbox review process with safety gates for personal messages, batch operations by sender cohort, draft reply composition, and session handoff tracking. Use when the user says "review email", "review my email", "triage email", "check my inbox", "email triage", "process my inbox", "triage my inbox", "clean up my inbox", "go through my email", "inbox zero", "email review", or any variant involving reviewing, triaging, or cleaning up Fastmail email.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
If the handoff document does not exist, create it on the first session start.
- Distinctive: line 37
Keep history current: Update the handoff document after meaningful work.
- Very specific: line 38
Report fm issues: When you encounter obstacles, missing features, bugs, or unexpected behavior in fm, tell the user and file a GitHub issue …
- Very specific: line 44
Check today's date against the Last updated date in the project's handoff document.
- Distinctive: line 62
Before processing any batch, spot-check subjects and previews for personal signals:
- Very specific: line 133
Check for and remove orphaned flags in non-inbox mailboxes.
- Distinctive: line 137
Update the project's handoff document in place:
- Distinctive: line 139
Update the unread total and last-updated date
- Distinctive: line 140
Update the flagged inbox list if it changed
- Distinctive: line 141
Update active rules and holds if they changed
- Distinctive: line 142
Update the remaining unread landscape
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Review Email
Guided email triage using the fm CLI. Processes the inbox in priority order: personal messages first, then spam, promotional, transactional, newsletters, community mail, and stale flags.
Prerequisites
This skill requires a handoff document in the consuming project. This is a Markdown file (typically docs/fastmail/handoff.md) that tracks session state between triage runs. It contains:
Last updateddate- Current unread and flagged totals
- Flagged inbox message list
- Active rules and holds (sender/domain)
- Remaining unread landscape (categorized sender distribution)
- Recent session log
If the handoff document does not exist, create it on the first session start. See ./references/runbook.md for the session end protocol that keeps it current.
Core Principles
- Personal-message gate: Surface direct personal communication before bulk actions. If uncertain, ask the user.
- Respect active holds: Honor sender and domain holds recorded in the project's handoff document.
- Batch safely: Work in sender cohorts, verify post-action counts after each batch.
- Keep history current: Update the handoff document after meaningful work.
- Report fm issues: When you encounter obstacles, missing features, bugs, or unexpected behavior in
fm, tell the user and file a GitHub issue oncboone/fm.
Workflow
1. Session Start
Check today's date against the Last updated date in the project's handoff document. If it is a different day, treat this as a new session and start from Phase 1.
Verify connectivity:
fm session2. Get the Landscape
fm summary --unread --format textReview the sender and domain distribution. Identify high-volume, low-risk groups and any senders that might be personal. Use --newsletters to detect senders with List-Id or List-Unsubscribe headers, and --subjects to sample subject lines per sender.
3. Personal-Message Gate
Before processing any batch, spot-check subjects and previews for personal signals:
fm list --unread --limit 50 --format textFor ambiguous messages, inspect the full content:
fm read <id>Apply the personal vs. bulk heuristics from ./references/runbook.md to classify ambiguous messages. If uncertain, surface to the user before processing.
4. Process by Phase
Work through the triage phases in order. See ./references/triage-phases.md for detailed phase descriptions.
Phase sequence:
- High-priority messages (personal, time-sensitive)
- Spam removal
- Unwanted promotional email
- Transactional cleanup
- Newsletters worth reading
- Community and organization email
- Flagged email review for staleness
- Ongoing maintenance
5. Batch Operations
For each sender cohort:
- Preview with
--dry-run:
fm archive --from <sender> --dry-run- Execute the batch:
fm mark-read --from <sender>
fm unflag --from <sender>
fm archive --from <sender>- Verify remaining counts:
fm summary --unread --format text"Archive" implies mark-read and unflag first, then archive. "Spam" implies mark-read and unflag first, then spam.
See ./references/runbook.md for detailed batch operation patterns.
6. Draft Replies
During any phase, offer to draft replies when the user wants to respond to an email. Drafts are safe: they are created in the Drafts mailbox with the $draft keyword and cannot be sent by fm. The user must review and send drafts manually from Fastmail.
fm draft --reply-to <id> --body "Reply text"
fm draft --reply-all <id> --body "Reply text"
fm draft --forward <id> --to <addr> --body "FYI"See ./references/runbook.md for additional composition patterns, including unsubscribe requests.
7. Clean Up Stale Flags
Check for and remove orphaned flags in non-inbox mailboxes. See ./references/flag-semantics.md for the cleanup procedure and the distinction between fully unflagging (fm unflag <id>) and removing only the color (fm unflag --color <id>).
8. Session End
Update the project's handoff document in place:
- Update the unread total and last-updated date
- Update the flagged inbox list if it changed
- Update active rules and holds if they changed
- Update the remaining unread landscape
- Append a session summary to the recent session log
Git history preserves previous snapshots automatically.
Reference Navigation
Triage phases:
./references/triage-phases.md- Detailed description of each phase with specific actions
Operational procedures:
./references/runbook.md- Batch safety, personal vs. bulk heuristics, draft composition patterns, flag workflows, session checklists
Flag semantics:
./references/flag-semantics.md- Color flag meanings and usage patterns
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.

