SKILLEMALL.ai

AC 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.

ClawHub Agent Skills author: Ward Lu v0.7.6 MIT-0 9 files · 2 scripts body ≈ 4 376 tokens Open the sourceclawhub.ai analyzed 2 d ago

Repair Codex Desktop sessions that fail after switching model providers or importing/forking old conversations.

As a process C 63/100 · Has gaps — weak spots: result and completion, inputs and preconditions, running it twice

AnalyzerSoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
A
94/100
safety, quality, tests
Safety 60%
99
Quality 40%
87
Run on models
none yet
Process rating
C
63/100
Has gaps
Result and completion w 14
0
Inputs and preconditions w 11
0
Running it twice w 4
30
the three weakest of ten parameters · all ten

How to improve

    For the model run — optional
    • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
    • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

    Guard findings · 1

    ✓ No critical or high findings

    Medium and low: 1
    • low Secrets in code secret-high-entropy-token SKILL.md:41
      High-entropy token-like string (may be an id, hash or a credential) (placeholder value)
      The UUID is the last segment of the filename (e.g. `roll…32-<UUID>.jsonl`).
      placeholder

    Files scanned: 9. Evidence is masked. Grey chips explain why severity was lowered.

    Against the Agent Skills spec

    ✓ No remarks against the Agent Skills spec

    Process rating: all ten parameters 63/100

    • 0Result and completion. Does not say what the result is
    • 0Inputs and preconditions. Does not say what the process needs to start
    • 30Running it twice. 12 mutating operations with no state check
    • 60Tools and files. Uses tools (bash, python) that frontmatter does not declare
    • 70Execution cost. Instruction body is 4376 tokens
    • 100Steps. 41 steps
    • 100When it triggers. States when to use and when not to
    • 100Failures and branches. 2 branches, has a failure section
    • 100Consistency. Name and required fields are in place
    • 100Progress reporting. Reports progress
    • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing

    Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

    Quality signals

    • +4Description does not say when NOT to use the skill (false activations)
    • +3Output format is not stated: the model decides each time
    • -33 of 6 scripts are never mentioned in SKILL.md
    • +2Single-language instructions
    • +5Description quotes 3 example trigger phrases
    • +3Description length 668: enough signal without eating the budget
    • +4Structure: 15 headings
    • +3Step-by-step instructions: 41 items
    • +4Has examples (11 code blocks)
    • +1License stated

    Quality base 70; lint remarks subtract, signals add up to 100. Result: 87.

    External checks

    ClawHub: suspicious
    The skill is a mostly coherent Codex session repair tool, but it has target-validation and install-supply-chain issues users should review before installing.
    LLM: suspicious (high) · 10 Sept 2026