Skip to content

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
zap map: a bar of worktrees, temp sessions and transcripts, then a breakdown by agent and project

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 leaves these alone

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.

The treemap

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.

Clone this wiki locally