continue-codex-work

A procedure for taking over unfinished work from an earlier Codex session after verifying that session’s history and identity.

In plain words
What is it for?
Use it when a Codex run was interrupted, compacted, stuck, or handed to another agent with a session ID.
Why use it?
It prevents work from continuing with missing or incorrectly matched context. The history check shows what the earlier agent actually did and what remains.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/daymade/claude-code-skills/continue-codex-work
Any agent
npx skills add daymade/claude-code-skills --skill continue-codex-work
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code, Codex.

Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,071 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00144 $0.01071
Opus 5 $0.00072 $0.00535
Sonnet 5 $0.00029 $0.00214
Haiku 4.5 $0.00014 $0.00107

Measured 3d ago against content hash f63c6a090600, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

continue-codex-work scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

daymade-claude-code/continue-codex-work/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Continue Codex Work

Continue means finish the still-unfulfilled business task. Reading history is a mandatory evidence phase, not the deliverable.

Entry gate: external takeover, not native resume

Current situation Action
Codex itself natively resumed this same conversation, and the restored turns or compaction state are already in the current context Do not invoke this Skill or read-codex-history. Continue directly from the retained context, then verify current workspace and external state before changing anything.
A new/different Agent context must take over an earlier Codex rollout, or the user identifies another Session ID whose continuity is not already present here Use this Skill. Step 1's verified history receipt remains mandatory.

A restart is not enough to choose the second row. The deciding fact is whether the current conversation is the host-restored continuation of the same Session, not whether a Codex process was restarted.

Step 1: Obtain a verified Codex read receipt

Invoke daymade-claude-code:read-codex-history for the exact Session ID and request the full chronological Session evidence briefing. If the ID is unknown, use that Skill's inventory or bounded search first.

The receipt must state:

  • prompt-ledger, state-index, and rollout sources used;
  • selected session_meta.id and whether it exactly matches the requested ID;
  • root-to-child fork lineage and exact inherited byte boundaries;
  • selected and inherited chronological user/assistant turns;
  • compacted context, latest plan, end reason, unresolved calls, files, and gaps.

Fail closed on a mismatched rollout, missing child rollout, ambiguous physical copy, missing parent, broken byte boundary, or continuation cue with no recoverable parent objective. Never continue from the “closest” file.

Step 2: Rebuild the continuation contract

Before the first project-changing tool call, fill this internal contract from the read receipt and current-state verification:

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 99 lines · 144 tokens per session scan A f63c6a090600

Subscribe to this mod's changes

continue-codex-work is a skill published in the GitHub repository daymade/claude-code-skills (1,367 stars, last pushed today), licensed MIT. It adds 144 tokens to every session and 1,071 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.