architecture-decision

architecture-decision is a skill for Claude Code, Codex from davekilleen/Dex. It costs 36 tokens per session (1,146 once invoked), scanned A, original, MIT.

An architecture decision record, or ADR, for an important system or design choice. It explains the evidence, alternatives, trade-offs, and whether the decision is proposed, accepted, or superseded.

In plain words
What is it for?
Use it to create or review ADRs and compare the options and trade-offs behind system or design decisions.
Why use it?
It preserves the reasoning behind a technical choice so later reviewers can understand its context and history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Good fit Use it to create or review ADRs and compare the options and trade-offs behind system or design decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davekilleen/dex/architecture-decision
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 davekilleen/Dex --skill architecture-decision
Clone the repo
git clone --depth 1 https://github.com/davekilleen/Dex

Made for: Claude Code, Codex.

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 architecture-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/davekilleen/dex/architecture-decision/github.svg)](https://agentmods.dev/skills/davekilleen/dex/architecture-decision)
Your own site
<a href="https://agentmods.dev/skills/davekilleen/dex/architecture-decision"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/architecture-decision/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 architecture-decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/architecture-decision"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/architecture-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,146 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.00036 $0.01146
Opus 5.5 $0.00014 $0.00458
Sonnet 5.5 $0.00007 $0.00229
Haiku 4.5 $0.00004 $0.00115

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

Security

Grade A, and why

architecture-decision 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 2mo 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.

.agents/skills/_available/engineering/architecture-decision/SKILL.md · 111 lines

How it starts

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

Architecture decision

When to use

Use this skill when a material architecture choice, constraint, or reversal needs a traceable Architecture Decision Record (ADR), or when an existing ADR's state and rationale need review.

Do not use it for live incident response, implementation instructions that do not require a design decision, or a decision that has no identifiable evidence or human decision authority. Not for silently choosing on behalf of the team or rewriting historical ADRs.

Inputs and source discipline

Start with the decision question, scope, constraints, affected systems, decision authority, and intended decision window. Treat a missing authority, constraint, or date as unknown; ask for it or mark it TBD.

Build a source ledger before comparing options. For every material claim record the source, source date, as-of date/time, locator, and freshness or access limitation. Prefer directly inspected code, configuration, tests, measured operations, and dated requirements; label meeting recollections and interpretations accordingly. Keep conflicting sources linked rather than silently choosing one.

Method

  1. Read the relevant context in read-only mode. State the problem, desired outcome, non-negotiable constraints, decision deadline if evidenced, and what is outside scope.
  2. Enumerate the status quo and credible alternatives. For each option capture supporting evidence, fit to constraints, benefits, costs, risks, reversibility, migration or operational burden, trade-offs, and unresolved unknowns.
  3. Compare options with the same criteria. Record confidence for each material assessment and retain contradictions; do not manufacture a score, percentage, or cost when the source does not provide one.
  4. Draft the ADR with one explicit state:
    • Proposed means the evidence-backed draft is awaiting human authority.
    • Accepted means the human decision authority explicitly approved the stated option and trade-offs; a recommendation is not approval.
    • Superseded means a later accepted ADR replaces it, with links in both directions. Preserve the earlier record as immutable history.
  5. Present a recommendation as an option for the human decision authority. Do not change a proposed ADR to accepted, or create the canonical ADR, until that human authority confirms the action and the exact decision text.

Read the full file on GitHub · 111 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. 2mo ago Changed · +2 lines 3d3819314978
  2. 3mo ago First seen · 109 lines · 36 tokens per session scan A 0b41531a71c6

Subscribe to this mod's changes

architecture-decision is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 36 tokens to every session and 1,146 once invoked, about $0.0001 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-30.

Related

architecture-decision compared with skills from other repositories

architecture-decision next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-decisiondavekilleen/DexSkill5226d agoMITA36Claude Code, Codex
nft-standardswshobson/agentsSkill43k6d agoMITA48Claude Code
istio-traffic-managementwshobson/agentsSkill43k6d agoMITA40Claude Code
projection-patternswshobson/agentsSkill43k6d agoMITA36Claude Code
9router-web-searchdecolua/9routerSkill33k7d agoMITA74Claude Code, Codex
microservices-patternswshobson/agentsSkill43k6d agoMITA38Claude Code
track-managementwshobson/agentsSkill43k6d agoMITA44Claude Code