Handoff Skill — delegation step
This skill is the delegation sub-step of
end-of-shift. A full end-of-shift run validates remaining work, finalizes proofs, records digests/learnings, and THEN hands off. Use this skill alone only for mid-session delegation; otherwise preferend-of-shift.
Transfer in-progress work to another agent or execution context with full state preservation, so work continues seamlessly after the current session ends or context runs out.
When to use this skill
- Context window is approaching its limit and substantial work remains
- The user wants work to continue unattended (background execution)
ck_routerecommends a different agent or runtime for the remaining task- The user explicitly asks to delegate, hand off, or pass work to a background agent
Protocol
Call
ck_contextto load current session state, open findings, active goal, and proof summary.Call
ck_memory_searchwith the current task description to surface any prior decisions, constraints, or context that the receiving agent will need.Build the handoff packet — record it with
ck_memory_record(type:decision, scope:session) containing:- What was accomplished this session (bullet list of completed work with file paths)
- What remains (ordered list of next steps, from most to least critical)
- Open findings — any blocked or warning-level issues the receiving agent must address first
- Constraints — must-not-change areas, budget limits, compliance requirements discovered this session
- Assumptions — decisions made without explicit human confirmation that the receiving agent should be aware of
- Resume hint — the single most important thing the next agent should do first
Call
ck_goal(mode:read) to confirm the goal record is current. If it has drifted from what was actually worked on, update it withck_goal(mode:record) before handing off.Call
ck_routeto determine the best agent or execution mode for the remaining work. Provide the remaining task list and any constraints.Call
ck_delegatewith the handoff packet as context and the routing recommendation from step 5. Use modehandofffor human-mediated transfer or moderuntimefor automated background execution.Confirm to the user:
- What was preserved (memory record ID)
- Where the work is going (agent / mode)
- The single next action for the receiving agent
- How to resume: what to tell the next agent to pick up seamlessly
Non-negotiable rules
- Never hand off with open blocked findings. Resolve or escalate them first — a blocked finding handed off unresolved will stall the receiving agent immediately.
- The handoff packet must be complete enough that the receiving agent can continue without reading this session's conversation history.
- If
ck_routereturns no suitable agent, tell the user explicitly rather than handing off to a mismatched executor.
What you produce
At the end of this skill:
- A
ck_memory_recordentry (type:decision) containing the full handoff packet - A
ck_delegatecall that initiates the transfer - A clear user-facing summary: what was saved, where work is going, and what the next agent will do first
Additional resources
- For proof preservation before handoff, run the
proof-memoryskill first - For routing decisions, see
ck_routetool documentation