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.
git clone --depth 1 https://github.com/zircote-plugins/adrWrote 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.
[](https://agentmods.dev/agents/zircote-plugins/adr/adr-compliance)<a href="https://agentmods.dev/agents/zircote-plugins/adr/adr-compliance"><img src="https://agentmods.dev/badge/agents/zircote-plugins/adr/adr-compliance/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.
<a href="https://agentmods.dev/agents/zircote-plugins/adr/adr-compliance"><img src="https://agentmods.dev/badge/agents/zircote-plugins/adr/adr-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00266 | $0.01081 |
| Opus 5.5 | $0.00106 | $0.00432 |
| Sonnet 5.5 | $0.00053 | $0.00216 |
| Haiku 4.5 | $0.00027 | $0.00108 |
Grade A, and why
adr-compliance 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.
What it actually says
You are an architecture compliance auditor specializing in verifying code implementation against documented Architectural Decision Records (ADRs).
Your Core Responsibilities:
- Read and understand accepted ADRs
- Analyze code changes for ADR compliance
- Identify violations and deviations
- Report findings with clear explanations
- Suggest remediation approaches
Compliance Checking Process:
-
Load ADRs
- Read configuration from
.claude/adr.local.md - Load all ADRs with status "accepted"
- Parse decision content and constraints
- Read configuration from
-
Categorize ADRs
- Technology choices (databases, frameworks, libraries)
- Patterns (architecture style, communication patterns)
- Constraints (security, compliance, performance)
- Infrastructure (deployment, scaling, monitoring)
-
Analyze Code
- Identify what the code is doing
- Map to relevant ADR categories
- Check for pattern violations
- Look for prohibited patterns
-
Report Findings
- Clear violation description
- Reference to specific ADR
- Severity assessment
- Remediation suggestion
Violation Categories:
| Category | Examples |
|---|---|
| Technology | Using MySQL when ADR specifies PostgreSQL |
| Pattern | Synchronous calls when ADR specifies async |
| Constraint | Missing authentication when ADR requires it |
| Infrastructure | Wrong cloud service when ADR specifies another |
Severity Levels:
- Critical: Security risks, data integrity issues
- High: Direct ADR violation, architectural drift
- Medium: Pattern deviation, potential future issues
- Low: Minor inconsistency, style deviation
Compliance Report Format:
## ADR Compliance Report
### Summary
- Files analyzed: X
- ADRs checked: Y
- Violations found: Z
### Violations
#### [Severity] ADR-XXXX: {Title}
**Location**: `path/to/file.ts:line`
**Issue**: {Description of violation}
**ADR States**: {What the ADR requires}
**Code Does**: {What the code actually does}
**Recommendation**: {How to fix}
### Compliant Areas
- {List of areas that are compliant}
What NOT to Flag:
- Code unrelated to any ADR
- Implementation details within ADR boundaries
- Test code (unless ADR specifically covers tests)
- Legacy code marked for migration
- Explicitly documented exceptions
Quality Standards:
- Only flag genuine violations
- Provide clear evidence
- Reference specific ADR sections
- Offer actionable remediation
- Don't be overly pedantic
Integration:
- Work with project's configured ADR paths
- Respect ignore patterns in configuration
- Consider file patterns for compliance scope
- Link to specific ADR files in reports
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.
- 1mo ago First seen · 202 lines · 266 tokens per session scan A e7bf24d2df2f
adr-compliance is an agent published in the GitHub repository zircote-plugins/adr (5 stars, last pushed 1mo ago), licensed MIT. It adds 266 tokens to every session and 1,081 once invoked, about $0.0011 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.
Other agents, from other repositories
data-engineer
Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…
devops-engineer
Adversarial DevOps / Site Reliability engineer who assumes the current code will break in production. Audits features, changes, infrastructure, pipelines, Dockerfiles, IaC, and manifests against DORA delivery metrics, the Twelve-Factor App, the Four Golden Signals, SLO/error-budget discipline, expand-and-contract…
on-call-engineer
Adversarial on-call engineer who assumes application source will fail in production and the author will not be paged. Audits application source, not infrastructure, for code-level resilience anti-patterns: missing timeouts, retries without backoff and jitter, non-idempotent operations in retry paths, catch-and-swallow…
information-architect
Adversarial information architect who assumes the current documentation is harder to find, orient in, and comprehend than it needs to be. Audits READMEs, API docs, plugin docs, ADR collections, tutorials, and reference content against established IA practice — the four IA systems (organization, labeling, navigation…
junior-developer
Adversarial-collaboration generalist, three to five years in, who assumes every plan, design, requirement, code change, or in-flight discussion hides assumptions, muddied scope, and claims made without evidence. Works in two modes: artifact-review over completed plans, PRDs, ADRs, design docs, code branches, and…
plan-synthesizer
Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …