How to Keep Chat History Forever in Codex and Claude Code
HanchungLee · x · 2026-07-31
Tips for preserving full chat history in two AI coding tools:
- Codex: Edit /.codex/config.toml, set [history] persistence = "save-all".
- Claude Code: Edit /.claude/settings.json, set cleanupPeriodDays = 9999.
Related event: Configuration Tips to Persist History in Codex and Claude Code(2 posts)→
More from coding & agent
- AI-Generated Code Floods GitHub: Repos Turned into Dumpster Fires of Issues and PRs — DanielLockyer · 2026-07-31
- Running Multiple Agents in Git Worktrees Feels Like an RTS Game — Dan_Jeffries1 · 2026-07-31
- Open Source Project Automates Bank Statement Extraction with YOLO and LLMs — tom_doerr · 2026-07-31
- AITOPIA Launches SuperAgent Scotty for Autonomous Cross-Platform Content Creation — SimplyAnnisa · 2026-07-31
- Testing Ling 3.0 Flash: Generates and Renders 3D City via Blender MCP from a Single Prompt — niacolhealth · 2026-07-31
- Addicted to AI Coding Tools: Just One More Bug Fix Bro — NielsRogge · 2026-07-31