architecture-decision-records

architecture-decision-records is a skill for Claude Code, Codex from sjarmak/coding-agent-workflows. It costs 54 tokens per session (1,619 once invoked), scanned A, a copy of architecture-decision-records, MIT.

A system for recording important software architecture decisions in structured documents called architecture decision records (ADRs). Each record explains the situation, options considered, chosen approach, and reasoning.

In plain words
What is it for?
Use it when choosing frameworks, libraries, patterns, databases, or API designs, and when looking up the reasons behind earlier decisions.
Why use it?
It prevents key design choices from being lost in chat, code reviews, or individual memory, so future developers can understand why the codebase works the way it does.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when choosing frameworks, libraries, patterns, databases, or API designs, and when looking up the reasons behind earlier decisions.

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

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-records

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/architecture-decision-records"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/architecture-decision-records.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,619 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 100% copy Near-identical to another mod 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.00054 $0.01619
Opus 5.5 $0.00022 $0.00648
Sonnet 5.5 $0.00011 $0.00324
Haiku 4.5 $0.00005 $0.00162

Measured 1mo ago against content hash c6c022107e11, 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-records 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 1mo 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.

Origin

This is a copy

100% identical to architecture-decision-records — 45 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

source/skills/architecture-decision-records/SKILL.md · 179 lines

How it starts

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

Architecture Decision Records

Capture architectural decisions as they happen during coding sessions. Instead of decisions living only in Slack threads, PR comments, or someone's memory, this skill produces structured ADR documents that live alongside the code.

When to Activate

  • User explicitly says "let's record this decision" or "ADR this"
  • User chooses between significant alternatives (framework, library, pattern, database, API design)
  • User says "we decided to..." or "the reason we're doing X instead of Y is..."
  • User asks "why did we choose X?" (read existing ADRs)
  • During planning phases when architectural trade-offs are discussed

ADR Format

Use the lightweight ADR format proposed by Michael Nygard, adapted for AI-assisted development:

# ADR-NNNN: [Decision Title]

**Date**: YYYY-MM-DD
**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN
**Deciders**: [who was involved]

## Context

What is the issue that we're seeing that is motivating this decision or change?

[2-5 sentences describing the situation, constraints, and forces at play]

## Decision

What is the change that we're proposing and/or doing?

[1-3 sentences stating the decision clearly]

## Alternatives Considered

### Alternative 1: [Name]
- **Pros**: [benefits]
- **Cons**: [drawbacks]
- **Why not**: [specific reason this was rejected]

### Alternative 2: [Name]
- **Pros**: [benefits]
- **Cons**: [drawbacks]
- **Why not**: [specific reason this was rejected]

## Consequences

What becomes easier or more difficult to do because of this change?

### Positive
- [benefit 1]
- [benefit 2]

### Negative
- [trade-off 1]
- [trade-off 2]

### Risks
- [risk and mitigation]

Workflow

Capturing a New ADR

When a decision moment is detected:

  1. Initialize (first time only): if docs/adr/ does not exist, create the directory, a README.md seeded with the index table header (see ADR Index Format below), and a blank template.md when the user's request authorizes writing the ADR. Otherwise draft the proposed files and wait for authorization.
  2. Identify the decision: extract the core architectural choice being made
  3. Gather context: what problem prompted this? What constraints exist?
  4. Document alternatives: what other options were considered? Why were they rejected?
  5. State consequences: what are the trade-offs? What becomes easier/harder?
  6. Assign a number: scan existing ADRs in docs/adr/ and increment
  7. Write when authorized: write to docs/adr/NNNN-decision-title.md when the request authorizes the documentation change; otherwise present the draft and wait.
  8. Update the index: append to docs/adr/README.md

Read the full file on GitHub · 179 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. 1mo ago Changed · -1 lines · -1 tokens per session c6c022107e11
  2. 3mo ago First seen · 180 lines · 55 tokens per session scan A a790381e951a

Subscribe to this mod's changes

architecture-decision-records is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 1,619 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to architecture-decision-records, differing in 45 lines, and is treated as a copy.

Related

architecture-decision-records compared with skills from other repositories

architecture-decision-records next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-decision-recordssjarmak/coding-agent-workflowsSkill72d agoMITA54Claude Code, Codex
reverse-engineer-anythingmxyhi/ok-skillsSkill5189d agoApache-2.0A83Claude Code, Codex
browser-tracemxyhi/ok-skillsSkill5189d agoApache-2.0A88Claude Code
planning-with-filesmxyhi/ok-skillsSkill5189d agoApache-2.0A117Claude Code
bopomofo-rescuemxyhi/ok-skillsSkill5189d agoApache-2.0A332Claude Code
ai-elementsmxyhi/ok-skillsSkill5189d agoApache-2.0A46Claude Code, Codex
exa-searchmxyhi/ok-skillsSkill5189d agoApache-2.0A33Claude Code, Codex