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.

Measured on the maker's Mac · 21 Nov 2026 · sizes only, no file opened

29.5 GBin 8 folders
  • Claude Code~/.claude/projects13.3 GB
  • Codex~/.codex5.2 GB
  • Cursor~/Library/Application Support/Cursor4.1 GB
  • Cursor~/.cursor2.8 GB
  • Claude Code~/.local/share/claude/versions1.8 GB
  • opencode~/.local/share/opencode, ~/.opencode1.2 GB
  • Claude desktop app~/Library/Application Support/Claude1.1 GB

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/null

What is safe to delete

Every file in these folders is one of six kinds. The kind decides the rule.

  • Credentialsauth.json, .credentials.jsonNever
  • What you wrote, and memorysettings, instructions, skills, memory/Never
  • Session historytranscripts, prompt history, chat databasesPer session, to the Trash. Never edit a database
  • Undo snapshotsfile-history/, checkpointsOnly together with their session
  • Superseded releasesversion folders an updater left behindSafe when nothing runs from them
  • Recreated caches and logslogs/, 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.json keeps less. Deleting ~/.claude/projects loses resume and rewind for past sessions. Its updater keeps the two newest releases.

  • Codex

    Old releases in ~/.codex are 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; only state.vscdb.backup may 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 Mac

Monitor free · Clean: 14-day trial, then $12 once · macOS 14+ · Apple silicon · Notarized

  1. 1Drag to Applications
  2. 2Open TinySift
  3. 3Scan with Smart Clean