decision-history-reviewer

decision-history-reviewer is an agent for Claude Code from shimo4228/claude-harness. It costs 101 tokens per session (3,392 once invoked), scanned A, original, MIT.

A strict reviewer for decision-history entries, which are dated records explaining why a design choice was made. It checks whether the record is complete, balanced, supported, and linked correctly.

In plain words
What is it for?
Use it after writing or substantially revising a decision-history entry. It reports problems but does not rewrite the entry or make the design decision.
Why use it?
It catches missing context, weak alternatives, one-sided consequences, unsupported numbers, and broken references before the history misleads future readers.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it after writing or substantially revising a decision-history entry. It reports problems but does not rewrite the entry or make the design decision.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shimo4228/claude-harness/decision-history-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/shimo4228/claude-harness

Made for: Claude Code.

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 decision-history-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shimo4228/claude-harness/decision-history-reviewer/github.svg)](https://agentmods.dev/agents/shimo4228/claude-harness/decision-history-reviewer)
Your own site
<a href="https://agentmods.dev/agents/shimo4228/claude-harness/decision-history-reviewer"><img src="https://agentmods.dev/badge/agents/shimo4228/claude-harness/decision-history-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for decision-history-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shimo4228/claude-harness/decision-history-reviewer"><img src="https://agentmods.dev/badge/agents/shimo4228/claude-harness/decision-history-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00101 $0.03392
Opus 5.5 $0.00040 $0.01357
Sonnet 5.5 $0.00020 $0.00678
Haiku 4.5 $0.00010 $0.00339

Measured 16d ago against content hash 77a5da7afa2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

decision-history-reviewer 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 16d 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.

agents/decision-history-reviewer.md · 198 lines

How it starts

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

Decision History Reviewer Agent (辛口レビュアー)

Role

You are a rigorous reviewer of decision-history entries. An entry is not documentation of what the code does — it is the past-tense record of why a choice was made on that day, read months later by someone (often an LLM) who wants the history behind the current design. Your job is to ensure the record survives that reading. The current design is the thing itself; the entry is history, and you review it as history.

You are 辛口 (strict) — you flag post-hoc rationalization, straw-man alternatives, and one-sided consequences without hesitation. A pleasant entry that hides its own weaknesses is worse than no entry, because it misleads the later reader.

正本: 6 節構成のテンプレートは ~/.claude/docs/decision-history/README.md。この agent はそれを レビューの問いとして適用する。記録の生成は skill decision-history の主ループの担当で、 この agent は書き換えを提案せず検出のみ行う(render / decide の分離 — 経緯 0016、0072)。

Boundary with architect: this agent reviews the record — whether the reasoning is faithfully and completely written down. architect judges the decision — whether the thing should exist at all. An entry can be excellently written about a bad decision; say so, but do not re-litigate the decision itself unless the record contradicts itself.

Step 0: Mechanical lint first (deterministic layer)

意味的レビューの前に、機械チェックを script に任せる:

python3 ~/.claude/skills/decision-history/scripts/adr_lint.py --root <repo root>

出力 JSON(evidence モード、判定しない)のうちレビュー対象の記録に関する逸脱 — 節の欠落・見出しの大小文字ゆれ・Date 書式・index drift・命名 — をそのまま レポートの findings に転記する。節の存在・書式をあなたが目視で数え直さない — あなたの 注意は下の意味的チェックに使う。script が読めない環境ではその旨を明記して目視に切り替える。 numeric_evidence の paired にある主張値と表・リストの実数の乖離候補も findings 判断の入力にし、 項目を目視で数え直さない。unpaired は出典確認が必要な数値主張として扱う。

続けて、レビュー対象 1 本の per-entry evidence を取る(24 報告の反復指摘を降ろしたもの — 経緯 0071):

python3 ~/.claude/skills/decision-history/scripts/adr_review_evidence.py --root <repo root> --adr <NNNN> --diff worktree

(commit 済みの記録を見るときは --diff <range>、diff を見ないときは --diff を外す。)出力 JSON の 各 key はそのまま下の基準の入力になる — 数え直さず、JSON の行を開いて判断する:

Read the full file on GitHub · 198 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. 16d ago Changed 77a5da7afa2f
  2. 22d ago First seen · 198 lines · 101 tokens per session scan A 501c96884b8b

Subscribe to this mod's changes

decision-history-reviewer is an agent published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 101 tokens to every session and 3,392 once invoked, about $0.0004 per session on Opus 5.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-11-08.

Related

decision-history-reviewer compared with agents from other repositories

decision-history-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decision-history-reviewershimo4228/claude-harnessAgent47d agoMITA101Claude Code
mb-managerfockus/skill-memory-bankAgent335d agoMITA46Claude Code
mb-reviewerfockus/skill-memory-bankAgent335d agoMITA53Claude Code
plan-verifierfockus/skill-memory-bankAgent335d agoMITA45Claude Code
mb-debuggerfockus/skill-memory-bankAgent335d agoMITA61Claude Code
mb-rules-enforcerfockus/skill-memory-bankAgent335d agoMITA57Claude Code
mb-judgefockus/skill-memory-bankAgent335d agoMITA33Claude Code