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.
npx skills add ellmos-ai/bach --skill mailgit clone --depth 1 https://github.com/ellmos-ai/bachWrote 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/skills/ellmos-ai/bach/mail)<a href="https://agentmods.dev/skills/ellmos-ai/bach/mail"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/mail/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ellmos-ai/bach/mail"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/mail.svg" alt="Reviewed on agentmods" width="80" 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.00073 | $0.00692 |
| Opus 5.5 | $0.00029 | $0.00277 |
| Sonnet 5.5 | $0.00015 | $0.00138 |
| Haiku 4.5 | $0.00007 | $0.00069 |
Grade A, and why
mail-service 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 2mo 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
Mail Service
Kategorie: Kommunikation & Finanz-Datenquellen
Integration: tools/send_report.py (Gmail-Versand),
tools/llmauto/chains/session_financial_mail.json
Handler: keiner eigenstaendig (Mail-Handler-Paket in hub/email.py
getrennt hiervon)
Zweck
Finanzrelevante E-Mails erfassen, extrahieren und kategorisieren sowie
E-Mails sicher versenden. Sicherheitsprinzip: Es wird nie direkt
versendet — jede Mail wird zunaechst als Draft in der DB gespeichert
und erst nach confirm <id> durch den User gesendet.
API / Module
| Modul | Funktion |
|---|---|
mail_service.py |
Financial Mail Service v1.1: IMAP- + Gmail-OAuth2-Abruf, Pattern-Matching (Anbieter-Erkennung), PDF-Anhang-Extraktion, Steuer-Kategorisierung, N8N-JSON-Export, Daemon-Integration |
email_sender.py |
E-Mail-Versand via Gmail API (OAuth2); Draft-zuerst-Prinzip, Versand nur nach confirm <id> |
account_manager.py |
Verwaltung von IMAP-Konten (Keyring-Passwortspeicher) und Gmail-API-Konten |
mail_setup.py |
OAuth2-Einrichtung: python mail_setup.py check (Status), python mail_setup.py refresh (Token erneuern) |
mail_abo_sync_service.py |
Sync: financial_subscriptions (Mail-Extraktion) → abo_subscriptions (zentrale Abo-Verwaltung) |
Konfiguration im Ordner:
config.json— Service-Konfigurationproviders.json/providers.schema.json— Anbieter-Patterns (valide against Schema)schema_financial.sql— Tabellen-Schema der Finanz-Extraktion
Abhaengigkeiten
- keyring (IMAP-Passwoerter), imaplib
- Gmail API: credentials.json / token.json (OAuth2, read + send)
- User-DB: financial_subscriptions, Draft-Tabelle
- abo-Verwaltung (abo_subscriptions) fuer Abo-Sync
- N8N (optionaler JSON-Export)
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- __init__.py 1.2 KB runs code
- account_manager.py 37 KB runs code
- config.json 298 B
- email_sender.py 15 KB runs code
- imap_draft.py 11 KB runs code
- mail_abo_sync_service.py 5.9 KB runs code
- mail_service.py 44 KB runs code
- mail_setup.py 15 KB runs code
- providers.json 29 KB
- providers.schema.json 3.8 KB
- schema_financial.sql 9.1 KB
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.
- 2mo ago First seen · 69 lines · 73 tokens per session scan A 7f6ed7bbb4e5
mail-service is a skill published in the GitHub repository ellmos-ai/bach (9 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 692 once invoked, about $0.0003 per session on Opus 5.5. 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-09-22.
mail-service compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mail-serviceellmos-ai/bach | Skill | 9 | today | MIT | A | 73 | Claude Code, Codex |
| x402browser-use/browser-use | Skill | 122k | yesterday | MIT | A | 166 | Claude Code |
| connect-recommendstripe/ai | Skill | 2.1k | 6d ago | MIT | A | 151 | Claude Code, Codex |
| stripe-implementation-plannerstripe/ai | Skill | 2.1k | 6d ago | MIT | A | 106 | Claude Code |
| metronomestripe/ai | Skill | 2.1k | 6d ago | MIT | A | 184 | Claude Code, Codex |
| stripe-bfcm-dashboardstripe/ai | Skill | 2.1k | 6d ago | MIT | A | 120 | Claude Code, Codex |
| stripe-best-practicesstripe/ai | Skill | 2.1k | 6d ago | MIT | A | 161 | Claude Code, Codex |