Codex delete tasks help users keep workspaces clean and organized
OpenAI Developer Community
February 6, 2026
Agree to this feature request.
However, I will share how to clear all chat history on ChatGPT Codex.
Close Visual Studio Code completely.
Navigate to your User Home directory:
Windows: Press
Win + R, type%USERPROFILE%, and hit Enter.macOS: Open Finder, press
Cmd + Shift + H. (Not tested)Linux: Go to your home directory (
~). (Not tested)
Open
.codexfolderDelete
sessionsfolder to clear chat history. To clear archive, Gemini recommended to deletearchived_sessionsfolder.
Re-open Visual Studio Code.
Discussion in the ATmosphere