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 — 104 skills, 1 agent, 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 104 skills, 1 agent, 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 yesterday 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 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.

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. yesterday Changed · +38 lines 5e75d5e17958
  2. 5d 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 yesterday), 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

Other skills, from other repositories

conventional-commit

Workflow for generating conventional commit messages following the Conventional Commits specification. MUST be invoked every time a commit is created. Guides construction of standardized commit messages with correct type, scope, description, body, and footer.

JanDeDobbeleer/oh-my-posh · 47 tokens

python-release

Handle Python SDK release, build, bump, packaging metadata, PyPI client pin, uv.lock, nox/build workflow, and publish verification changes. Use for Python release process work or dependency pin bumps; do not use for ordinary Python feature implementation.

ComposioHQ/composio · 53 tokens

release-notes

Generate and publish concise, evidence-based notes in the body of the latest existing GitHub Release. Use only when the user explicitly invokes $release-notes or explicitly asks to update the latest existing GitHub Release body. Do not invoke for general release planning, changelog, tag, or version tasks.

kenryu42/cc-safety-net · 65 tokens

ai-visibility-writing

Audit, question, suggest, or fact-preservingly revise a press release, blog post, contributed article, or expert explainer so AI answer systems can more easily retrieve, understand, quote, and cite its useful information. Use when someone asks for AI visibility, AI search, answer-engine, AEO, GEO, AI Overview, or…

elvisun/newsjack · 137 tokens

git-commit-smart

Generates meaningful, conventional commit messages automatically. Use when committing code changes. Analyzes diff to create descriptive commits following best practices.

majiayu000/spellbook · 32 tokens

review-gate

Use before an agent-produced diff is committed, pushed, opened as a PR, merged, landed, or applied to user files when explicit implementation approval is missing. Trigger for review gate, review pack, approve before landing, diff first then land, human approval, merge gate, commit gate, push gate, or PR readiness.…

majiayu000/spellbook · 95 tokens