Skip to content

Task Handoff Directions

How to write a structured session handoff prompt and package it as native task knowledge.

When to use

user wants to hand off in-progress work to a new agent session via a task

Slash command: /wb-task-handoff

  • tasks/task_create

Directions

Create a native task with a comprehensive handoff prompt in its Co-work knowledge document.

Write the handoff prompt

Consolidate into these exact sections:

This is a handoff prompt from session {WORK_BUDDY_SESSION_ID}.

Task -- What needs to be done. One concrete paragraph.

Context -- Why this exists. Motivation without needing to ask.

What I Already Know -- Decisions, approaches tried/abandoned, edge cases, constraints. Highest-value section.

Key Files -- Absolute paths with brief annotations.

System Notes -- Non-obvious environmental knowledge. Skip if nothing applies.

Suggested Approach -- If you have a clear idea. Omit if not.

Be specific. File paths absolute. Decisions include rationale.

Create the task

`mcp__work-buddy__wb_run("task_create", {
    "task_text": "<concise single-line description>",
    "requested_note_role": "working_document/v1",
    "initial_note": "<full handoff prompt>",
})`

requested_note_role is what provisions the Co-work document, and initial_note is its body. Pass both: the role alone yields an empty document, and the text alone is refused outright with "Choose a task note role before supplying note text". The summary parameter is a scalar field on the task record and creates no document at all, so a handoff passed there is not knowledge the next session can open, only a string it has to be told about.

task_create carries a stable mutation ID, so a response-loss retry through the gateway replays the same native task instead of creating a duplicate. Do not use obsidian_retry.

Confirm

Show: task ID, brief summary, remind about /wb-task-assign .