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 skills add nicograef/handbook --skill cleanupgit clone --depth 1 https://github.com/nicograef/handbookWrote 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/skills/nicograef/handbook/cleanup)<a href="https://agentmods.dev/skills/nicograef/handbook/cleanup"><img src="https://agentmods.dev/badge/skills/nicograef/handbook/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/skills/nicograef/handbook/cleanup"><img src="https://agentmods.dev/badge/skills/nicograef/handbook/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.00040 | $0.00248 |
| Opus 5.5 | $0.00016 | $0.00099 |
| Sonnet 5.5 | $0.00008 | $0.00050 |
| Haiku 4.5 | $0.00004 | $0.00025 |
Grade A, and why
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 12d 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
Cleanup
Arguments: $ARGUMENTS: named paths, staged changes, the last commit, or the whole repo. Without arguments: staged, else unstaged, else the last commit.
- Find bugs and fix them. Add a regression test only under the global test rule.
- Remove outdated, stale, deprecated and unused code, comments, docs, config, tests and dependencies. Remove the tests the global test rule says to delete.
- Before removing something as unused, rule out uses the grep misses: dynamic access, framework conventions, external consumers, persisted data.
- Apply the findings directly. Removals that touch external consumers or persisted data go to the user first.
- Run the build and the tests after applying.
uxreviews the UI on a 375×667 viewport instead: broken layouts, small touch targets, inconsistent labels and states.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago Changed 362effac4189
- 18d ago Changed · -40 lines · -9 tokens per session 855779b5331c
- 28d ago Changed · -5 lines · +49 tokens per session 8bc62753bbdc
- 1mo ago Changed · +15 lines a9bdad4a3d86
- 1mo ago Changed dc4d0e9182ab
- 1mo ago Changed 810a58f26758
- 1mo ago Changed · +1 lines 740974b59bc9
- 1mo ago Changed · -94 lines · -125 tokens per session ba320f8c5529
- 2mo ago Changed · -8 lines c8c343179383
- 2mo ago First seen · 148 lines · 125 tokens per session scan A fac95e16657f
cleanup is a skill published in the GitHub repository nicograef/handbook (2 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 248 once invoked, about $0.0002 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.
cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cleanupnicograef/handbook | Skill | 2 | 2d ago | MIT | A | 40 | Claude Code |
| autoreviewopenclaw/clawhub | Skill | 9.5k | yesterday | MIT | A | 17 | Claude Code, Codex |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 6d ago | MIT | A | 115 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 48 | Claude Code, Codex |
| revdiff-planumputun/revdiff | Skill | 945 | yesterday | MIT | A | 84 | Claude Code |
| explore-unknownsdzhng/skills | Skill | 1.4k | 2d ago | MIT | A | 162 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.4k | 4d ago | MIT | A | 70 | Claude Code |