ryfineZ/codex-session-patcher
A lightweight Python tool to clean AI refusal responses from Codex CLI session files observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 95
- Release rhythm 96
- Longevity 11
Flags: young no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 161
- days_rel: 31
- days_push: 31
- n_releases_24m: 13
Adoption not part of the score
2649 stars · 405 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python tool that cleans AI refusal responses from Codex CLI, Claude Code, and OpenCode session files so conversations can be resumed, with optional LLM-based rewriting of replacements. It also injects CTF/pentest-oriented system prompts into tool configurations to reduce refusals during security testing.
Use cases
- remove AI refusal replies from Codex CLI session files
- resume a Codex session that got stuck on a refusal
- inject a CTF context prompt into Claude Code or OpenCode
- batch-clean refusal messages across a session history
- erase encrypted reasoning blocks from session logs
- preview diffs before patching AI session files
When to choose
- you do security testing or CTF work with AI coding assistants and hit frequent refusals
- you need to edit or restore Codex/Claude Code/OpenCode session files with backups
- you want a Web UI with diff views and multi-platform session management
When to avoid
- you need a general-purpose session viewer rather than refusal cleanup
- you require a formally licensed or audited tool (no license file is published)
- your workflow has no legitimate security-testing context for refusal bypassing
Facets
cli-tool · maturity active
developer-tools llm-inference prompt-engineering chatbot http-server cli developer-tools security penetration-testing artificial-intelligence python cli cross-platform codex-cli claude-code opencode session-cleanup refusal-removal ctf prompt-injection web-ui jsonl sqlite command-line web-server
1 source
- readme: https://github.com/ryfineZ/codex-session-patcher · fetched 2026-08-28 · 4acefe3e2e52
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ryfineZ/codex-session-patcher | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="ryfineZ/codex-session-patcher")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem