Codex Cross Provider Session Repair

Repair Codex Desktop sessions that fail after switching model providers or importing/forking old conversations. Use this skill whenever a user mentions an old Codex session becoming invalid, “model provider not found”, “Codex cannot load config.toml”, remote context compaction 404s, “Item with id rs_... not found”, repeated reconnecting during resume, or a migrated Codex conversation that cannot continue—even when the user only asks to inspect or explain the failure. Diagnose the target session across its JSONL rollout, root state_5.sqlite, config.toml, and logs_2.sqlite, then make a target-scoped backup-first repair with verification and restart instructions.

WardLu Updated
WardLu Skills: focused, versioned open-source skills for agent workflows, and the four files that make up one Skill

File contents

WardLu/skills commit 59ac59e5ca

Frequently asked questions

npx get-skill add wardlu/codex-cross-provider-session-repair