首页 / 全部技能 / 基础工具与工作流 / 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.

L2 本地 · 限定工作目录V1 已固定读写文件Dual-pass Audit
Author daymadeGitHub daymade/claude-code-skills ↗Stars 1385License MIT(仓库根 LICENSE:Copyright (c) 2025 daymade;GitHub API spdx MIT)Commit d5c4678cb5
管控等级描述 skill 的能力与建议配套的管控措施,不代表质量或安全认证,也不表示可用或不可用。是否使用由用户和管理者决定。不同 agent 宿主对权限的约束各不相同,请勿假定宿主一定会提供安全兜底。第三方 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外部依赖

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

4管控建议与判定依据

建议配套管控措施
面向 Agent
限定工作目录
面向管理者
保留操作记录
判定依据(文件路径与关键语句摘要)
  • 本地工作目录: 文件读写与工件输出: (由 agent 按正常授权执行当前项目工作——技能本身无写指令;改动前强制 read receipt 与契约)
审计说明: 。纯 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 明示无需再读);不适合没有历史可读/只想要轻量摘要的用户(它不是总结器,是续接执行器)。
    Install Agent-Ready
    ① Verified Mirror 2026-09-09
    Option A · Direct DownloadDownload continue-claude-code-work.tar.gz
    sha256: 8c7c7550b0a7ecaf…
    Option B · Copy Guide for Agent
    install.json
    agent 读 JSON 指南后会自动从本站下载安装,无需更多说明。
    ② Upstream GitHub
    GitHub Repo ↗
    Pinned to commit d5c4678cb5.