Latest / Developer tools

Codex Session Patcher

github.com · Open source · Active

Cleans AI refusal replies out of Codex CLI, Claude Code and OpenCode sessions

Visit github.com ↗Share

Stars
3.1k
Forks
465
Open issues
15
Last commit
Releases
13
Found
8 months ago

GitHub figures as of . They are context, not a ranking.

Codex Session Patcher is a Python tool that scans Codex CLI, Claude Code and OpenCode session files for refusal replies and replaces them so a session can be resumed. It can use an LLM such as OpenAI, Ollama or OpenRouter to write replacement text that fits the conversation.

Repository description on GitHub: “A lightweight Python tool to clean AI refusal responses from Codex CLI session files”

What it does

  • Detects refusal replies in session files
  • Rewrites replies with an LLM or a fallback
  • Supports Codex CLI, Claude Code and OpenCode
  • Optional CTF prompt configuration

Good for

  • Resume a coding session interrupted by a refusal
  • Clean session history before continuing work

Suits: Developers who work on security tasks in AI coding tools.

What you can try

Install the Python tool, or run the script from the repository, and point it at your session files.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Codex Session Patcher on , when ryfineZ created its repository on GitHub. The oldest published release on GitHub is v1.2.0, dated . Its first tagged release landed the same day it was found. 13 releases have been published in total; the latest is v1.5.0 ().

Day-7 and day-30 updates

Day 7 4 releases shipped

Checked , later than day 7 because tracking began after.

Day 30 6 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (13 in total, busiest month 4).
  1. Repository created on GitHub: ryfineZ/codex-session-patcher
  2. Found: ryfineZ created its repository on GitHub. GitHub
  3. Release v1.2.0
  4. Release v1.4.3
  5. Release v1.4.4
  6. Release v1.4.5
  7. Release v1.4.6
  8. Release v1.4.7
  9. Release v1.5.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 13 releases. All releases on GitHub

Quick answers

When was Codex Session Patcher released?
Its first tagged release on GitHub is dated 26 Mar 2026. Kip found it on GitHub on 25 Mar 2026.
Is Codex Session Patcher open source?
Its source is public on GitHub at ryfineZ/codex-session-patcher; check the repository for licence terms.
What does Codex Session Patcher run on?
Command line.
Is Codex Session Patcher free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Codex Session Patcher still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
GitHublisting
official API record
GitHub repositoryryfineZ/codex-session-patcher
REST API record
GitHub Releasesrelease list
REST API record

Stable ID github-1191723123. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.