adr-writer

adr-writer is a skill for Claude Code from Mathews-Tom/armory. It costs 56 tokens per session (1,676 once invoked), scanned A, original, MIT.

A tool for writing Architecture Decision Records, short documents that explain an important software design choice. Each record captures the situation, reasoning, alternatives, consequences, and current status.

In plain words
What is it for?
Use it to document design decisions in a numbered decisions folder, including the chosen approach, rejected options, consequences, and later changes.
Why use it?
It preserves why a decision was made, so future contributors do not have to reconstruct the reasoning months later.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the armory plugin — 85 skills shipped together

Good fit Use it to document design decisions in a numbered decisions folder, including the chosen approach, rejected options, consequences, and later changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mathews-tom/armory/adr-writer
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 Mathews-Tom/armory --skill adr-writer
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code.

Or install armory, the plugin that ships this one along with the rest of its 85 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-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathews-tom/armory/adr-writer.svg)](https://agentmods.dev/skills/mathews-tom/armory/adr-writer)
Your own site
<a href="https://agentmods.dev/skills/mathews-tom/armory/adr-writer"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/adr-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,676 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Data Exfiltration · line 47
    Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.
    Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
  • medium Prompt Injection · line 157
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00056 $0.01676
Opus 5 $0.00028 $0.00838
Sonnet 5 $0.00011 $0.00335
Haiku 4.5 $0.00006 $0.00168

Measured 8d ago against content hash e249a79b1672, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

adr-writer 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 8d 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-writer/SKILL.md · 173 lines

How it starts

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

ADR Writer

Captures architecture decisions in a lightweight, structured format that preserves context, rationale, alternatives, and consequences. Produces numbered ADR documents with proper status lifecycle — preventing the "why did we do it this way?" problem when revisiting decisions months later.

Reference Files

File Contents Load When
references/adr-template.md Standard ADR template with field explanations and examples Always
references/status-lifecycle.md Status transitions, supersession rules, deprecation process ADR references existing decisions
references/context-capture.md Techniques for eliciting and documenting decision context Complex or multi-stakeholder decision
references/alternatives-analysis.md Framework for evaluating and documenting rejected alternatives Multiple options being considered

Prerequisites

  • A decisions directory (typically docs/adr/ or docs/decisions/)
  • Understanding of the decision being made (may require clarifying questions)

Workflow

Phase 1: Identify the Decision

  1. What choice was made? — Extract the core architectural decision. If the user describes a problem, help them articulate the decision that resolves it.
  2. Is this decision-worthy? — ADRs are for decisions that:
    • Affect system structure (component boundaries, data flow, API design)
    • Are hard to reverse (technology choice, database schema, protocol)
    • Have non-obvious tradeoffs (multiple viable alternatives)
    • Will be questioned later (the "why" will be forgotten)
  3. What triggered this decision? — New requirement, performance issue, scaling concern, security audit finding, tech debt, team growth.

Read the full file on GitHub · 173 lines

Files

What ships with it

5 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. 8d ago First seen · 173 lines · 56 tokens per session scan A e249a79b1672

Subscribe to this mod's changes

adr-writer is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 1,676 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

openagentskill-registry

Discover, compare, audit, and safely install reusable AI Agent Skills with OpenAgentSkill. Use whenever an agent needs a capability it does not already have, must compare Skill alternatives, or needs evidence before installing third-party instructions.

Leon-Drq/openagentskill · 51 tokens

manager

A session-to-GitHub tracker that creates, updates, and reads issues across repositories, including their labels, parent epics, and project-board placement.

serejaris/personal-corp-os · 63 tokens

weekly-retro

A structured weekly retrospective for a one-person business run with AI agents. It gathers evidence from code, project tools, and canonical business files, then records findings and outcomes.

serejaris/personal-corp-os · 49 tokens

art-director

Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.

serejaris/personal-corp-os · 26 tokens

html-draft

Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…

serejaris/personal-corp-os · 130 tokens

pm-metrics

A product-metrics review aid that examines trends, unusual changes, possible causes, and recommended actions. It can organize a main product metric into lower-level measures, inspect retention and funnels, read A/B tests, and compare results with goals.

serejaris/personal-corp-os · 160 tokens