/handoff-self-monitoring:handoff-self-monitoringfrom Handoff Self-Monitoring
Formats turn-ending messages with a [HANDOFF] block (status, situation, options with default, next action) so the reader can act without reading the agent's trace.
Ships in Handoff Self-Monitoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
blocked is
a limit that stops the output itself - a refused write, no credential, a
file the request names not there.[HANDOFF] block: Status, Situation, Options with
Default, Next. A question answered, with nothing done or left to decide,
takes none.Purpose: Make sure that when a turn ends, the reader can act on the message — see where the work stands, see what has to be decided, see what to do next — without reading your trace.
Key idea: you have the whole trace; the reader has the message. The paths
you read, the commands you ran, the names of the things that failed are
transparent to you because you just saw them, and opaque to a reader who did
not. The close is sampled from that context, in its register, with the same
fluency as everything else: a narrative of what you did, in your terms, ending
where the work ended rather than where the reader has to pick it up. The
literature names the mechanism — the curse of knowledge and the expert
blind spot, the illusion of transparency, writer-based prose — and it
names the remedy, which is not "explain better". It is a fixed handoff format
with the recommendation as a mandatory field: nursing and aviation use
SBAR (Situation, Background, Assessment, Recommendation), medicine uses
I-PASS (Illness severity, Patient summary, Action list, Situation
awareness, Synthesis by receiver). Both exist because free-form handoff by
someone who knows the state failed in exactly this way. The [HANDOFF] block
is that format for an agent's turn:
| SBAR | I-PASS | [HANDOFF] |
|---|---|---|
| Situation | Illness severity | Status — one word the reader triages on |
| Background | Patient summary | Situation — what the reader has now, in their terms; the trace-register detail goes below the block |
| Assessment | Situation awareness / contingency | Options with a default, or Blocked-by |
| Recommendation | Action list | Next — the one action asked of the reader |
? in the last lines, in any
language.returned part.Status first. done, waiting, needs-decision or blocked — one
of four.
I-PASS opens with a one-word severity for the same reason: the reader
triages on it before reading anything else. "Mostly done", "done except",
"basically works" are not statuses; they are needs-decision or
blocked with the reason not yet written.
Neither is what you did a status. "Reviewed", "Analysed", "Investigated"
name the activity; the reader triages on what they must do. An assessment
that hands back a choice is needs-decision; one that asks nothing of the
reader is done. On a review turn the pull is to write
Status: Reviewed; <the finding> above Options and Next that are
already right. The finding goes in Situation; Status stays the triage
word - one of four, so the reader never reads it twice.
The situation, in the reader's terms. One sentence: what the reader has now that they did not have before. Test each word — would it mean anything to someone who did not see the tool calls? A path, a function name, a flag, an error code is trace register; "the login form now rejects an empty password, and the test for it is green" is reader register. The trace-register detail goes after the block, for the reader who wants it.
A fork is written as a decision, not offered as a favour. An offer hands the assessment to the reader — in English, "I can also add retries if you'd like"; the act is the same in any language. A decision has the options, non-equivalent, each with its consequence on its own line; a default on its own line; and why the default. If you cannot name a default, the assessment is not finished: finish it, then write. If the options are equivalent there is no decision — pick one and say so.
Ask for one action. Next is one thing the reader does: answer A or
B, run this command, review this file, nothing. Not an open-ended ask (in
English, "let me know your thoughts"). When the status is done and
nothing is asked, write Next: nothing — the explicit nothing is what
tells the reader the turn is closed and they are not waiting for anything.
When waiting, Next is nothing until <it> ends, never a bare nothing,
which reads as finished. Your plan goes in Waiting-on.
Blocked means the output cannot be made. blocked carries the
observed limit that stops the output asked for being made or delivered,
and the tool that showed it. A decision under an unknown is still a
decision, and the request is a source: a fact nobody gave you, or something
you looked for and did not find, goes in as a named assumption with the
Default for if it stays unknown. Permission to stop is not a limit. A
blocked with no such limit is a needs-decision, or a
termination-self-monitoring case — test the reason there. A run still
going stops nothing: that is waiting.
The block is the close, not an appendix. Put it where the reader will read it: at the end, after the detail, or first when the message is long. Everything outside it may be trace register; nothing inside it may.
needs-decision or blocked with the reason not yet written.resolveConfig, see
lib/config.js:88" with no line about what changed for the reader.Write the block at the close of the turn, as a markdown list in the
message, not inside a fenced code block. Fences do not wrap; a long
Options line becomes a horizontal scroll. Block field names stay in
English (hooks parse them); Situation, Options and Next are in the
language of the turn.
Write the block. Do not announce writing it. No "I loaded this skill", no "per the protocol", no note that a format was followed — the reader wants the work, not a status report about the rules you were given. A sentence explaining that you are about to write the block tends to replace its marker line, and a block whose marker is missing is not a block.
[HANDOFF]
Rules the hooks check:
Status is one of the four.needs-decision requires Options with at least two alternatives
(a list under Options, not a |-separated line) and a Default (own
line, or trailing on Options).blocked requires Blocked-by; waiting requires Waiting-on.Situation and Next are required; a template placeholder counts as
empty.returned part
in a [COVERAGE CHECK] — with no [HANDOFF] block is the finding.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub 3dgiordano/agent-plugins --plugin handoff-self-monitoring