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.02901 |
| Opus 5.5 | $0.00027 | $0.01160 |
| Sonnet 5.5 | $0.00013 | $0.00580 |
| Haiku 4.5 | $0.00007 | $0.00290 |
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 yesterday.
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 — 237 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 |
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 becomes a test or type assertion, then is deleted. Recommend the encoding; do not add a runtime check.
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.
Workflow
Before spawning scanners in team mode, call mcp__tldr__status; if code intel is unavailable, run solo.
Phase 1: Find and Remove Dead Code (Auto-Fix)
-
Scan for dead code per the TLDR note above. For each candidate, check
mcp__tldr__impactand confirm withGrep:grep -rn "functionName" . --include="*.ts" --include="*.tsx"Only when both agree is it safe to remove.
-
Auto-remove if confirmed dead
- Unused exports in utility files
- Orphaned test helpers
- Dead CSS classes (if tooling supports)
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.
- yesterday Changed · -125 lines · -80 tokens per session de2f6eebf7c3
- 4d ago Changed · +14 lines · +4 tokens per session 7203c6128138
- 18d ago Changed e42f715a2def
- 1mo ago Changed · -1 lines 1510baff7028
- 1mo ago Changed · -30 lines 647ca437e65a
- 1mo ago First seen · 379 lines · 143 tokens per session scan A abc3b8fbba16
deslopper is an agent published in the GitHub repository darkroomengineering/cc-settings (51 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 2,901 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.
Other agents, from other repositories
security-reviewer
Reviews code for security issues including injection vulnerabilities, auth flaws, and secrets in code.
Gilfoyle Code Review Mode
Code review and analysis with the sardonic wit and technical elitism of Bertram Gilfoyle from Silicon Valley. Prepare for brutal honesty about your code.
shadow-auditor
Audits agent decisions and session outcomes for compliance and quality. Assign as a shadow for end-of-session review.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PER-CS 3.0, PHPStan, security analysis.
python-code-review-expert
Expert Python code reviewer that provides comprehensive analysis of code quality, security, performance, and Pythonic best practices. Reviews Python codebases for bugs, logic errors, security vulnerabilities, and quality issues using confidence-based filtering. Use PROACTIVELY for Python code reviews and pull request…
architecture-analyst
Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.