ryfineZ / codex-session-patcher
PublicA lightweight Python tool to clean AI refusal responses from Codex CLI session files
A lightweight Python tool that edits local chat history files for the Codex application to remove AI refusal messages, insert compliant responses, and clean memory notes for seamless session resumption.
How It Works
You're talking to your AI helper about coding, but it suddenly refuses to continue because of something said earlier.
You find a simple helper program that cleans up stuck conversations so your AI can keep going.
Run the tool once, and it automatically spots your latest chat history.
It safely copies your chat first, then removes the refusing parts and adds positive notes to smooth things over.
See what changes it plans or let it update your chat right away.
Pick up your conversation with the AI helper, now free of roadblocks.
Your AI buddy cooperates fully, helping you build and create without interruptions.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.