Discussion about this post

User's avatar
Anthony Feedbin's avatar

> By default Claude Code only saves 30 days of session history. I can’t think of a good reason not to change this so it saves sessions indefinitely, you never know when that will prove useful. So tell Claude Code to change that for you by setting cleanupPeriodDays to 0.

Wanted to point out that https://github.com/anthropics/claude-code/issues/4172 says to set it to a very high number like 99999 instead, since it's the number of days.

Antipopulist's avatar

Kind of weird to me that people see Claude Code as so much better than Codex, when I've found them to be fairly similar, except that Codex has vastly higher limits on the $20 plan.

26 more comments...

No posts

Ready for more?