Codex Local Cleanup

Safely inspect, clean, and repair local Codex Desktop project and thread state under $CODEX_HOME or ~/.codex when removed projects, deleted workspace paths, archived threads, failed thread archive operations, or mobile-visible sidebar entries remain; use current local-project metadata and the App Server thread API first, back up before writes, preserve active projects/projectless chats/current thread by default, and reserve direct SQLite repair for verified fallback cases.

cku3987 Updated
Codex Local Cleanup flow

File contents

cku3987/codex-local-cleanup-skill commit 88c1cd2868

Frequently asked questions

npx get-skill add cku3987/codex-local-cleanup