hnumaster

Sweepwise — AI skill for Claude Code

AI community

Disk checkup for developer Macs: finds stale AI-agent worktrees, runaway logs, hidden browser storage and dev caches — and tells you what's safe to delete, and why.

How to install Sweepwise

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hnumaster/sweepwise and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sweepwise does

Disk checkup for developer Macs: finds stale AI-agent worktrees, runaway logs, hidden browser storage and dev caches — and tells you what's safe to delete, and why.

Alternatives in AI

  • Slotstream — Run a 105 GB AI model on a Mac that can't hold it 396 ★
  • Memory Lancedb Pro — Production-grade long-term memory system (v1.1.0-beta.8) for OpenClaw AI agents 222 ★
  • Awareness Local — Local-first AI agent memory — one command, works offline, no account needed 199 ★

README

sweepwise

**A disk checkup for developer Macs.** It finds the big chunks of space that generic cleaners can't see or won't judge — and for every item it tells you **whether it's safe to delete, and why**.

[中文说明](README.zh-CN.md)

npx sweepwise

Generic cleaners are good at system caches. On a developer machine, though, the biggest wins usually need context before anyone dares to touch them:

A generic cleaner… sweepwise…
sees a 50 GB .log file checks how long since it was written, whether a process still has it open, and shows its last line
sees a directory an AI coding agent left behind asks git: uncommitted changes? merged? pushed? still in use?
clears Chrome's cache maps IndexedDB and legacy FileSystem storage back to each website, including the part Chrome's settings page doesn't show
guesses leftovers by app name confirms via bundle id and Spotlight that the app is really gone, and recognizes "same app, new bundle id"
deletes every node_modules only picks projects idle for months that have a lockfile

What a report looks like

AI coding agents / git worktrees  7 items · 68.3 GB
  [1] ●  26.4 GB  myapp · claude/cinematic-engine  Claude Code
                  17 uncommitted changes — would be lost · Not merged; 45 unpushed commits (the branch is kept)
                  Active just now — may still be in use
  [4] ●   6.9 GB  myapp · claude/stickman-skill  Claude Code
                  No uncommitted changes · Merged into dev · Last active 19 days ago

Runaway logs, crash dumps, installers  2 items · 59.3 GB
  [8] ●  59.0 GB  ~/work/myapp/.tmp/worker.log  log
                  Not written for 56 days · Not open by any process
                  Last line: [worker] queue error BullMQ could not load the optional 'ioredis' package…

Website data stored in browsers  12 items · 31.6 GB
 [26] ●   7.8 GB  http://localhost:3000  Chrome
                  IndexedDB 7.8 GB