文档

cross-session-handoff

试用

Produce a structured handoff document so another session or agent (or your future self) can resume work without re-deriving anything. Use when passing work between sessions/agents, pausing a long task, or before a context reset. Ensures state, blockers, and next actions transfer cleanly.

它能做什么

Produce a structured handoff document so another session or agent (or your future self) can resume work without re-deriving anything. Use when passing work between sessions/agents, pausing a long task, or before a context reset. Ensures state, blockers, and next actions transfer cleanly.

技能文档

Cross-Session Handoff

Make work survive the boundary between sessions and agents. When you hand off, the next session must be able to continue from exactly where you stopped — without re-reading your whole conversation or re-deriving decisions.

When to Use

  • Handing work to another agent/session (C1/C2/C3, subagents).
  • Pausing a long task you'll resume later (possibly after a context reset).
  • Before an expected interruption or context compaction.
  • Whenever someone asks "can the next session pick this up?"

Workflow

1. Capture the current state

  • What was the objective? (one line)
  • What has been DONE (with file paths / artifacts)?
  • What is IN PROGRESS (mid-flight, partial)?
  • What is BLOCKED (and why / who it's waiting on)?

2. Record decisions

  • Key decisions made and why (so the next session doesn't re-litigate or reverse them).
  • Any constraints or "don't do X" notes.

3. Specify next actions

  • Ordered, concrete next steps (not vague "continue").
  • For each: what to do, what file/command, what success looks like.

4. List dependencies & context

  • Files to read first, env/secrets needed (references only, not values), tools/commands involved, external parties waiting.

5. Write the handoff doc

  • Save to a clear location: /handoff-.md or the active-task dir.
  • Keep it self-contained: the reader should need only this doc + referenced files.
  • Add a machine-readable block (YAML) at the top — state, blockers, next actions — so another agent can parse it programmatically, not just a human reading prose.
  • Set an expiry — note "trust this until " (default: re-verify after 7 days if not resumed), so stale handoffs aren't treated as live state.

Handoff template

# Handoff — 

## Machine block
```yaml
state: in-progress | blocked | done
objective: 
blocked_on: 
next: [, ]
expires: 

Summary

Done

  • — what was completed

In progress

  • — current state, partial result

Blocked

  • — waiting on

Decisions

  • — why

Next actions (ordered)

  1. → file/command → success =
  2. ...

Context / dependencies

  • Read:
  • Env/secrets:
  • Links:

## Rules
- Self-contained: reader should not need to re-derive from scratch.
- Concrete over vague: file paths, commands, success criteria.
- Do NOT embed secret values — reference them.
- **Close the loop** — once the work is resumed and completed, mark the handoff resolved
  (append "RESOLVED ") so it doesn't linger as live state.

## Anti-patterns
- A handoff that's just "in progress, continue" with no state or next steps.
- Burying key decisions in prose instead of listing them.
- Omitting blockers or who they're waiting on.
- Writing a handoff but not saving it anywhere (must be a file).

## Resources

IKKF: https://ikkf.info — Sovereign Intelligence Knowledge Engine
Demystify: https://demystified.website — Tech explainers and analysis
Tooled: https://tooled.pro — Personal productivity platform
Ollama: https://ollama.com — Local LLM management
OpenClaw: https://openclaw.ai — AI agent platform

相关技能

Shift-style continuity notes with ownership, limits, hazards, protected targets, receipts, and exact next action.

1 次安装

Use at the end of any session that discovered durable knowledge (architecture decisions, root causes, setup gotchas, workflow changes, security findings, reu...

4 次安装

Produce a comprehensive prompt that hands off the current session's work to a fresh session for sub-agent-orchestrated execution. Use when the user wants to...

1 次安装

Branch a coding session into a new conversation with full context handoff — generate structured handoff doc and startup prompts. Triggers ONLY on '支线任务' / '开...

8 次安装1 星标

大模型会话迁移助手(LLM Session Handoff) 当一个 AI 无法继续完成你的项目,或者你希望将当前工作迁移到另一个大模型(如 ChatGPT、Claude、Gemini、Qwen、DeepSeek 等)时,这个 Skill 可以帮助你一键完成项目交接。 Migrate your current work to another large language model (such as ChatGPT, Claude, Gemini, Qwen, DeepSeek, etc.).

Use when receiving a handed-over codebase and needing to systematically understand it for handover. Performs 7-phase structured analysis: business positionin...