ryfineZ/codex-session-patcher
A Python tool that cleans AI refusal responses from Codex CLI, Claude Code, and OpenCode session files to allow interrupted coding sessions to resume.

Velocity · 7d
+22
★ / day
Trend
→steady
star history
Codex Session Patcher is a session-cleaning and prompt-injection utility for AI coding assistants. It scans session files for refusal responses, then rewrites them using LLM APIs (OpenAI/Ollama/OpenRouter) to produce compliant continuations, enabling sessions to resume after safety-related interruptions. It also supports batch processing, backup/restore, and diff-based comparison of changes.