Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/fatbobman/mail-mcp-bridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/fatbobman/mail-mcp-bridge/analyze-attachments)<a href="https://agentmods.dev/commands/fatbobman/mail-mcp-bridge/analyze-attachments"><img src="https://agentmods.dev/badge/commands/fatbobman/mail-mcp-bridge/analyze-attachments.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00291 |
| Opus 5 | $0.00000 | $0.00146 |
| Sonnet 5 | $0.00000 | $0.00058 |
| Haiku 4.5 | $0.00000 | $0.00029 |
Grade A, and why
analyze-attachments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Analyze Attachments
Deep attachment analysis with extraction, importance classification, and content analysis.
Use when: You need to extract and view email attachments, analyze document content, or identify important files.
What it does:
- Lists all attachments with metadata
- Classifies by importance (High/Medium/Low)
- Extracts selected files
- Analyzes document content
- Identifies deadlines and action items
- Auto-cleans temporary files
Operation modes:
- Quick Mode: Lists attachments without extracting
- Interactive Mode: Asks which files to extract
- Auto Mode: Auto-extracts high-importance files (invoices, contracts, tax docs)
Example:
User: /analyze-attachments
AI: Please provide the email Message-ID
User: <[email protected]>
AI: Found 3 attachments:
1. invoice.pdf (High importance)
2. report.docx (Medium importance)
3. screenshot.png (Low importance)
Would you like to extract the invoice?
Features:
- Detects high-importance files automatically
- Extracts key information (dates, amounts, deadlines)
- Cleans up temporary files after analysis
Related commands:
/analyze-email- For single email analysis/analyze-thread- For complete thread analysis
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 49 lines · 0 tokens per session scan A 7571b2bf728a
analyze-attachments is a command published in the GitHub repository fatbobman/mail-mcp-bridge (19 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 291 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
archive-mail
A command that archives Apple Mail messages involving a chosen contact into Markdown files, which are plain-text documents with simple formatting. It can use a contact filter, an output directory, or saved settings.
archive-mail-rebuild-threads
A command that rebuilds the index connecting archived email files to their conversation threads. It reads the metadata at the top of each Markdown file and recreates the thread index file.
documenter
Documentation with batch file operations for comprehensive docs.
workflow-classify
Classify task size (S/M/L/XL) and recommend the appropriate workflow pipeline.
spreadsheet-audit
Perform a 6-step audit of an Excel spreadsheet for formula correctness, formatting consistency, data integrity, boss-auditable simplicity, and spec compliance. Uses the excel-screenshot MCP server tools — no Excel installation required.
default-ai-review
Extract findings from the provided diff. Rank by severity. Produce a structured review. Emit one recommendation.