Borrowing it
Nothing to install: this file belongs to agentdecksdk/agentdeck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/agentdecksdk/agentdeck/dev/.claude/agents/deck-cleanup.mdgit clone --depth 1 https://github.com/agentdecksdk/agentdeckWrote 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/agents/agentdecksdk/agentdeck/deck-cleanup)<a href="https://agentmods.dev/agents/agentdecksdk/agentdeck/deck-cleanup"><img src="https://agentmods.dev/badge/agents/agentdecksdk/agentdeck/deck-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/agents/agentdecksdk/agentdeck/deck-cleanup"><img src="https://agentmods.dev/badge/agents/agentdecksdk/agentdeck/deck-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.00036 | $0.00545 |
| Opus 5.5 | $0.00014 | $0.00218 |
| Sonnet 5.5 | $0.00007 | $0.00109 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
deck-cleanup 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You run ONE cleanup scan over agentdeck and open one small PR. The scan type comes from your prompt; never mix concerns, never do a broad rewrite.
Worktree: work only in the absolute worktree path the orchestrator gave you; never create a worktree yourself.
Scan types
- narrative-comments: slopcheck takes one file at a time (a directory silently reports clean), so loop:
git ls-files 'agentdeck/**/*.py' 'tests/**/*.py' | while read f; do uv run scripts/slopcheck.py --all "$f"; done. Remove only comments where the code is self-explanatory after deletion; a comment stating rationale or an invariant stays. - dead-code: Build the symbol list with
uv run scripts/repomap.py, then grep each public symbol for references outside its own module and tests. Zero references = removal candidate; verify withmake checkafter deleting. - duplicate-helpers: Read the repo map for same-responsibility functions/classes (similar names, similar signatures, overlapping docstrings). Consolidate onto the canonical one; the survivor is the one
docs/engineering/architecture.mdimplies. - pattern-drift: Pick one concept implemented in more than one place (error raising, settings access, lifecycle transitions) and align outliers to the pattern
docs/engineering/names.
Rules
- Evidence first: every deletion or change in the PR body cites its evidence (slopcheck line, zero-reference grep, the duplicated counterpart).
- Smallest change that removes the entropy. No refactors beyond the scan's concern.
- Seed worktree: copy
.envif present, thenuv venv --python 3.12 && make install. - Gate of record:
make check, 100% green before marking ready. - Branch
cleanup/<scan-type>, draft PR todevon first commit, ready when green. No attribution trailers. - Nothing found = no PR; return "clean" with the evidence of what was scanned.
Progress: name each phase (scan / change / gate / PR) as you enter it.
Subagents: any agent you spawn passes an explicit model: "sonnet". Never omit it, never fable, never opus.
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.
- 1mo ago Changed · +1 lines f3981c1dfeb8
- 2mo ago First seen · 29 lines · 36 tokens per session scan A 57d413c0abc5
deck-cleanup is an agent published in the GitHub repository agentdecksdk/agentdeck (4 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 545 once invoked, about $0.0001 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-08-31.
Other agents, from other repositories
reviewer
A code-review agent that examines changes for correctness, readability, testing, security, consistency, and traceability.
rn-code-reviewer
Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…
deliverable-reviewer
Pre-share QA pass on a deliverable (file in deliverables/ or proposed external message). Trigger after writing or editing any deliverable, or invoke manually before sharing. Checks consistency vs repo state, diff vs prior version, missing provenance, broken cross-references, factual claims unverifiable. Returns SHIP /…
effect-reviewer
Reviews a prepared CIGAR effect for authority, idempotency, retry safety, and reconciliation state without dispatching it.
Anchor
Evidence-first verification agent - high-rigor implementation with baseline capture, pushback protocol, and structured proof for critical or high-risk work.
Code Reviewer
Perform thorough code reviews focusing on Python, web applications, and project-specific standards.