adr-author

adr-author is a skill for Claude Code from delexw/claude-code-misc. It costs 106 tokens per session (2,857 once invoked), scanned A, original, MIT.

A guide for writing Architectural Decision Records, or ADRs—short documents that record an important software design choice, its reasons, and its effects.

In plain words
What is it for?
Use it to create, improve, review, or learn about ADRs and other documented architecture decisions.
Why use it?
It helps future developers and automated code reviewers understand why a system was built a certain way and what rules follow from the decision.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create, improve, review, or learn about ADRs and other documented architecture decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/delexw/claude-code-misc/adr-author
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 delexw/claude-code-misc --skill adr-author
Clone the repo
git clone --depth 1 https://github.com/delexw/claude-code-misc

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-author

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/delexw/claude-code-misc/adr-author"><img src="https://agentmods.dev/badge/skills/delexw/claude-code-misc/adr-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,857 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.00106 $0.02857
Opus 5.5 $0.00042 $0.01143
Sonnet 5.5 $0.00021 $0.00571
Haiku 4.5 $0.00011 $0.00286

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

Security

Grade A, and why

adr-author 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 3mo 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.

skills/adr-author/SKILL.md · 330 lines

How it starts

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

ADR Authoring Guide

Help users write Architectural Decision Records that future developers actually read and that automated review systems can enforce. Based on Michael Nygard's format from Documenting Architecture Decisions.

How to Think About ADRs

An ADR captures a decision at a moment in time. It answers: what did we decide, why, and what happens because of it? The audience is a future developer (or an AI reviewer) who encounters code that seems odd and needs to understand the reasoning behind it.

The Decision section is the heart of an ADR — it's what gets enforced. The rest (Context, Consequences) provides the reasoning that makes enforcement feel reasonable rather than arbitrary. Spend most of your effort on the Decision section, and write it at the enforceability level the team actually needs.

Workflow

Step 1: Read Existing ADRs

Before writing anything, find and read the project's existing ADRs. They're typically in docs/adr/, doc/arch/, or decisions/. Look for:

  • Numbering scheme (sequential integers, date-prefixed, etc.)
  • Section structure (some teams add "Alternatives Considered" or "References")
  • Tone and detail level
  • Status conventions

Match what's already there. Consistency matters more than any template.

Step 2: Understand the Decision

Ask the user (if not already clear from context):

  1. What's the decision? What architectural choice is being made?
  2. What's the problem? What forces or tensions led here?
  3. What alternatives were considered? Even briefly — this goes in Context.
  4. How should this be enforced? This determines enforceability level.

The fourth question is the key one this skill adds. Most ADR guides skip it, but it determines whether the ADR becomes a living contract or shelf-ware.

Step 3: Choose an Enforceability Level

Enforceability isn't about quality — a LOW enforceability ADR can be excellent. It's about what kind of verification is possible and appropriate.

Read the full file on GitHub · 330 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. 3mo ago First seen · 330 lines · 106 tokens per session scan A 99e9b6d9173c

Subscribe to this mod's changes

adr-author is a skill published in the GitHub repository delexw/claude-code-misc (2 stars, last pushed 8mo ago), licensed MIT. It adds 106 tokens to every session and 2,857 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-author compared with skills from other repositories

adr-author next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-authordelexw/claude-code-miscSkill28mo agoMITA106Claude Code
officecli-pitch-deckiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A163Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A106Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A56Claude Code, Codex
morph-ppt-3diOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A37Claude Code, Codex