← all repositories

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.

1.7k stars Python Coding Assistants
codex-session-patcher
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.