全部技能 / 基础工具与工作流 / continue-claude-code-work
基础工具与工作流 · daymade/claude-code-skills

continue-claude-code-work

Continues interrupted Claude Code work only after local history has been read and reconciled. Use when the user provides a Claude Code Session ID, asks to pick up prior Claude work, says a Claude run was interrupted or compacted, or wants the current Agent to take over without `claude --resume`. Reconstructs the original business outcome, unfulfilled requests, user corrections, successful prior assets, current workspace truth, and the next action that directly advances the goal. For Codex sessions use continue-codex-work.

风险提醒:蓝色 · 知晓即可AI 侦查报告
作者 daymadeGitHub daymade/claude-code-skills ↗Stars 1385许可 MIT(仓库根 LICENSE:Copyright (c) 2025 daymade;GitHub API spdx MIT)commit d5c4678cb5
agent 宿主通常会约束 skill 执行权限;风险提醒为 AI 侦查观点,不构成质量或安全保证。第三方 skill 仅作拆解与展示,安装使用风险自负,版权归原作者。

1实现原理 · 为什么它能做到

它是一个‘续接编排器’,本体零脚本零文件操作:全部能力来自 SKILL.md 的流程纪律,第一步强制先调同仓的 daymade-claude-code:read-claude-code-history 拿‘verified read receipt’,未拿到前禁止任何项目改动。

daymade-claude-code/continue-claude-code-work/SKILL.md
Invoke `daymade-claude-code:read-claude-code-history` for the exact Session. Ask that Skill for a chronological evidence briefing, not separate “last user” and “last assistant” buckets.
注:依赖的是同仓库另一技能(read-claude-code-history,负责解析本地会话库);本技能目录只有 SKILL.md 一个文件。

read receipt 有固定内容清单(Session ID/项目、来源与时间覆盖、compaction 边界、每条保留的人类请求、end reason、未决调用、动过的文件、显式缺口),缺口可能含目标时要求用 reader 的 full mode 重读;身份/血统不明即停。

daymade-claude-code/continue-claude-code-work/SKILL.md
If identity, ancestry, or authorship is unresolved, stop; continuing from a guessed Session is worse than asking for the missing evidence.
注:fail-closed 姿态:宁可问用户也不从猜的 Session 续。

第二步把证据压缩成 7 字段‘续接契约’表(原始业务目标/当前显式请求/已完成/未完成/用户纠错/可用资产/下一步直接动作),每字段都要求独立证据,‘继续’这类提示词本身不算规格。

daymade-claude-code/continue-claude-code-work/SKILL.md
| Next direct action | One action whose success visibly reduces the unfulfilled business result |
注:表格要求区分‘旧 agent 声称的完成’与‘当前独立验证的完成’。

第三步与现实对齐:读目标项目当前 AGENTS.md/CLAUDE.md 与权威状态(历史指令可能过期),核对 cwd/分支/工作树,验证历史里的写入/提交/后台任务是否真的落地——transcript 记录的是尝试。

daymade-claude-code/continue-claude-code-work/SKILL.md
A transcript records attempts as well as successes.
注:防止把‘上次跑过’当‘现在还在’。

执行门禁是目标缩减测试:每次改向先问‘If this succeeds, which original unfulfilled result becomes smaller?’,答不上来的分支记成提案返回主线;并明令禁用 claude --resume/--continue。

daymade-claude-code/continue-claude-code-work/SKILL.md
Before changing direction, ask mechanically: “If this succeeds, which original unfulfilled result becomes smaller?”
注:把‘续接’严格限定为推进未完成的业务结果,防止漂移成总结/完美化 history 工具/开新实验。

收尾按契约汇报:Recovered goal / Executed / Now complete / Remaining / Not repeated,且禁止在只完成上下文提取或流程步骤时说‘continued successfully’。

daymade-claude-code/continue-claude-code-work/SKILL.md
Do not say “continued successfully” when only context extraction or a process step completed; the business result is the completion unit.
注:完成单位是业务结果,不是读档成功。

2核心能力

01前置 read receipt 门禁:无 verified 历史简报不动手
027 字段续接契约重建(业务目标/请求/完成度/纠错/资产/下一步)
03与现实对账:AGENTS.md/分支/工作树/外部操作落地核验
04目标缩减测试防漂移 + 禁用 --resume/--continue
05按契约汇报(含 Not repeated 的拒绝路径)

