Claude Code deletes conversations after 30 days

1 points by mieubrisse ↗ HN
Sharing this in hopes it saves other people the data loss I experienced:

CC's default setting is a 30-day data retention: https://github.com/anthropics/claude-code/issues/59248

If you want to keep your transcripts, you'll need to update `cleanupPeriodDays` in your `settings.json`.

4 comments

[ 3.2 ms ] story [ 20.7 ms ] thread
And their interface agressively resists to idea of save the answer for furure consumption. No, I do not need that incredible slow pdf builder, just give me to download html.
I have it build self contained tools all the time and I've never had an issue getting it to let me download the standalone HTML page. Usually just a "Download" button on the artifact on the page UI screen (just confirmed with recent tool I had it build). Assuming you mean the claude.ai website interface.
Apart from maybe that, once you start coding for days/weeks, after couple of compact compression, it fails to find conversation or important things discussed, even when the transcript exist.
Another thing I found recently, kind of the opposite, is that /insights reads from a cache of previous findings, often several months old. So if you’re finding that your /insights are all old news, asking it to clear them out is one way to get more relevant results.