adr

adr is a skill for Claude Code, Codex from hon454/grimoire. It costs 81 tokens per session (1,304 once invoked), scanned A, original, MIT.

A procedure for recording an architecture decision, including the choice, alternatives, reasons, and costs. An architecture decision is an important technical choice that may be difficult to change later.

In plain words
What is it for?
Use it after a significant design or architecture choice, or when a user asks to create or replace an architecture decision record.
Why use it?
It preserves why a surprising or costly design choice was made, so future readers do not mistake it for an error. A later change can be recorded as a new decision that replaces the old one.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the book-of-engineering plugin — 2 skills shipped together

Good fit Use it after a significant design or architecture choice, or when a user asks to create or replace an architecture decision record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hon454/grimoire/adr
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.

Any agent
npx skills add hon454/grimoire --skill adr
Clone the repo
git clone --depth 1 https://github.com/hon454/grimoire

Made for: Claude Code, Codex.

Or install book-of-engineering, the plugin that ships this one along with the rest of its 2 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hon454/grimoire/adr"><img src="https://agentmods.dev/badge/skills/hon454/grimoire/adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,304 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.00081 $0.01304
Opus 5.5 $0.00032 $0.00522
Sonnet 5.5 $0.00016 $0.00261
Haiku 4.5 $0.00008 $0.00130

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

Security

Grade A, and why

adr 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 26d 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.

plugins/book-of-engineering/skills/adr/SKILL.md · 69 lines

How it starts

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

Architecture decision records

An ADR records one decision, why it was made, what was rejected and what it costs. It is written once and never edited afterwards; a changed mind gets a new record that supersedes the old one. The value is in recording that a decision was made and why, so the next reader does not "fix" something that was deliberate.

1. Decide whether this deserves a record

Offer an ADR only when all three hold:

  1. Hard to reverse. Changing your mind later costs real effort.
  2. Surprising without context. A future reader of the code would ask "why on earth did they do it this way?"
  3. A real trade-off. There were genuine alternatives and one was picked for specific reasons.

If any is missing, skip it. An easily reversed decision will simply be reversed; an unsurprising one raises no question; a decision with no alternative records nothing beyond "we did the obvious thing". Minor conventions (naming, formatting, defaults) go in the project's contributor guide, not in an ADR.

What qualifies: architectural shape (monorepo, event-sourced writes), integration patterns between parts, technology choices that carry lock-in (database, message bus, auth provider, deployment target), boundary and ownership decisions (the explicit "no"s are as valuable as the "yes"es), deliberate deviations from the obvious path, constraints invisible in the code (compliance, partner contracts), and rejected alternatives whose rejection is not obvious.

When the decision came out of a discussion in the current session, say so and offer to record it. Do not write one silently.

2. Find the decision log

Look, in this order, for an existing log: docs/decisions/, docs/adr/, doc/adr/, adr/, or any directory whose files are named NNNN-*.md with a status in their frontmatter. Match whatever the repository already does: its directory, its numbering, its template (a template.md or README.md in that directory wins over this skill), and its language. If the repository writes its documents in a language other than English, write the ADR in that language.

Read the full file on GitHub · 69 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 26d ago First seen · 69 lines · 81 tokens per session scan A 0bcd98f9e98f

Subscribe to this mod's changes

adr is a skill published in the GitHub repository hon454/grimoire (0 stars, last pushed 25d ago), licensed MIT. It adds 81 tokens to every session and 1,304 once invoked, about $0.0003 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-10-21.

Related

adr compared with skills from other repositories

adr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adrhon454/grimoireSkill025d agoMITA81Claude Code, Codex
imagegenopenai/codexSkill135ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill80k9d agoMITA200Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex