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/atretyak1985/swarmeryWrote 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/atretyak1985/swarmery/inbox-tidy)<a href="https://agentmods.dev/commands/atretyak1985/swarmery/inbox-tidy"><img src="https://agentmods.dev/badge/commands/atretyak1985/swarmery/inbox-tidy/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/commands/atretyak1985/swarmery/inbox-tidy"><img src="https://agentmods.dev/badge/commands/atretyak1985/swarmery/inbox-tidy.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.00034 | $0.02560 |
| Opus 5.5 | $0.00014 | $0.01024 |
| Sonnet 5.5 | $0.00007 | $0.00512 |
| Haiku 4.5 | $0.00003 | $0.00256 |
Grade A, and why
inbox-tidy scanned grade A 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Every call goes through the daemon CLI, never raw `curl`: How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inbox Tidy
Arguments: $ARGUMENTS (optional — --dry-run prints the decision table and writes nothing; --project <slug> narrows the scoped sources; --only <kind>[,<kind>…] limits the kinds: lesson, advisor, review, retire, classifier)
What this is
The swarmery dashboard's Inbox has no endpoint of its own: the page aggregates several daemon lists client-side. This command reads the same lists, decides each item from evidence the daemon and the repos already hold, and writes the decision through the daemon's own write routes. It never invents an answer: an item without an honest answer stays in the Inbox, named in the report with the reason.
Transport (mandatory)
Every call goes through the daemon CLI, never raw curl:
swarmery api GET '/api/lessons?status=candidate'
swarmery api POST /api/lessons/<id>/accept --data '{}'
swarmery api signs the request with the link token. The write routes are fenced
(requireLocalOrigin): an unsigned write without a dashboard Origin is refused.
Exit codes: 0 the daemon answered 2xx, 1 any other status (body on stdout),
2 usage error or no daemon. On exit 2, stop and report "daemon not reachable" —
do not fall back to anything else. If swarmery is not on PATH, try
~/.swarmery/bin/swarmery.
Sources and write routes
| Kind | Read | Write |
|---|---|---|
| lesson candidate | GET /api/lessons?status=candidate |
POST /api/lessons/{id}/accept {} · POST /api/lessons/{id}/dismiss {"reason":"…"} · POST /api/lessons/{id}/merge {"lessonId":N} |
| lesson retirement | GET /api/lessons/retirements |
POST /api/lessons/retirements/{id}/confirm · POST /api/lessons/retirements/{id}/keep |
| advisor finding | GET /api/retro/recommendations?status=proposed (scoped: &projectId=<slug>) |
PATCH /api/retro/recommendations/{id} {"status":"accepted"} or {"status":"dismissed"} |
| plan review | GET /api/reviews?scope=plan&unacked=1 |
POST /api/reviews/{id}/ack |
| classifier label | GET /api/decisions/queue?limit=all (scoped: &project=<slug>) |
POST /api/decisions/{id}/ground-truth {"value":"<one of item.options>"} |
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.
- 2d ago First seen · 219 lines · 34 tokens per session scan A 8ef0c4af814f
inbox-tidy is a command published in the GitHub repository atretyak1985/swarmery (9 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 2,560 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
inbox-tidy compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| inbox-tidyatretyak1985/swarmery | Command | 9 | today | Apache-2.0 | A | 34 | Claude Code |
| gws-docsfakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 11 | Claude Code |
| gws-chatfakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 7 | Claude Code |
| send-emailfakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 7 | Claude Code |
| gws-standupfakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 10 | Claude Code |
| meeting-prepfakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 9 | Claude Code |
| pulsefakoli/fakoli-plugins | Command | 4 | 6d ago | MIT | A | 16 | Claude Code |