adr

adr is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 74 tokens per session (2,104 once invoked), scanned A, original, MIT.

A workflow for architecture decision records, short documents that explain important technical choices and their reasoning. It can record a decision, list records that may no longer match the code, and remove records when a person approves.

In plain words
What is it for?
Use it to document a technical decision, audit existing decision records, or prune records that no longer describe the code.
Why use it?
It keeps the reasoning behind technical decisions in the repository and helps identify outdated documentation. It also avoids writing a new record when the repository has no agreed format until a human chooses one.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the architecture plugin — 16 skills, 1 plugin shipped together

Good fit Use it to document a technical decision, audit existing decision records, or prune records that no longer describe the code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install architecture

Made for: Claude Code.

Or install architecture, the plugin that ships this one along with the rest of its 16 skills, 1 plugin.

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/melodic-software/claude-code-plugins/adr/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/adr)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/adr"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/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/melodic-software/claude-code-plugins/adr"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,104 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.00074 $0.02104
Opus 5.5 $0.00030 $0.00842
Sonnet 5.5 $0.00015 $0.00421
Haiku 4.5 $0.00007 $0.00210

Measured yesterday against content hash 9407d8081a93, 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 yesterday.

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/architecture/skills/adr/SKILL.md · 144 lines

How it starts

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

Repository context. Gather first

Run each command below as its own Bash call, all sent together in one message (worktree isolation). Keep any bound in the command's own pipe (output limits). Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).

  • Current branch, git branch --show-current
  • Working tree status (empty = clean), git status --porcelain | head -10

Action router

Arguments: $ARGUMENTS

Take the first token as the action when it is exactly record, audit or prune; the rest is the action's input. Any other first token is decision text for record, the default.

Action Writes When Read
record (default) one new record; a retirement and citation edits after a yes A decision was made over a weighed alternative, or reverses a record actions/record.md
audit nothing Which records the code, a later decision or the admission test no longer backs ('are our ADRs still current') actions/audit.md
prune only the retirements the person accepts Remove records that no longer earn their place ('prune our ADRs', 'prune the ADRs') actions/prune.md

--repo and the other target forms in ${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md are accepted only after audit or prune; the default stays this repository.

Read the full file on GitHub · 144 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. yesterday Changed · -73 tokens per session 9407d8081a93
  2. 4d ago Changed 7cba683bd9a5
  3. 5d ago Changed bef7518f4621
  4. 6d ago Changed · -179 lines 0a893fa308b3
  5. 7d ago First seen · 323 lines · 147 tokens per session scan A f6b13653be31

Subscribe to this mod's changes

adr is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 2,104 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-11-23.

Related

adr compared with skills from other repositories

adr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adrmelodic-software/claude-code-pluginsSkill33todayMITA74Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code