Claude Code deletes conversations after 30 days

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`.

2 points | by mieubrisse 11 hours ago

3 comments

  • eimrine 11 hours ago
    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.
    • jjice 7 hours ago
      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.
  • sandcat_ 1 hour ago
    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.
  • johnsonfash 11 hours ago
    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.