Hand unfinished work to the next session — or take over what another session left
brain_handoffThe session handoff. Call {action:"write"} when you are stopping before the work is done — the human asked for a handoff, your context or usage limit is near, the day ends, you are blocked or switching tool — with the task, what is done…
Instructions
The session handoff. Call {action:"write"} when you are stopping before the work is done — the human asked for a handoff, your context or usage limit is near, the day ends, you are blocked or switching tool — with the task, what is done, what is NEXT in order, the files and how to verify: it becomes a 🤝 card in the project brain that the human can see and correct, and the next session on this project (any agent — Codex, Claude Code, Cursor) sees it at its first brain_sync / session start. Call {action:"take", id} (a card) or {action:"take", session} (unfinished work a session left without a card — KLYPIX records every session's last reply, files and commits automatically) before continuing it, so peers see it is taken; {action:"done"} when it is finished (the card is archived); {action:"list"} shows every open handoff and every unfinished session. Never ask the human to paste a summary into the next session — write a handoff. Machine-local for the automatic layer; the card travels with the brain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | take / done: the handoff card id (from brain_sync, the session-start brief, or list). | |
| area | No | write: the brain area (titled box) the card goes into. Defaults to "Handoff". | |
| done | No | write: what is already finished (so it is not redone). | |
| next | No | write: the remaining steps IN ORDER, as the next session should do them. Required. | |
| open | No | write: questions still open, or decisions the human has to make. | |
| task | No | write: one or two sentences — what the work is and why. | |
| files | No | write: project-relative files the work touches (recorded as evidence anchors). | |
| title | No | write: the work, in a few words ("Drive upload: the Place-it-now chooser"). | |
| action | No | write (default): record a handoff card. take: claim a handoff card (id) or unfinished work (session) before continuing it. done: mark it finished. list: every open handoff card and every unfinished session on this project. | |
| canvas | No | Brain canvas filename/path. Defaults to the project brain ("brain"). | |
| reason | No | write: why the work stops here. | |
| verify | No | write: how to check the state — a command or a visible result. | |
| project | No | Absolute project root containing brain.klypix. Defaults to this connection's project. | |
| session | No | take / done: the session id (or a unique prefix of 8+ characters) from the unfinished-work list, when the work has no card. | |
| summary | No | done: what was finished, in one or two sentences. take: an optional note. | |
| continues | No | write: the id of an earlier handoff card this one continues — it is closed as "continued by" this one. |