Disk Reduction

Reclaim disk on the maintainer's Mac when the volume is full or filling — ENOSPC, "no space left on device", a failed build or agent harness, or a routine sweep of Rust build residue. Invoke whenever free space is the problem. Covers the two families that actually hold the space (worktree-private `target/` dirs and orphaned content-hashed shared-target buckets under `~/.cache/nub`), the safety gates that keep a live bucket and the installed `nub-dev` binary alive, and why `du` and `df` disagree by tens of GB on APFS. For CPU load, orphaned processes, or a build hung on a target lock, use `cpu-reduction`; for not creating the residue, `rust-build-hygiene`.

nubjs 00aee06 2 files · 16.4 KB Updated

File contents

nubjs/nub/tree/main/.claude/skills/disk-reduction commit 00aee06c4e

Frequently asked questions

npx skillmds@latest add nubjs/disk-reduction