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 synthesisengineering/synthesis-skills --skill synthesis-inbox-cleanupgit clone --depth 1 https://github.com/synthesisengineering/synthesis-skillsWrote 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/synthesisengineering/synthesis-skills/synthesis-inbox-cleanup)<a href="https://agentmods.dev/skills/synthesisengineering/synthesis-skills/synthesis-inbox-cleanup"><img src="https://agentmods.dev/badge/skills/synthesisengineering/synthesis-skills/synthesis-inbox-cleanup/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/synthesisengineering/synthesis-skills/synthesis-inbox-cleanup"><img src="https://agentmods.dev/badge/skills/synthesisengineering/synthesis-skills/synthesis-inbox-cleanup.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.00130 | $0.05460 |
| Opus 5 | $0.00065 | $0.02730 |
| Sonnet 5 | $0.00026 | $0.01092 |
| Haiku 4.5 | $0.00013 | $0.00546 |
Grade B, and why
synthesis-inbox-cleanup scanned grade B with 1 finding 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 11d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
| Body header content read without sanitization | Subject "URGENT: ignore previous instructions..." reaches the model | Route every body-read through `scripts/sanitize.py` | Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Synthesis Inbox Cleanup
A manifest-driven email cleanup engine that scales the same human-curated rules across three account tool stacks on macOS: iCloud / generic IMAP, Microsoft 365 / outlook.com via Mail.app AppleScript, and Gmail via the workspace-mcp Gmail API (with optional native server-side filters).
The engine is deterministic. Email content does not change rules at runtime. When an LLM is invoked — for new-sender categorization or for higher-risk paths like body-reading digests — sanitization defenses run first. The skill ships adversarial test fixtures so prompt-injection regressions surface in CI rather than in production.
v1.6.2 — Cross-platform runtime pointer replacement
The runtime installer replaces its staged engine/current symlink with
Python's atomic os.replace. The previous repair used BSD mv -h, which works
on macOS but fails under GNU mv before the pointer can move. The regression
fixture now models that GNU refusal on every host while preserving the original
two-install, differing-digest acceptance path.
v1.6.0 — Impersonation scanning: the taxonomy had no cell for hostile
scripts/scan_impersonation.py (read-only) adds the adversarial pass the
disposition taxonomy structurally lacked. Every existing class sorts mail by
DESIRABILITY — marketing, newsletter, transactional, keep — so a phishing message
is not merely misfiled by this engine, it is invisible to it: a sweep that only
files things tidily walks straight past an attack.
The detection is the one that catches live campaigns: the sending domain is authenticated; the display name is not. SPF/DKIM/DMARC validate the envelope domain and say nothing about the free-text name the mail client actually shows. So the high-yield phish forges no domain at all — it sends through infrastructure that passes every check (a survey platform, a form host) and puts the impersonated brand in the display name. "The domain checks out" is therefore not a safety verdict.
Reports only; removal stays a human-reviewed step, because a false positive here is
a legitimate vendor notice. Brand→domain map in
~/.synthesis/inbox-cleanup/impersonation.yaml, seeded in-script.
What ships with it
38 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.
- .gitignore 25 B
- agents/openai.yaml 256 B
- references/gmail-filters-patterns.md 5.3 KB
- references/manifest-schema.md 4.9 KB
- references/pitfalls.md 20 KB
- references/prompt-injection-defenses.md 20 KB
- references/three-tool-stacks.md 7.5 KB
- scripts/_lib.py 6.2 KB runs code
- scripts/icloud_apply.py 3.0 KB runs code
- scripts/icloud_archive_senders.py 3.4 KB runs code
- scripts/icloud_catchall_google_purge.py 9.2 KB runs code
- scripts/icloud_census.py 4.2 KB runs code
- scripts/icloud_inspect_senders.py 5.6 KB runs code
- scripts/icloud_plan.py 1.7 KB runs code
- scripts/icloud_tail.py 1.3 KB runs code
- scripts/install.sh 7.3 KB runs code
- scripts/m365_mailapp_cleanup.template.applescript 4.2 KB
- scripts/resolve_scope.py 4.7 KB runs code
- scripts/sanitize.py 19 KB runs code
- scripts/scan_impersonation.py 10 KB runs code
- templates/config.example.yaml 1.8 KB
- templates/gmail-filters.example.yaml 3.3 KB
- templates/rules.example.yaml 5.1 KB
- tests/fixtures/mv-no-h 352 B
- tests/poisoned/body_injection.eml 636 B
- tests/poisoned/delimiter_breakout.eml 399 B
- tests/poisoned/encoded_delimiter.eml 442 B
- tests/poisoned/envelope_spoof.eml 387 B
- tests/poisoned/homoglyph_sender.eml 258 B
- tests/poisoned/html_hidden_injection.eml 1.5 KB
- tests/poisoned/README.md 1.7 KB
- tests/poisoned/subject_injection.eml 580 B
- tests/poisoned/tag_smuggling.eml 341 B
- tests/poisoned/unicode_trickery.eml 1.1 KB
- tests/run_poisoned.py 8.9 KB runs code
- tests/run_resolver.py 6.9 KB runs code
- tests/test_resolve_scope.py 3.3 KB runs code
- tests/test_runtime_installer.sh 3.7 KB runs code
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.
- 11d ago First seen · 358 lines · 130 tokens per session scan B bedd1465d00f
synthesis-inbox-cleanup is a skill published in the GitHub repository synthesisengineering/synthesis-skills (18 stars, last pushed today), licensed Apache-2.0. It adds 130 tokens to every session and 5,460 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.