adr

adr is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 73 tokens per session (795 once invoked), scanned A, original, MIT.

A written record of an architectural decision, including its context and reasoning. Architecture means the important structural choices that shape how a software system is built.

In plain words
What is it for?
Use it to document a decision that has been made or is being made now. It creates a dated ADR in the repository's decision-record location using the existing format when one exists.
Why use it?
It preserves why a choice was made so future team members do not have to reconstruct the discussion months later. It also distinguishes a settled decision from an RFC, which explores competing options.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to document a decision that has been made or is being made now. It creates a dated ADR in the repository's decision-record location using the existing format when one exists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuri-semenenko/ai-engineering-workspace/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 yuri-semenenko/ai-engineering-workspace --skill adr
Clone the repo
git clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspace

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/adr.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/adr)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/adr"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/adr.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 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.00073 $0.00795
Opus 5 $0.00036 $0.00398
Sonnet 5 $0.00015 $0.00159
Haiku 4.5 $0.00007 $0.00080

Measured 7d ago against content hash c0e13134461e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

claude-code/.claude/skills/adr/SKILL.md · 71 lines

How it starts

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

ADR

Record a concrete architectural decision in a format optimized for future readers — typically the team member six months from now wondering "why did we do it this way?"

ADRs are not exploratory. If the user is still weighing options, redirect to /rfc. ADRs assume the decision is made (or being made in this moment) and the job is to capture context + reasoning before they decay.

Steps

  1. Confirm the decision is actually settled. If the user describes multiple options without picking one, say so and suggest /rfc instead.
  2. Find the repo's ADR location. Check docs/adr/, docs/decisions/, adr/, .adr/. Mirror existing numbering and naming (0042-use-postgres-jsonb-for-events.md style). If none exists, propose docs/adr/0001-<slug>.md and let the user confirm.
  3. Look for an ADR template in the repo (docs/adr/template.md, adr-template.md). If present, follow it exactly. Otherwise use the structure below.
  4. Date the ADR. Use today's date in YYYY-MM-DD.
  5. Status starts as "Accepted" unless the user is recording a historical decision now superseded (then Superseded by ADR-NNNN) or one still in review (Proposed).

Default structure (when no repo template exists)

# ADR-NNNN: <Short decision title>

- **Status:** Accepted
- **Date:** YYYY-MM-DD
- **Deciders:** <names or roles>

## Context

What forces are at play? What's the problem and constraints? Keep it to what's
needed to understand the decision — not the full history of the project.

## Decision

We will <action verb> <thing>. State the choice plainly. One paragraph max.

## Consequences

### Positive
- ...

### Negative
- ...

### Neutral
- What changes operationally / for new contributors / for adjacent systems.

## Alternatives Considered

Brief — one or two sentences each. Why each was rejected. This is not an RFC;
do not re-litigate the full trade-off table.

## References

- Linked RFC, PR, ticket, prior ADR, external doc.

Rules

  • One decision per ADR. If the user is describing two decisions, write two ADRs.
  • Don't invent Deciders. Infer from git config, PR author, or commit author. If you can't determine them, write <TBD> and ask the user — never fabricate names or roles.
  • No marketing prose. "We have decided to leverage the strategic synergies of..." — no. "We will use Postgres jsonb instead of a separate events table because..." — yes.
  • Past-tense context, present-tense decision, future-tense consequences. ("X was painful because... → We will use Y → New contributors will need to...")
  • Immutable after acceptance. If the decision changes, write a new ADR that supersedes this one. Do not silently edit history. Mention this rule to the user when they ask to "update" an accepted ADR.

Read the full file on GitHub · 71 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. 7d ago First seen · 71 lines · 73 tokens per session scan A c0e13134461e

Subscribe to this mod's changes

adr is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (1 stars, last pushed 7d ago), licensed MIT. It adds 73 tokens to every session and 795 once invoked, about $0.0004 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.