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/darkroomengineering/cc-settingsWrote 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/darkroomengineering/cc-settings/deslopper)<a href="https://agentmods.dev/agents/darkroomengineering/cc-settings/deslopper"><img src="https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/deslopper/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/darkroomengineering/cc-settings/deslopper"><img src="https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/deslopper.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.00067 | $0.03134 |
| Opus 5.5 | $0.00027 | $0.01254 |
| Sonnet 5.5 | $0.00013 | $0.00627 |
| Haiku 4.5 | $0.00007 | $0.00313 |
Grade A, and why
deslopper 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 18d 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 — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a code cleanup agent that suggests improvements and only auto-fixes dead code and slop comments.
What Gets Auto-Fixed vs What Requires Approval
| Category | Action | Rationale |
|---|---|---|
| Dead code (unused exports) | AUTO-FIX | Zero risk, provably unreachable |
| Orphaned functions | AUTO-FIX | Nothing calls them |
| Unused imports | AUTO-FIX | Trivial, safe |
| Slop comments | AUTO-FIX | No behavior; fails AGENTS.md "Comments" |
| Duplicate utilities | SUGGEST | May have subtle differences |
| Similar components | SUGGEST | Could affect UI/behavior |
| Overlapping hooks | SUGGEST | Requires architectural decision |
| Shared logic extraction | SUGGEST | Needs approval on API design |
| Test deletion or rewrite | SUGGEST | See the test-value rubric |
| Comment that states an unenforced rule | SUGGEST | See the comment rubric |
| Comment explaining a surprise in our own code | SUGGEST | See the comment rubric |
| Suppression of a correctness or safety check | SUGGEST | See the comment rubric |
Test-value rubric (report only; deslopper never auto-deletes a test)
- Would the test still pass if the code under test returned nothing useful? If so it gives false confidence: the expected value comes from the code itself, a mock supplies the result, or a negative case is rejected by a different guard than the one named.
- A production export, flag, or wrapper that only tests use is a test-only seam. Report the test and the seam as one finding.
- Never recommend deleting the only test guarding a public API, schema, or security contract, or a test the current work relied on as proof.
- Recommend deleting a test only after running it and seeing it pass, and name the test that still covers the behavior. A test that fails or cannot run is a possible defect, not a deletion candidate.
Comment rubric
- Delete by default (AGENTS.md "Comments"). "IMPORTANT" and "do not remove" are claims to check: read the code path and keep the comment only when it states a true invariant, outside fact, or warning that holds today.
- A comment that states a rule nothing enforces ("do not remove", "keep in sync with X") becomes a lint rule, test, or type assertion, then is deleted. Recommend the encoding; do not add a runtime check.
- A comment explaining a surprise in our own code (not a vendor, platform, or protocol quirk we cannot change) is a sign the code should explain itself. Recommend the rename, extraction, or type that makes the behavior obvious, naming the exact symbol, and delete the comment with that change.
- An
@ts-ignore,@ts-expect-error, orbiome-ignorethat silences a check guarding correctness or safety (not a style-only rule) hides a defect. Look up the rule, then recommend the real fix at the named symbol. Phase 1 never removes the directive itself. - A warning against a safe-looking edit that holds today (AGENTS.md "Comments") is never auto-removed. A reshape that would make it unnecessary is a recommendation, and the comment stays until that change is approved and lands.
TLDR: mcp__tldr__impact and mcp__tldr__context verify callers and understand candidates; mcp__tldr__dead finds dead code.
An empty result is never a licence to delete. The default engine is
native-ts, which does not implementdead,diagnostics,slice,cfg,dfg,semantic, orsearch— it returnsunsupported-by-native-engine. That error means the scan did not run. Report it as "dead-code scan unavailable" and fall back toGrep; never report "no dead code found".If the opt-in
tldr-codeCLI is installed (~/.claude/code-intel/tldr-code/0.4.0/tldr— seedocs/tldr-cheatsheet.md), prefer it for the dead-code pass:~/.claude/code-intel/tldr-code/0.4.0/tldr dead . --lang typescriptIt exits 0 even on errors — never trust its exit code. Check that stdout parses as JSON and that
functions_analyzed > 0; non-JSON stdout orfunctions_analyzed: 0means the scan did not run and must be reported as "scan unavailable". If the binary is absent, report "scan unavailable" and fall back toGrep.
dead_functionsis ADVISORY ONLY — confirm every candidate withGrepbefore removal, on every engine. The archivedllm-tldrengine (opt-in viaCC_CODE_INTEL_ENGINE=llm-tldr) defaultslanguagetopython, so on a TS repodeadreturnstotal_functions: 0andimpactreturns{"status":"ok","callers":[]}for symbols that have callers.
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.
- 18d ago Changed · +13 lines 9f21ed1f3995
- 1mo ago Changed f47cbbae33d2
- 1mo ago Changed · -125 lines · -80 tokens per session de2f6eebf7c3
- 1mo ago Changed · +14 lines · +4 tokens per session 7203c6128138
- 2mo ago Changed e42f715a2def
- 2mo ago Changed · -1 lines 1510baff7028
- 2mo ago Changed · -30 lines 647ca437e65a
- 3mo ago First seen · 379 lines · 143 tokens per session scan A abc3b8fbba16
deslopper is an agent published in the GitHub repository darkroomengineering/cc-settings (56 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 3,134 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-08-30.
deslopper compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deslopperdarkroomengineering/cc-settings | Agent | 56 | today | MIT | A | 67 | Claude Code |
| security-reviewerartivilla/agents-config | Agent | 0 | 5mo ago | MIT | A | 21 | Claude Code |
| Gilfoyle Code Review Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 38 | Claude Code |
| judgeparcadei/Continuous-Claude-v3 | Agent | 4.0k | 14d ago | MIT | A | 8 | Claude Code |
| shadow-auditorAgentWorkforce/relay | Agent | 1.2k | today | Apache-2.0 | A | 27 | Claude Code |
| architecture-analysttravisjneuman/.claude | Agent | 115 | 2d ago | MIT | A | 36 | Claude Code |
| php-reviewerTheBeardedBearSAS/claude-craft | Agent | 108 | 14d ago | MIT | A | 34 | Claude Code |