cc-clean open-sourced to prune Claude Code and Codex session storage
11/11/2026 — 11/11, 03:18·1 sources (all)·1 reports (all)
Key takeaways
- Developers have released cc-clean, an open-source tool for pruning local session storage from Claude Code and Codex. It removes embedded Bas…
Background & analysis
On 2026-11-11, a developer posted an open-source tool called cc-clean on V2EX for cleaning up local session storage left behind by Claude Code and Codex. According to the post, sessions pile up quickly when using Claude Code and Codex at the same time, and with limited disk space the author found themselves constantly shifting files around, hesitating to delete anything. After studying the underlying design of both tools, the author concluded that some redundant fields can be safely removed, with the stated goal of keeping as many sessions as possible without affecting resume, and dropping only the excess fields.
The cleanup list covers four items. First, embedded images: when you send a picture to point out what to change, it is stored in the chat history as Base64 encoding, sometimes repeatedly, yet it is rarely needed after the session ends. The author keeps valuable images elsewhere and says they have almost never gone back to these inline images, typically browsing history for the text chat instead. Second, command outputs are trimmed. Third, Codex encrypted reasoning states are removed. Fourth, Codex old context compression snapshots are removed. Embedded images are called out as the largest single source of bloat. The tool can be run with npx cc-clean@latest. As of the release, no further developments have been reported.
AI-generated from 1 reports · updated 3 days ago
Related AI tools
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 3 days ago
Reports on this story headlines open the original
A developer has published cc-clean, a tool that strips Base64-embedded images, trims command output and removes Codex encrypted reasoning state and old context snapshots from local Claude Code and Codex sessions while keeping them resumable. It runs via npx cc-clean@latest.
V2EXAI score 52
Other stories people are talking about
- Heat index 71Shared memory for Claude Code and Codex: pull it on demand, don't inject it1 sources
- Heat index 98NewDeveloper shares Claude Code context control and subagent model routing1 sources
- Heat index 84Developers Discuss Boundaries and Challenges of Claude Opus 5.5 in Multi-Round Code Reviews1 sources
- Heat index 214RisingClaude Fable 5.2 migration begins as API changes require backend adjustments4 sources
- Heat index 96NewClaude and Kimi take down a simulated wind farm in test1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

