codex-session-recovery
Installation
SKILL.md
Codex Session Recovery
Recover the existing thread conservatively. Treat the rollout as private append-only evidence, not as a file to repair manually.
Non-negotiable safety rules
- Read every applicable
AGENTS.mdbefore inspecting the project named by the thread. - Never truncate, replace, reformat, or open a rollout JSONL for writing.
- Never update, copy, restore, or vacuum the live shared
state_*.sqlitedatabase. - Never kill a Codex, tmux, IDE, or app-server process that already owns the rollout.
- Never bypass an unknown ownership result, missing backup, checksum failure, schema mismatch, or invalid JSON tail.
- Keep raw rollouts, backups, database files, prompts, tokens, and generated images outside Git repositories and skill folders.
- Change model or reasoning effort only when the user explicitly requests that exact change.
- Do not retry authentication, quota, or failed-compaction errors automatically.
Use the bundled tool
Set the skill path once: