handoff
When the user wants context saved for a later session, or work continued from a handoff.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- handoff
- description
- When the user wants context saved for a later session, or work continued from a handoff.
02 资源文件 3
- 参考文档REFERENCE.md173 B
- 参考文档references/create.md964 B
- 参考文档references/resume.md559 B
03 SKILL.md 正文
Handoff
Route and privacy
Default create: <anchor>/handoffs/handoff-<YYYY-MM-DD-HHmmss>.md, with anchor
this skill's absolute directory. "Save to <path>" selects create there;
"resume <path>" selects resume. Both together, missing values, or malformed
required Context/Open tasks block. Resolve all paths absolutely.
A named live focus overrides the saved one.
Redact tokens/cookies, keys, passwords/connection credentials, private or
authenticated URLs, emails/PII, certificates, and environment values.
Use [REDACTED: token], [REDACTED: password], [REDACTED: private-key],
[REDACTED: pii], or [REDACTED: url] for those values.
Environment values become NAME=[REDACTED]. Preserve variable names, command
shapes, exit codes, and artifact pointers, not sensitive values.
Never weaken redaction to make a command copyable.
No full diffs/plans/logs/transcripts.
The bound is 12 KB, eight open tasks, twelve artifacts; one to five bullets
per section, omitting empty optional sections.
Create
- Resolve a writable path/parent. Record
create | path | facts | redaction | written | terminal. Done when output can be written. - Select actionable current facts: plan, branch/PR/commits, dirty paths,
blockers, durable decisions; mark superseded material. Apply
references/create.mdto draft required sections and workflow state. Done when each fact helps the next agent act. - Scan draft twice for sensitive values, validate bounds/sections, atomically replace through a sibling temporary file, then scan the final file. Done when structure, bounds, three scans, and existing file pass.
- Report path, captured scope, and
resume the handoff at <absolute-path>. Done when file and resume instruction exist.
Resume
- Resolve/read; absent → BLOCKED with path. Record
resume | focus | artifact status | task | terminal. Done when required Context/Open tasks are valid. - Apply
references/resume.mdto verify paths, branch/dirty state, commits, PRs, and installed skills; classify current/moved/missing/superseded. Redact while reading referenced artifacts. Done when stale facts cannot act. - Choose highest-priority unblocked task under live focus and begin it, recovering only its artifact context. No task → evidenced BLOCKED, not another summary. Done at success, a real blocker, or confirmation gate.
- Report drift and work outcome. Create no new handoff unless requested.
Terminals: SUCCESS, BLOCKED, AWAITING_USER, INTERRUPTED, with evidence. On interruption revalidate artifacts touched since the last validation.
04 同仓库更多 Skills
use-skill
When the user gives a GitHub link to a skill and wants it run without installing it.
todoist-task
When the user wants a Todoist task created, or shown before it is created.
restate
When the user wants the last reply said again in plain words, wants a catch-up since their last message, or wants the decision they need to make.
upfront-design
When the user wants a design agreed before coding, a draft resumed, or an approved milestone checked.
recon
When the user wants this repository's saved map read, created, or refreshed.
prath-mode
When the user wants a goal sent to one skill or one delivery chain.