跳到主要内容
知仓学习社ZHICANG

continue-codex-work

>-

不碰外部(只输出文字)无严重或高危命中daymade/claude-code-skills

它会碰到什么

扫了多少1 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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:

| Field | Evidence required |

|---|---|

| Original business outcome | Earliest still-governing human request across inherited and selected timelines |

| Current explicit request | Latest human request that is not only a continuation cue |

| Already completed | Current independent verification, not old Agent narration |

| Still unfulfilled | Requested result without completion evidence |

| User corrections / do-not-repeat | Human messages rejecting a route, assumption, or output |

| Proven assets and successful routes | Existing code, documents, Skills, outputs, commands, and prior successful experiments |

| Next direct action | One action whose success visibly reduces the unfulfilled business result |

If the child contains only “继续,” “continue,” or /fork, inherit the task from the

verified parent snapshot. A local cue is not a standalone goal.

Step 3: Reconcile with current reality

  1. Read the current target project's AGENTS.md/CLAUDE.md.
  2. Confirm cwd, branch, working tree, relevant files, and external state.
  3. Verify that recorded patches, commits, pushes, downloads, jobs, or Agent outputs

actually landed; rollouts record attempted actions too.

  1. Retrieve and reuse prior successful assets before creating a replacement.
  2. For transient failures such as usage limits or service errors, verify whether the

original process later resumed and finished before duplicating work.

Step 4: Execute the business task

Perform the next direct action and close its feedback loop. Reviews, Skill work,

infrastructure cleanup, format polish, and extra safety machinery remain subordinate

unless they directly unblock the original result or the user explicitly promoted them.

Before every material branch, ask: “If this succeeds, which original unfulfilled

result becomes smaller?” No answer means the branch is not continuation work.

Do not run codex resume or codex --continue. Do not overwrite unrelated changes.

Step 5: Report against the contract

  • Recovered goal: exact Session lineage and original business outcome.
  • Executed: actions and independent verification.
  • Now complete: contract rows actually closed.
  • Remaining: unresolved rows and exact blockers.
  • Not repeated: relevant rejected routes deliberately avoided.

Context recovery, parser success, a green review, or a finished subprocess is not by

itself successful continuation. The user's business result is the completion unit.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。