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 udecode/dotai --skill cleanupgit clone --depth 1 https://github.com/udecode/dotaiWrote 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/udecode/dotai/cleanup)<a href="https://agentmods.dev/skills/udecode/dotai/cleanup"><img src="https://agentmods.dev/badge/skills/udecode/dotai/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/udecode/dotai/cleanup"><img src="https://agentmods.dev/badge/skills/udecode/dotai/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.00129 | $0.04453 |
| Opus 5.5 | $0.00052 | $0.01781 |
| Sonnet 5.5 | $0.00026 | $0.00891 |
| Haiku 4.5 | $0.00013 | $0.00445 |
Grade C, and why
cleanup scanned grade C with 1 finding 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 11d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
pstack's Worktree and simulator cleanup playbook is the method, and this skill wins where the two differ. When you remove a worktree yourself, use only `git worktree remove --force`, never `rm -rf` or `git worktree prune The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
10 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.
- scripts/daily.mjs 7.0 KB runs code
- scripts/daily.test.mjs 1.2 KB runs code
- scripts/databases.mjs 5.2 KB runs code
- scripts/databases.test.mjs 3.7 KB runs code
- scripts/disk.mjs 10 KB runs code
- scripts/disk.test.mjs 2.4 KB runs code
- scripts/machine.mjs 8.5 KB runs code
- scripts/machine.test.mjs 3.2 KB runs code
- scripts/scan.mjs 56 KB runs code
- scripts/scan.test.mjs 49 KB runs code
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.
- 11d ago Changed · +2 lines · +15 tokens per session 2b9aa24dc88d
- 12d ago Changed 872d3e0aff53
- 14d ago Changed · +1 lines · +7 tokens per session 838b7ed1b2df
- 15d ago Changed · +2 lines · +26 tokens per session 68b98b52f758
- 16d ago Changed · +13 lines 9620ff1ef77b
- 1mo ago Changed · +3 lines be718b77d012
- 1mo ago Changed f2cf8112476d
- 1mo ago Changed e2d280c8cbd7
- 1mo ago Changed f44b85a42617
- 1mo ago First seen · 25 lines · 81 tokens per session scan C c77f86824f72
cleanup is a skill published in the GitHub repository udecode/dotai (1,163 stars, last pushed 6d ago), with no licence file. It adds 129 tokens to every session and 4,453 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.
cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cleanupudecode/dotai | Skill | 1.2k | 6d ago | none | C | 129 | Claude Code |
| git-advanced-workflowswshobson/agents | Skill | 43k | 2d ago | MIT | A | 54 | Claude Code |
| workflow-patternswshobson/agents | Skill | 43k | 2d ago | MIT | A | 35 | Claude Code |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.6k | yesterday | MIT | A | 69 | Claude Code |
| chinese-commit-conventionsjnMetaCode/superpowers-zh | Skill | 8.6k | yesterday | MIT | A | 65 | Claude Code |
| devops/changelog-generationechoVic/boss-skill | Skill | 630 | 2d ago | MIT | A | 36 | Claude Code |
| dsh-pre-push-checksqufei1993/skills-hub | Skill | 1.9k | 3d ago | MIT | A | 51 | Codex |