ai-chat-cleaner
v0.1.2
Published
Clean and remove AI chat with an interactive terminal UI.
Maintainers
Readme
ai-chat-cleaner
Clean and remove AI chat with an interactive terminal UI.
npx ai-chat-cleaner
npx ai-chat-cleaner --agent codex- Supported agents:
- Codex (
codex) - Claude Code (
claude-code)
- Codex (
[!WARNING] Please restart your AI coding tool after deletion.
It is recommended to clean history while Codex is not running, to avoid duplicate writes.
Why ?
I am not entirely sure why Codex and Claude Code do not provide a way to delete a specific conversation history, perhaps to preserve context continuity.
But in practice, one conversation that goes in the wrong direction can keep affecting later outputs, so I built this tool.
Credit
The terminal interaction mode is inspired by taze.
Claude Code cleanup implementation references claude-chats-delete.
License
MIT License © jinghaihan
