Keep your Claude Code conversation history
Peter Hartree
By default, Claude Code deletes your conversation history after 30 days.
I've disabled this—the data might come in handy one day.
To make the change:
Hey Claude, please keep our conversation history indefinitely. To do that, add this to your global settings:
"cleanupPeriodDays": 99999
