Skip to content

Your coding agent pays for everything it loads before you type a word.

Often 50–70k tokens per session — plugins, skills and MCP servers you forgot you installed. Agent GC measures it, shows where it goes, and switches off what you don't use.

agent-gc scan · ~/.claude

start cost68k tokens


meshyunused 30 days19k

system & other18k

serenaunused 30 days5k

repomixunused 30 days5k

superpowersduplicate4k

claude-mem4k

obsidian-vaultunused 30 days3k


if you switch off what you haven't used in 30 days, or loaded twice

start cost≈ 31k (−55%)


from a real agent-gc scan, 2 Dec 2026

Terminal window
brew install dimitreee/tap/agent-gc

Then run agent-gc scan to see your own receipt. More options: Install.

  • Nothing is removed or switched off until you confirm once.
  • Everything it removes or switches off can be brought back for a while — a switched-off source can be switched back on at any time.
  • It never kills an agent session, never touches agent memory and never deletes a config.
  • Nothing leaves your machine — no telemetry, no network calls.

Measure

What a session start really costs, from your agent’s own transcripts. Start cost

Switch off & bring back

Any plugin, skill, MCP server or hook — or everything unused for 30 days at once. Every config edit is backed up first. Start cost

Clean up

Old temp dirs, interrupted plugin installs, orphaned MCP server processes, merged worktrees — restorable for a while. Automatic cleaning

Repository budget

A repository says how many tokens a session should cost at start; Agent GC shows who is over. Repository budget

agent-gc top

A live view of every running Claude Code session and its subagents, and how much each piles up. agent-gc top

agent-gc sched

Warns or stops an agent that is stuck or burning through its budget. Never kills a session. agent-gc sched