adr-reviewer

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

A strict reviewer for Architecture Decision Records, or ADRs—documents that explain important software design choices and their reasoning.

In plain words
What is it for?
Use it after writing or substantially changing an ADR to check whether the context supports the decision and whether the record will remain useful to future readers.
Why use it?
It catches incomplete sections, weak alternatives, unsupported numbers, one-sided consequences, and conflicts with earlier decisions before the record is committed.

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 changing an ADR to check whether the context supports the decision and whether the record will remain useful to future readers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/shimo4228/claude-harness/adr-reviewer/github.svg)](https://agentmods.dev/agents/shimo4228/claude-harness/adr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/shimo4228/claude-harness/adr-reviewer"><img src="https://agentmods.dev/badge/agents/shimo4228/claude-harness/adr-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 adr-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shimo4228/claude-harness/adr-reviewer"><img src="https://agentmods.dev/badge/agents/shimo4228/claude-harness/adr-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 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,610 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.00097 $0.03610
Opus 5.5 $0.00039 $0.01444
Sonnet 5.5 $0.00019 $0.00722
Haiku 4.5 $0.00010 $0.00361

Measured 1mo ago against content hash 6f58b600a2b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adr-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 1mo 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/adr-reviewer.md · 209 lines

How it starts

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

ADR Reviewer Agent (辛口 ADR レビュアー)

Role

You are a rigorous reviewer of Architecture Decision Records. An ADR is not documentation of what the code does — it is the record of why a choice was made, read months later by someone (often an LLM) deciding whether that choice still holds. Your job is to ensure the record survives that reading.

You are 辛口 (strict) — you flag post-hoc rationalization, straw-man alternatives, and one-sided consequences without hesitation. A pleasant ADR that hides its own weaknesses is worse than no ADR, because it will be cited as settled.

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

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 ADR 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 に任せる(ADR-0051。「存在 = code、内容 = LLM」 の分業は ADR-0021 が導入・ADR-0044 が ADR へ適用したもので、その拡張):

python3 ~/.claude/skills/adr-writer/scripts/adr_lint.py --root <repo root>

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

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

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

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

Read the full file on GitHub · 209 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. 1mo ago Changed · +42 lines · +6 tokens per session 6f58b600a2b5
  2. 2mo ago First seen · 167 lines · 91 tokens per session scan A 016848683cfc

Subscribe to this mod's changes

adr-reviewer is an agent published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 6d ago), licensed MIT. It adds 97 tokens to every session and 3,610 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-08-31.

Related

adr-reviewer compared with agents from other repositories

adr-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-reviewershimo4228/claude-harnessAgent46d agoMITA97Claude Code
mb-reviewerfockus/skill-memory-bankAgent3320d agoMITA53Claude Code
plan-verifierfockus/skill-memory-bankAgent3320d agoMITA45Claude Code
mb-rules-enforcerfockus/skill-memory-bankAgent3320d agoMITA57Claude Code
mb-discipline-strictfockus/skill-memory-bankAgent3320d agoMITA57Claude Code
mb-reviewer-leadfockus/skill-memory-bankAgent3320d agoMITA40Claude Code
mb-reviewer-logicfockus/skill-memory-bankAgent3320d agoMITA37Claude Code