Skip to content
Back to skills

Walle

ASecurity

Disk space and agent-exhaust cleanup on macOS with the `walle` CLI. Use when the user says the disk/storage is full or low, asks "how are we on storage", "what's eating my disk", "free up space", "clean up", hits ENOSPC / "No space left on device", or mentions walle. Finds only what coding agents (Claude Code, Codex) left behind, proves it's safe, and cleans it up.

  • 59 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgobashgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add sidharthrajaram/walle --skill walle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Walle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Walle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sidharthrajaram-walle/badge)](https://www.skillsdirectory.com/skills/sidharthrajaram-walle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: walle
description: >
  Disk space and agent-exhaust cleanup on macOS with the `walle` CLI. Use when the
  user says the disk/storage is full or low, asks "how are we on storage", "what's
  eating my disk", "free up space", "clean up", hits ENOSPC / "No space left on
  device", or mentions walle. Finds only what coding agents (Claude Code, Codex)
  left behind, proves it's safe, and cleans it up.
---

# walle

`walle` cleans up after coding agents, and only after them. It learns where Claude Code and
Codex have worked from their session records, finds exhaust there (dead git packs, Codex
undo-store objects, task worktrees, /tmp scratch, old Claude Code versions, identical files),
and runs **guards** before it will touch anything. By default a headless `claude -p` (or
`codex exec`) reviews every candidate and can veto it. It ignores anything an agent didn't make.

| guard | meaning |
|---|---|
| agent | provably agent output (workspace an agent ran in, agent home, or transcript-referenced scratch) |
| quiet | nothing *anywhere inside* written in the quiet window (default 24h) |
| idle | no process has a file inside open or is sitting in it |
| unprotected | not on the user's protect list (plus Messages, Mail, Notes, Photos, keychains, iCloud) |
| git | any checkout inside has no uncommitted or unpushed work |
| writable | not deliberately write-protected |
| writer | no git pack/gc running (for git exhaust) |

## Rules for you

1. **Never `rm` to free space yourself.** Go through walle so every removal is guarded,
   and logged in `~/.walle/ledger.jsonl`.
2. **Never clean without the user's yes**, unless they said to in this conversation.
   Show them what you'd do first.
3. **Lead with numbers and proof, not guesses.** Quote the measured sizes and the
   guard results. If something is unknown, run `walle why <path>` instead of saying "probably".
4. **Respect the directive.** Don't edit `~/.walle/directive.json` by hand, don't add
   `--force`, and don't turn on rules the user has off (e.g. `agent.transcripts`) unless asked.

## Commands (all take `--json`)

```bash
walle --json                 # disk free, burn rate, hours to full
walle scan --json            # candidates + heldBack + advisories + review (the analyst's verdicts)
walle scan --fast --json     # rules only (skip the analyst; use this if YOU are the analyst)
walle scan --deep --json     # + identical-file twins (APFS clone-merge) + stale work folders
walle top --hours 24 --json  # what has been written recently, by folder: "what's eating it"
walle why <path> --json      # guard results for any path, and which rule (if any) claims it
walle clean <id> <id>        # clean specific candidates from the last scan (asks for no input)
walle clean --ready --yes    # everything safe (lossless/regenerable/orphan) from the last scan
walle clean <id> --dry-run   # show exactly what would happen
walle report --json          # what's been reclaimed, by agent and rule
```

## Typical flow

1. `walle --json`: report free space and time-to-full in one line.
2. `walle scan --fast --json` (you are already an agent; don't spawn another one to review), then show the user a short table: id, size, tier, what it is, and the
   one proof that matters most (usually `quiet`). Group by tier:
   - `lossless` / `regenerable` / `orphan`: safe exhaust
   - `judgment`: might be work; always ask item by item
3. Mention `advisories` (leaks to fix at the source) in one line each.
4. On "yes": `walle clean <ids>`, then report measured freed bytes and new free space.
5. Learn their context: when the user says why they want something kept or gone ("never touch
   final renders", "always clear /tmp venvs"), save it with `walle note "<their rule>"`. A note
   that names a path and says keep/never/don't also protects that path outright. If they have
   a doc about their projects, link it: `walle note --file <path.md>`. Notes for one project go in
   `WALLE.md` at that project's root. walle's engine treats all of this as outranking its rules on
   every scan, and the background patrol keeps following those calls. `walle note` lists it.
6. If space is still short, `walle top` shows where new bytes are coming from. Propose, don't delete.

Tiers: `lossless` (nothing lost: APFS clones), `regenerable` (rebuilds on demand), `orphan`
(nothing references it), `judgment` (the user decides).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.