一键导入
codex-thread-handoff
Use when a user asks to hand off, preserve project context, finish a major slice, or continue from a risky long Codex thread.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a user asks to hand off, preserve project context, finish a major slice, or continue from a risky long Codex thread.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codex-thread-handoff |
| description | Use when a user asks to hand off, preserve project context, finish a major slice, or continue from a risky long Codex thread. |
Move durable project memory out of the chat log and into the repository or workspace before a thread becomes too large to load, compact, or continue.
This is a repo-backed continuity handoff, not Codex remote host handoff. If the user wants to move the same active thread between local and remote hosts, use Codex's remote connection handoff flow instead. Use this skill when the user wants durable project context for a fresh or replacement thread.
When invoked, perform the workflow. Ask only if the project root is unclear, a write would overwrite an existing handoff, the active session file is needed for visual archiving, or the user must choose an archive location.
Load references/handoff-workflow.md and references/handoff-template.md, then write a concise handoff and a fresh-thread prompt. Do not dump the full transcript or raw tool payloads.
tools/codex-thread-health.py when available. Exit code 2 is WARN; exit code 3 is DANGER; both are reportable health results, not shell failures.tools/codex-thread-handoff-summary.py as a redacted draft aid, not as a replacement for repo inspection.Not archived: with the reason. Do not silently skip visual context.Do not claim to open or switch to a new Codex thread unless a tool does that and succeeds. If no such tool is available, give the user the exact prompt for the new thread.
Treat git, tests, repo docs, archive manifests, and handoff files as the durable memory layer. Do not treat the chat transcript or opaque compaction items as durable project notes.
handoff-nowcodex-thread-health reports danger, or reports warn and the next slice will be substantial