codex-session-restore
Installation
SKILL.md
Codex Session Restore
Use the bundled script first. It is dry-run by default and writes nothing unless
--apply is present.
Provider Direction Rule
Set --provider to the provider that Codex Desktop should recognize now, not
automatically to the provider that originally created the sessions.
- If the user switched from krill/custom to official OAuth and wants old active
sessions to appear under the current official login, use
--provider openai. - If the user explicitly wants to switch the environment back to krill and make
sessions belong to krill, use
--provider krill. - Do not edit
config.toml,auth.json, or cc-switch's current provider just to restore sidebar visibility. Changing current auth/provider is a separate user request.