Join the waitlistJoin
← All cleanup guides
Claude Code, Codex and Cursor

AI coding tool data: is it safe to delete?

Settings, sessions and history that the Claude Code, Codex and Cursor coding tools keep in the home folder.

Where it lives
  • ~/.claude
  • ~/.codex
  • ~/.cursor
Risk
Protected. SPACE256 shows its size but never offers to delete it.
Comes back on its own
No
If you delete it
Deleting this data loses sessions, prompt history and sign-in credentials, which cannot be recreated.
What SPACE256 does
Shows what it is and how big it is. It does not delete it.

10.4 GBAI coding tool data on the Mac this site's city was scanned from

What it is

AI coding tools keep their data in your home folder: Claude Code in ~/.claude, Codex in ~/.codex and Cursor in ~/.cursor. It includes settings, saved sessions and conversation history, project memory, extensions and, for some tools, what keeps you signed in.

Why it grows

Long sessions and their history are kept so you can resume them, and every project you use the tool in adds its own records. Tools that also store extensions or local indexes grow further.

When to clear it

Only through the tool itself, for example by removing old sessions it offers to clean up.

When to keep it

Always keep the folder itself. Deleting it removes your settings, loses every saved session and its history, and can sign you out.

Questions

Why is this marked Protected?

These folders hold your sessions, prompt history, settings and sign-in credentials for the tools. None of it can be recreated, so SPACE256 shows the size but never offers it for cleanup.

Then why show it at all?

So you know where the space went. If it's large, each tool's own settings or commands are the safe way to trim old sessions.

Get SPACE256 at launch