Guide · AI coding agents
Where 29.5 GB of AI agent data lives on a Mac
Claude Code, Cursor and Codex keep transcripts, old releases and chat databases in your home folder. What each folder holds, how large it got on one developer's Mac, and what is safe to delete.
Hover a row for what fills it.
Measure yours in one command
It reads folder sizes and changes nothing.
du -sh ~/.claude/projects ~/.codex ~/.cursor ~/.local/share/claude/versions "$HOME/Library/Application Support/Cursor" "$HOME/Library/Application Support/Claude" 2>/dev/nullWhat is safe to delete
Every file in these folders is one of six kinds. The kind decides the rule.
- Credentials
auth.json, .credentials.jsonNever - What you wrote, and memory
settings, instructions, skills, memory/Never - Session history
transcripts, prompt history, chat databasesPer session, to the Trash. Never edit a database - Undo snapshots
file-history/, checkpointsOnly together with their session - Superseded releases
version folders an updater left behindSafe when nothing runs from them - Recreated caches and logs
logs/, cache folders, state.vscdb.backupSafe when the tool is quit
Tool by tool
What each tool's own documentation says, read on 21 Nov 2026.
- Claude Code
Deletes old transcripts by itself after
cleanupPeriodDays, 30 days by default; a lower value in~/.claude/settings.jsonkeeps less. Deleting~/.claude/projectsloses resume and rewind for past sessions. Its updater keeps the two newest releases. - Codex
Old releases in
~/.codexare safe once a newer one runs. Sessions and the history database are your own data. - Cursor
Chats and checkpoints live in
state.vscdb. Do not delete or rename it; onlystate.vscdb.backupmay go, with Cursor fully quit.
Where TinySift fits
A Mac monitor and developer disk cleaner. Nothing is removed until you confirm.
TinySift's Smart Clean scan includes Codex's old releases and the leftovers of Codex installs that did not finish. They start unticked, and Review shows every path before anything moves. Credentials, what you wrote and session history are never listed.
Watch what’s busy.
Clear what rebuilds.
Download for MacMonitor free · Clean: 14-day trial, then $12 once · macOS 14+ · Apple silicon · Notarized
- 1Drag to Applications
- 2Open TinySift
- 3Scan with Smart Clean