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.
npx agentmods add commands/zircote-plugins/adr/adr-listgit clone --depth 1 https://github.com/zircote-plugins/adrWhat 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 | $0.00011 | $0.00575 |
| Opus 5 | $0.00005 | $0.00287 |
| Sonnet 5 | $0.00002 | $0.00115 |
| Haiku 4.5 | $0.00001 | $0.00057 |
Grade A, and why
adr-list 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 2d 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
List ADRs
List all Architectural Decision Records with optional filtering by status.
Process
- Read configuration from
.claude/adr.local.md - Scan ADR directories for all
.mdfiles matching ADR pattern - Parse each ADR to extract metadata
- Apply filters if specified
- Format output as table
Argument Parsing
Supported arguments:
--status=<status>: Filter by status (accepted, proposed, deprecated, superseded, rejected)--format=<format>: Output format (table, json, brief)- No arguments: List all ADRs
ADR Discovery
Find ADRs in configured paths:
{adr_path}/[0-9]*.md
{adr_path}/[0-9][0-9][0-9]*.md
For each file, extract:
- ID (from filename)
- Title (from H1 heading)
- Status (from Status section)
- Date (if present)
- Superseded by (if applicable)
Output Format
Table Format (default)
| ID | Title | Status | Date |
|------|---------------------------------|-----------|------------|
| 0001 | Use PostgreSQL for Storage | accepted | {date} |
| 0002 | Adopt Event-Driven Architecture | accepted | {date} |
| 0003 | Use Redis for Caching | proposed | {date} |
Brief Format
0001: Use PostgreSQL for Storage [accepted]
0002: Adopt Event-Driven Architecture [accepted]
0003: Use Redis for Caching [proposed]
JSON Format
{
"adrs": [
{"id": "0001", "title": "...", "status": "accepted", "date": "2025-01-10"},
...
],
"total": 3,
"filtered": 3
}
Statistics Summary
After listing, include summary:
Total: 25 ADRs
- Accepted: 20
- Proposed: 3
- Deprecated: 1
- Superseded: 1
Error Handling
- If no ADR directory exists, report and suggest
/adr-setup - If no ADRs found, report empty state
- If parsing fails, report file and continue with others
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.
- 2d ago First seen · 96 lines · 11 tokens per session scan A dff8f3d670a4
adr-list is a command published in the GitHub repository zircote-plugins/adr (5 stars, last pushed 15d ago), licensed MIT. It adds 11 tokens to every session and 575 once invoked, about $0.0001 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.
Other commands, from other repositories
adr-backfill
Audit code, documentation, and history for potential architecture decisions that were never recorded, then return a deduplicated evidence report. Read-only.
adr-draft
Draft one new ADR from a current decision or a selected backfill handoff. Writes a single new record, as proposed.
adr-check
Check the current change, or a plan, against the decisions that govern it and report a verdict per decision. Read-only.
adr-queue
Show the review queue — every decision still proposed, with its SLA state — so open questions are visible before they are planned around. Read-only.
release-adr-kit
You are running the adr-kit release for version $ARGUMENTS (if empty, ask which version to release).
adr-context
Load the architecture decisions that govern the paths you are about to change, before planning against them. Read-only.