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.
npx agentmods add commands/rtazima/claude-proj-blueprint/cleangit clone --depth 1 https://github.com/rtazima/claude-proj-blueprintWrote 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/rtazima/claude-proj-blueprint/clean)<a href="https://agentmods.dev/commands/rtazima/claude-proj-blueprint/clean"><img src="https://agentmods.dev/badge/commands/rtazima/claude-proj-blueprint/clean.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00168 |
| Opus 5 | $0.00000 | $0.00084 |
| Sonnet 5 | $0.00000 | $0.00034 |
| Haiku 4.5 | $0.00000 | $0.00017 |
Grade A, and why
clean 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 5d 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.
What it actually says
Clean AI-generated slop from code.
Arguments: $ARGUMENTS (file, directory, or empty for recent changes)
Workflow:
- Determine scope:
- If $ARGUMENTS is a file → clean that file
- If $ARGUMENTS is a directory → clean all source files in it
- If empty → use
git diff --name-only HEAD~3to find recently changed files
- Activate the
slop-cleanerskill - Read each file and scan against the slop patterns checklist
- Apply fixes one category at a time (comments → abstraction → types → logging → dead code → over-engineering → verbal tics)
- Run tests after all changes to verify nothing broke
- Report summary: files cleaned, patterns removed, lines saved
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.
- 5d ago First seen · 15 lines · 0 tokens per session scan A f36dfea9b6cc
clean is a command published in the GitHub repository rtazima/claude-proj-blueprint (20 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 168 tokens. 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 commands, from other repositories
sruja-bugfix-triage
Systematic workflow for triaging and fixing bugs with architecture grounding.
check
Universal pre-flight check that validates project readiness.
smart-help
Context-aware help that suggests relevant commands.
triage
AI-powered reachability triage for dependency vulnerabilities. Scans for CVEs then searches your source code to estimate whether each vulnerable API is actually called. Outputs a prioritized FOUNDINSOURCE / UNCERTAIN / NOTFOUNDINGREP report.
readme-restructure
Execute a /readme-audit blueprint. Rewrites the README to the evaluator → conversion → links structure and creates linked docs by extracting and reorganising existing content.
scaffold-component
Scaffold a single named component from the architecture blueprint with production-depth code.