3外部依赖

类型依赖
cliclaude(宿主 CLI,明确禁止 --resume/--continue)
skillread-claude-code-history(同仓兄弟技能,读本地会话历史)

4风险提醒 风险提醒:蓝色 · 知晓即可

风险提醒:蓝色 · 知晓即可
  • 强依赖兄弟 reader 技能 — 证据质量完全取决于 read-claude-code-history 的解析正确性;reader 出错则契约重建建立在错误历史上
  • 历史内容含敏感数据 — 会把过去完整会话(可能含密钥/机密)重新读入上下文;在共享/审计环境下需注意
  • 无法机械自证‘完成’ — 业务结果完成与否最终靠 agent 判断 + 用户确认,SKILL 只能约束流程不能保证判断正确
  • 历史注入文本风险 — 旧会话若被污染(用户曾粘贴不可信指令),重读时可能影响当前 agent;SKILL 以契约为准部分缓解,非完全免疫
风险提醒:蓝色,知晓即可。纯 SKILL.md 编排:无脚本、无网络、无凭证文件读取、无自研写入;功能 = 先经同仓 reader 技能读本地会话历史(只读本地数据),再驱动 agent 在当前工作树继续未完成的业务任务(写入属正常 agent 授权工作)。注意点:读取内容含用户过去的完整会话(隐私敏感);依赖的 reader 技能质量决定证据可靠性。

5第二遍独立确认

  • [ok] 无脚本/无网络/无凭证 — 目录仅 SKILL.md;内容不含任何命令执行或网络指令
  • [ok] 引用的兄弟技能存在 — read-claude-code-history / continue-codex-work 均在 daymade-claude-code/ 下有 SKILL.md
  • [ok] read receipt 门禁是真实前置(非可选) — Step 1 标题 Obtain a verified read receipt;Do not act until the receipt states
  • [ok] 功能声明 vs 能力相符(不夸大) — 宣称‘continues work only after history read and reconciled’——SKILL 全文严格围绕该承诺,无越界声称
  • [ok] 本技能不自己解析历史 — 解析/搜索全部委托 read-claude-code-history(含 full mode 重读),与目录内无代码事实一致

6结论

  • 把‘续接中断的 Claude Code 工作’规格化成可验证流程,堵住最常见的翻车(凭印象续、把总结当完成)
  • 证据与声明分离:transcript 是尝试记录,完成度必须当前独立验证
  • 目标缩减测试提供机械化的防漂移闸门
  • fail-closed:身份/血统不明就停,宁可问用户
  • 适合:适合被中断/compacted 的 Claude Code 会话要换到当前 agent 继续(用户给 Session ID 或说‘继续之前的活’),且希望严格基于真实历史、不重复不漂移的场景;也适合作为工作流模板被其它‘续接类’技能借鉴。
    不适合:不适合 Codex 会话(应走 continue-codex-work);不适合原生 claude --resume 已在当前上下文恢复的场景(SKILL 明示无需再读);不适合没有历史可读/只想要轻量摘要的用户(它不是总结器,是续接执行器)。
    安装 agent 直装可复制
    ① 本站镜像 更新 2026-09-09
    方式 A · 人下载镜像包下载 continue-claude-code-work.tar.gz
    sha256: 8c7c7550b0a7ecaf…
    方式 B · JSON 格式安装指南,复制给 agent
    安装指南
    agent 读 JSON 指南后会自动从本站下载安装,无需更多说明。
    ② 上游 GitHub · 原始来源
    能访问 GitHub?直接去上游安装(实时版,可能已更新)GitHub 原始 ↗
    本页镜像锁定 commit d5c4678cb5;上游为实时仓库。
    来源信息 GitHub 原始
    作者 / 仓库daymade / daymade/claude-code-skills
    Stars1385
    最近推送2026-09-09
    本 skill commitd5c4678cb5
    许可MIT(仓库根 LICENSE:Copyright (c) 2025 daymade;GitHub API spdx MIT)
    本站信息
    收录日期2026-09-06
    分类基础工具与工作流
    侦查报告AI 侦查 · 2 遍 · 2026-09-06
    本站镜像与 GitHub 原始是不同来源:本站锁定 commit 快照经 /r2 分发;GitHub 为实时上游,内容可能已更新。
    同分类邻近