inbox-tidy

inbox-tidy is a command for Claude Code from atretyak1985/swarmery. It costs 34 tokens per session (2,560 once invoked), scanned A, original, Apache-2.0.

An inbox-review command examines lessons, advisor findings, plan reviews, retirements, and classifier labels in a swarmery dashboard. It decides items from evidence already held by the daemon and repositories, then records decisions through the daemon.

In plain words
What is it for?
Use it to review all inbox items or filter by project and item type, accept or retire supported entries, and inspect unresolved items without inventing answers.
Why use it?
It removes repetitive inbox triage while leaving unsupported items for an operator with a reason. A dry-run mode shows the decisions without writing them.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the core plugin — 37 skills, 9 commands, 13 agents shipped together

Good fit Use it to review all inbox items or filter by project and item type, accept or retire supported entries, and inspect unresolved items without inventing answers.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/atretyak1985/swarmery/inbox-tidy
Install

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.

Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 9 commands, 13 agents.

Wrote 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.

agentmods badge for inbox-tidy

README.md
[![agentmods](https://agentmods.dev/badge/commands/atretyak1985/swarmery/inbox-tidy/github.svg)](https://agentmods.dev/commands/atretyak1985/swarmery/inbox-tidy)
Your own site
<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.

agentmods 80×15 button for inbox-tidy

Your own site · 80×15
<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>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash 8ef0c4af814f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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`:
plugins/core/commands/inbox-tidy.md · 219 lines

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>"}

Read the full file on GitHub · 219 lines

Changes

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.

  1. 2d ago First seen · 219 lines · 34 tokens per session scan A 8ef0c4af814f

Subscribe to this mod's changes

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.

Related

inbox-tidy compared with commands from other repositories

inbox-tidy next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inbox-tidyatretyak1985/swarmeryCommand9todayApache-2.0A34Claude Code
gws-docsfakoli/fakoli-pluginsCommand46d agoMITA11Claude Code
gws-chatfakoli/fakoli-pluginsCommand46d agoMITA7Claude Code
send-emailfakoli/fakoli-pluginsCommand46d agoMITA7Claude Code
gws-standupfakoli/fakoli-pluginsCommand46d agoMITA10Claude Code
meeting-prepfakoli/fakoli-pluginsCommand46d agoMITA9Claude Code
pulsefakoli/fakoli-pluginsCommand46d agoMITA16Claude Code