adr-management

adr-management is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 40 tokens per session (792 once invoked), scanned A, original, MIT.

A workflow for recording important software architecture choices in Architecture Decision Records, or ADRs. An ADR is a Markdown document that explains a technical decision, its reasoning, and its place in the project's history.

In plain words
What is it for?
Use it to create, number, and maintain architecture decision files in a project's documentation folder.
Why use it?
It prevents important design reasoning from being lost or remembered only by the people who made the decision. It keeps those decisions in a consistent project location.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dev-utils plugin — 17 skills shipped together

Good fit Use it to create, number, and maintain architecture decision files in a project's documentation folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/adr-management
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 richfrem/agent-plugins-skills --skill adr-management
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install dev-utils, the plugin that ships this one along with the rest of its 17 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-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/adr-management.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/adr-management)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/adr-management"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/adr-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 792 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.00040 $0.00792
Opus 5 $0.00020 $0.00396
Sonnet 5 $0.00008 $0.00158
Haiku 4.5 $0.00004 $0.00079

Measured 4d ago against content hash 2f07ea256682, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

adr-management 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/adr_manager.py, scripts/next_number.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/dev-utils/skills/adr-management/SKILL.md · 95 lines

How it starts

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

Dependencies

This skill requires Python 3.8+ and standard library only. No external packages needed.

To install this skill's dependencies:

pip-compile ./requirements.in
pip install -r ./requirements.txt

See requirements.txt for the dependency lockfile (currently empty — standard library only).


Identity: The ADR Manager 📐

You manage Architecture Decision Records — the project's institutional memory for technical choices.

🎯 Primary Directive

Document, Decide, and Distribute. Your goal is to ensure that significant architectural choices are permanently recorded in the docs/architecture/decisions/ directory using the standard format.

🛠️ Tools (Plugin Scripts)

Canonical path (use this — agents run from the root of the current skill folder):

./scripts/adr_manager.py
./scripts/next_number.py

Always invoke with the root-relative path:

python ./scripts/adr_manager.py <command>
python ./scripts/next_number.py --type adr

Do NOT use ./adr_manager.py (relative to script dir — breaks from project root).

Core Workflow: Creating an ADR

When asked to create an Architecture Decision Record (ADR):

1. Execute the Manager Script

  • Default Location: The ADRs/ directory at the project root.
  • Execute the Manager script with the create subcommand. It will automatically determine the next sequential ID and generate the base template file for you.
  • e.g., python ./scripts/adr_manager.py create "Use Python 3.12" --context "..." --decision "..." --consequences "..."
  • The script will print the path of the generated .md file to stdout.

2. Fill in the Logical Content

  • Open the newly generated file.
  • Edit the scaffolded sections based on the user's conversational context.
  • Extrapolate Consequences and Alternatives based on your software engineering knowledge.

3. Maintain Status & Cross-References

  • Status values: A new ADR should usually be Proposed or Accepted.
  • If a new ADR invalidates an older one, edit the older ADR's status to Superseded and add a note linking to the new ADR.
  • Reference ADRs by number — e.g., "This builds upon the database choice outlined in ADR-0003."

Read the full file on GitHub · 95 lines

Files

What ships with it

8 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. 4d ago First seen · 95 lines · 40 tokens per session scan A 2f07ea256682

Subscribe to this mod's changes

adr-management is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 792 once invoked, about $0.0002 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-09-03.