agent-disk-hygiene

agent-disk-hygiene is a skill for Claude Code from Aitherium/awdk. It costs 70 tokens per session (2,145 once invoked), scanned C, original, no licence file.

A cleanup skill for disk files left behind by coding agents, such as Git worktrees, build archives, ISO output, and nested caches. A Git worktree is a separate working directory connected to a repository.

In plain words
What is it for?
It is for finding and cleaning agent-created worktrees, build tarballs, ISO files, and caches.
Why use it?
Agents can create large amounts of temporary data that are easy to overlook and that consume disk space. This addresses that debris rather than model-weight storage.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the awsh plugin — 120 skills, 4 MCP servers shipped together

Good fit It is for finding and cleaning agent-created worktrees, build tarballs, ISO files, and caches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aitherium/awdk/agent-disk-hygiene
Install

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.

Any agent
npx skills add Aitherium/awdk --skill agent-disk-hygiene
Clone the repo
git clone --depth 1 https://github.com/Aitherium/awdk

Made for: Claude Code.

Or install awsh, the plugin that ships this one along with the rest of its 120 skills, 4 MCP servers.

Wrote 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.

agentmods badge for agent-disk-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/aitherium/awdk/agent-disk-hygiene/github.svg)](https://agentmods.dev/skills/aitherium/awdk/agent-disk-hygiene)
Your own site
<a href="https://agentmods.dev/skills/aitherium/awdk/agent-disk-hygiene"><img src="https://agentmods.dev/badge/skills/aitherium/awdk/agent-disk-hygiene/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.

agentmods 80×15 button for agent-disk-hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/aitherium/awdk/agent-disk-hygiene"><img src="https://agentmods.dev/badge/skills/aitherium/awdk/agent-disk-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,145 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02145
Opus 5.5 $0.00028 $0.00858
Sonnet 5.5 $0.00014 $0.00429
Haiku 4.5 $0.00007 $0.00215

Measured 1mo ago against content hash 5e75d5e17958, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

agent-disk-hygiene 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 1mo 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.

**Use `git worktree remove`, not `rm -rf`.** A bare `rm -rf` leaves the registration
adk/harnesses/claude_mod/skills/agent-disk-hygiene/SKILL.md · 143 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

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.

  1. 1mo ago Changed · +38 lines 5e75d5e17958
  2. 2mo ago First seen · 105 lines · 70 tokens per session scan C 81d822b5e63f

Subscribe to this mod's changes

agent-disk-hygiene is a skill published in the GitHub repository Aitherium/awdk (11 stars, last pushed today), with no licence file. It adds 70 tokens to every session and 2,145 once invoked, about $0.0003 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-02.

Related

agent-disk-hygiene compared with skills from other repositories

agent-disk-hygiene next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-disk-hygieneAitherium/awdkSkill11todaynoneC70Claude Code
conventional-commitJanDeDobbeleer/oh-my-poshSkill24kyesterdayMITA26Claude Code, Codex
Dotfilesdanielmiessler/LifeOSSkill21k14d agoMITA125Claude Code, Codex
python-releaseComposioHQ/composioSkill31ktodayMITA53Claude Code, Codex
about-thinkrailJetBrains/thinkrailSkill8.5ktodayApache-2.0A153Claude Code, Codex
worktreeget-bb/bbSkill6.3ktodayMITA33Claude Code, Codex
release-noteskenryu42/cc-safety-netSkill2.2kyesterdayMITA65Claude Code, Codex