adr-architecture

adr-architecture is a skill for Claude Code, Codex from onfire7777/universal-ai-skills-library. It costs 68 tokens per session (1,557 once invoked), scanned A, original, MIT.

A guide for writing Architecture Decision Records (ADRs), short documents that explain important technical choices, the alternatives considered, and their consequences.

In plain words
What is it for?
Use it to record choices about databases, frameworks, infrastructure, security, standards, deployments, or retiring systems.
Why use it?
It preserves the reasoning behind decisions so teams can understand them later, especially during changes, migrations, or onboarding.

Skill for Claude CodeCodex

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

Good fit Use it to record choices about databases, frameworks, infrastructure, security, standards, deployments, or retiring systems.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/onfire7777/universal-ai-skills-library/adr-architecture"><img src="https://agentmods.dev/badge/skills/onfire7777/universal-ai-skills-library/adr-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,557 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.00068 $0.01557
Opus 5 $0.00034 $0.00779
Sonnet 5 $0.00014 $0.00311
Haiku 4.5 $0.00007 $0.00156

Measured 12d ago against content hash 72cb9995ed21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

adr-architecture 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 12d 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-architecture/SKILL.md · 166 lines

How it starts

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

Architecture Decision Records (ADR)

Table of Contents

Purpose

Document significant architectural and technical decisions with full context, alternatives considered, trade-offs analyzed, and consequences understood. ADRs create a decision trail that helps teams understand "why" decisions were made, even years later.

When to Use This Skill

  • Recording architecture decisions (microservices, databases, frameworks)
  • Documenting infrastructure choices (cloud providers, deployment strategies)
  • Capturing technology selections (libraries, tools, platforms)
  • Logging process decisions (branching strategy, deployment process)
  • Establishing technical standards or conventions
  • Migrating or sunsetting systems
  • Making security or compliance choices
  • Resolving technical debates with documented rationale
  • Onboarding new team members who need decision history

Trigger phrases: "ADR", "architecture decision", "document this decision", "why did we choose", "decision record", "technical decision log"

What is an ADR?

An Architecture Decision Record is a document capturing a single significant decision. It includes:

  • Context: What situation necessitates this decision?
  • Decision: What are we choosing to do?
  • Alternatives: What other options did we consider?
  • Consequences: What are the trade-offs and implications?
  • Status: Proposed, accepted, deprecated, superseded?

Quick Example:

# ADR-042: Use PostgreSQL for Primary Database

**Status:** Accepted
**Date:** 2024-01-15
**Deciders:** Backend team, CTO

## Context
Need to select primary database for new microservices platform.
Requirements: ACID transactions, complex queries, 10k+ QPS at launch.

## Decision
Use PostgreSQL 15+ as primary relational database.

## Alternatives Considered
- MySQL: Weaker JSON support, less robust constraint handling
- MongoDB: No ACID across documents, eventual consistency issues
- CockroachDB: Excellent but adds operational complexity we can't support yet

## Consequences
✓ Strong consistency and data integrity
✓ Excellent JSON support for semi-structured data
✓ Team has deep PostgreSQL experience
✗ Vertical scaling limits (will need read replicas at 50k+ QPS)
✗ More complex to shard than DynamoDB if we need it

Read the full file on GitHub · 166 lines

Files

What ships with it

4 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. 12d ago First seen · 166 lines · 68 tokens per session scan A 72cb9995ed21

Subscribe to this mod's changes

adr-architecture is a skill published in the GitHub repository onfire7777/universal-ai-skills-library (16 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,557 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

jk

Manage Jenkins controllers with jk, including jobs, runs, logs, artifacts, credentials, nodes, queues, and plugins.

avivsinai/jenkins-cli · 26 tokens

harness-init-runner

Initialize a lightweight repo-local Node.js harness (harness/ + .harness/) WITHOUT AIOS dependency. Use ONLY when you need a standalone, portable harness. If AIOS is installed, use aios-long-running-harness instead — it has rex Command hosting, ContextDB integration, and checkpoint recovery.

rexleimo/aios · 70 tokens

sudocode

ALWAYS use this skill for ALL sudocode spec and issue operations. Use when user mentions "spec", "issue", "ready", "blocked", "implement", "feature", "plan", or "feedback" with sudocode specs and issues. PROACTIVELY use at start of implementation tasks to check ready issues and understand work context. Operations…

sudocode-ai/sudocode · 118 tokens

business-defect-audit

A review of whether software follows the intended business rules, even when the code runs, compiles, and passes tests.

Dmatut7/codex-flow · 223 tokens

parallel-fix

A method for applying a list of mostly independent code fixes at the same time, with one later step to merge and test them.

Dmatut7/codex-flow · 162 tokens

firefox-cli

Control the user's Firefox from a terminal. Use when your task needs the user's browser or authenticated session, page navigation, tab/window control, screenshots, DOM reads, waits, or page interactions in Firefox. Do not use it as a web search replacement.

respawn-llc/firefox-cli · 54 tokens