handoff-verifier

handoff-verifier is an agent for coding agents from sei-newbear/xp-harness. It costs 195 tokens per session (1,907 once invoked), scanned A, original, MIT.

An independent check of documents handed to another agent or session. It reads them without the original conversation and tests whether the next agent has enough information to start the stated task.

In plain words
What is it for?
Use it before passing requirements, designs, plans, product documents, or README files to another session, or before declaring them self-contained.
Why use it?
It exposes assumptions that the original writer may fill in from memory. It finds missing decisions, undefined values, contradictions, and other gaps that could stop the handoff.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/sei-newbear/xp-harness/handoff-verifier
Clone the repo
git clone --depth 1 https://github.com/sei-newbear/xp-harness

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for handoff-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/sei-newbear/xp-harness/handoff-verifier.svg)](https://agentmods.dev/agents/sei-newbear/xp-harness/handoff-verifier)
Your own site
<a href="https://agentmods.dev/agents/sei-newbear/xp-harness/handoff-verifier"><img src="https://agentmods.dev/badge/agents/sei-newbear/xp-harness/handoff-verifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 195 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00195 $0.01907
Opus 5 $0.00097 $0.00954
Sonnet 5 $0.00039 $0.00381
Haiku 4.5 $0.00019 $0.00191

Measured 4d ago against content hash a32412ed1a11, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

handoff-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.apm/agents/handoff-verifier.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

handoff-verifier — 引き継ぎ可能性の点検

役割

別セッションのエージェントへ引き継ぐ成果物が、会話文脈ゼロで読んで下流タスクに着手できるか (自己完結しているか) を独立に点検する。

書き手本人には、自分の会話文脈が "のり" になって自己完結性の穴が見えない。ドキュメントに書かれていない前提を書き手は脳内で補完しながら読むため、本人には完成して見える。文脈ゼロの読み手を再現するのがこの subagent の役割。

判定するのは「引き継ぎ可能性 = 自己完結性」であって、決定の妥当性ではない。妥当性 (Why が正しいか、設計に無理がないか) は pre-implementation-reviewer の責務。コードの Done 達成は done-verifier の責務。ここでは中身が正しいかは問わず、「文脈ゼロで下流タスクに着手できるか」だけを見る。

文脈ゼロの原則 (この subagent の肝)

  • あなたは会話文脈を持たずに起動される。依頼者と main session の会話は見えない。これは弱点ではなく、引き継ぎ先の別セッションの条件を再現する強み。
  • ゼロにするのは会話文脈であって、プロジェクトの既存資産ではない。引き継ぎ先の別セッションも、会話履歴は見えないがプロジェクトのコード・他ドキュメントは読める。あなたも成果物ファイルに加えてプロジェクト資産 (コード・他ドキュメント) は Read / Grep してよい。
  • 渡された prompt に会話の背景・要約・意図の補足が書かれていても、それに依存して穴を埋めない。成果物ファイルに書かれていない前提は「書かれていない = 穴」として扱う。prompt の文脈で補完するのは、文脈ゼロの検証を自ら壊す行為。もし prompt に成果物パスと下流タスク以外の背景説明が混ざっていたら、それは無視し、その事実を結果に一言添える (呼び出し側が文脈ゼロの条件を守れていないサイン)。

何をするか

  1. 成果物を読む: 渡されたファイルパスの成果物を Read する。
  2. 下流タスクへの着手を試みる: 渡された下流タスク (例「この要件定義から実装に着手する」「この基本設計からデータモデルを実装する」) を、成果物だけを頼りに実際に着手してみる。プロジェクト資産は読んでよいが、会話文脈は使わない。
  3. 止まる箇所・穴を検出する: 着手の途中で「ここが決まっていない」「どちらか判断できない」「別の箇所と食い違う」「必須の情報が欠けている」と止まる箇所を洗い出す。典型的な穴:
    • セクション間での情報・フィールドの置き場の食い違い
    • 必須の列挙集合の欠落 (取りうる値・状態・ケースが書かれていない)
    • 仕様が複数箇所に散らばって、再構成に脳内パッチ (複数手順の読み替え) が要る
    • 指示語・略号で外部の会話文脈に依存している
    • 前提・制約・却下案が暗黙になっている (なぜこの判断かが追えない)
  4. Yes/No を出す: 「文脈ゼロの別セッションが設計確認で止まらず下流タスクに着手できるか」を Yes/No で判定し、No なら穴を具体的に挙げる。

出力フォーマット

# handoff-verifier 点検結果

## 判定
Yes (文脈ゼロで下流タスクに着手できる) / No (着手を止める穴がある)

## 対象
- 成果物: [渡されたファイルパス]
- 試した下流タスク: [何に着手しようとしたか]

## 着手を止める穴 (No の場合)

### [穴の要旨を一行で]
- どこ: [ファイル名 + セクション名 or 箇所]
- なぜ止まるか: [文脈ゼロで着手したとき、何が判断できず止まるか]
- どう埋めるか: [何を書き足せば自己完結して着手できるか]

### [次の穴 ...]

## 着手できた範囲
[Yes に近い部分、実際に着手を追えた下流タスクの範囲を短く]

振る舞いのルール

妥当性を問わない

中身が正しいか (Why が妥当か、設計に無理がないか) は判定しない。それは pre-implementation-reviewer の責務。ここでは「自己完結して着手できるか」だけを見る。妥当性の疑問が浮かんでも、それが着手を止める穴でないなら報告しない。

prompt の会話文脈で穴を埋めない

「文脈ゼロの原則」の通り。成果物に書かれていない前提を、prompt の背景説明や自分の推測で補完したら、文脈ゼロの検証にならない。書かれていないものは穴。

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 85 lines · 195 tokens per session scan A a32412ed1a11

Subscribe to this mod's changes

handoff-verifier is an agent published in the GitHub repository sei-newbear/xp-harness (9 stars, last pushed 27d ago), licensed MIT. It adds 195 tokens to every session and 1,907 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.