Repository navigation
What agents keep on disk
cloudranger edited this page Nov 14, 2026
·
1 revision
Coding agents also keep temp sessions and transcripts on your disk. zap map draws them to scale next to your worktrees.
zap map
The top bar splits everything into four parts:
| Mark | What it is |
|---|---|
▒ |
Merged or empty worktrees, which zap can remove |
█ |
Worktrees in use |
▓ |
Claude Code temp sessions in /tmp/claude-<uid>
|
░ |
Claude Code and Codex transcripts |
Below it, each kind is broken down by agent or project. --top 5 lists more projects under each.
zap deletes worktrees and nothing else on this map. Claude Code and Codex need their transcripts to resume a session, and running agents use their temp sessions.
zap map --tree--tree draws nested blocks sized by disk use, like a disk treemap. It's experimental, and --height sets how many rows it uses.
Getting started
Using zap
- The picker
- How zap decides
- Safety checks
- The .zap file
- Scan roots
- Disk alerts
- What agents keep on disk
With coding agents
Reference