Quick start
1. Install
Section titled “1. Install”brew install dimitreee/tap/agent-gcNo Homebrew? npm i -g agent-gc-cli. To try it without installing, npx agent-gc-cli scan — but the steps below need a permanent install. All options: Install.
2. See your receipt
Section titled “2. See your receipt”agent-gc scan~/.claude — 68k tokens at session start [on ] ≈ 39k system & other [on ] 9k superpowers-ccg@superpowers-ccg-marketplace duplicate [on ] 3k claude-mem@thedotmack [on ] 2k meshy unused 30 days [on ] 2k serena unused 30 days
0 items to clean, 0 B- The first line is what every new session costs before you type anything, measured from your agent’s own transcripts.
- Each line below is one context source — a plugin, skill, MCP server or hook — heaviest first, with notes like unused 30 days or duplicate. What the notes mean.
- The last line is what Agent GC could clean up: old temp dirs, interrupted plugin installs, orphaned processes, merged worktrees.
Nothing has been changed yet. scan only looks.
3. Switch something off
Section titled “3. Switch something off”The easiest way is the terminal screen:
agent-gcArrows move, space switches a source off or on, o switches off everything unused for 30 days (after asking), q quits. The next session starts without it.
Changed your mind? Switch it back on the same way (space again), or from the shell:
agent-gc toggle claude:~/.claude mcp:global:meshy onagent-gc scan --json lists the installation and source ids.
4. Let it run on its own (optional)
Section titled “4. Let it run on its own (optional)”agent-gc auto onThis is the one-time confirmation for automatic mode: Agent GC then cleans up in the background as agents come and go and switches off sources unused for 30 days — always reversibly. What it will and won’t do.
Whatever automatic mode cleaned or switched off is listed by restore:
agent-gc restore # what can be put backagent-gc restore <id> # put one backagent-gc notify on adds one line at the next session start when something was switched off.