storage-audit
Installation
SKILL.md
Reclaim disk on the Mac mini
One rule: retire a path when it is a known-regenerable class and idle. The classes are the
script's functions; nothing else is in scope. Success is the df delta, never the bytes selected.
Run it
cd ~/.hermes/profiles/matias
./scripts/storage-hygiene.sh --dry-run # preview; audit records only
./scripts/storage-hygiene.sh # guarded cleanup
./scripts/storage-hygiene.sh --compact-only # only shrink T3/OpenCode free pages
Target is 40 GiB free on /System/Volumes/Data. A run that starts below target switches to the
short age gates itself (--aggressive: 3h instead of 24h on linked worktrees and their
node_modules). Hermes cron storage-hygiene-every-3-hours (30 */3 * * *, no-agent) runs
storage-hygiene-scheduled.sh, which reports failures at any free-space level and warns below 10 GiB.