adr

adr is a skill for Claude Code from kaisa-kucherenko/claude-code-flow. It costs 142 tokens per session (4,370 once invoked), scanned A, original, MIT.

An Architecture Decision Record (ADR) is a written log of important software design choices and the reasons behind them. It links several decisions into a clear description of how a feature should work.

In plain words
What is it for?
Use it to plan features that span areas such as the database, API, user interface, and security. It produces a decisions document and a visual storyboard of how the system works.
Why use it?
It prevents complex features from becoming a collection of unexplained choices. It also gives later readers a quick summary of what was decided, what is still open, and what was rejected.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Codex.

Good fit Use it to plan features that span areas such as the database, API, user interface, and security. It produces a decisions document and a visual storyboard of how the system works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaisa-kucherenko/claude-code-flow/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 kaisa-kucherenko/claude-code-flow --skill adr
Clone the repo
git clone --depth 1 https://github.com/kaisa-kucherenko/claude-code-flow

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/kaisa-kucherenko/claude-code-flow/adr/github.svg)](https://agentmods.dev/skills/kaisa-kucherenko/claude-code-flow/adr)
Your own site
<a href="https://agentmods.dev/skills/kaisa-kucherenko/claude-code-flow/adr"><img src="https://agentmods.dev/badge/skills/kaisa-kucherenko/claude-code-flow/adr/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaisa-kucherenko/claude-code-flow/adr"><img src="https://agentmods.dev/badge/skills/kaisa-kucherenko/claude-code-flow/adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,370 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.00142 $0.04370
Opus 5 $0.00071 $0.02185
Sonnet 5 $0.00028 $0.00874
Haiku 4.5 $0.00014 $0.00437

Measured 2d ago against content hash 5ce197b0e61c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-21, 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 2d 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/SKILL.md · 315 lines

How it starts

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

Architecture Decision Record (ADR)

"Beads on a necklace" — sequential isolated decisions that build on each other. Each decision narrows the space for the next one.

What this skill produces

Default — single file {feature}-decisions.md in the project root. This file is the source /spec cuts phases from: it records the decisions and their reasons, not the order of work. Works well for features up to ~15 decisions and ~800 lines.

The document opens with two things, before any decision: a short "How it works" (the whole mechanism in 5-10 lines, as it stands after the decisions made so far — rewritten as decisions land) and a status table (number, title, DECIDED / PENDING / DROPPED). A reader who lost the thread re-anchors here, not by scrolling the decisions.

Companion visual — the storyboard "Life of one X". The main visual of the ADR, built together with the decision tree in Phase 3 and kept alive through Phase 4 (see there). The tree is a list; the storyboard is the story the list is about — it is what makes the whole picture hold at the end instead of falling apart into sixteen items.

For larger features — split into per-decision directory docs/adr/{domain}/:

  • One README.md (index + status table + reading order)
  • One file per decision or per tightly-grouped decision cluster (e.g. 01-platform-install.md, 02-schema-source-of-truth.md, ..., 11-documentation-rollout.md)
  • Logical grouping, not strict 1-to-1 (combine tightly related decisions into one file when they share rationale, e.g. 3 + 4 → single file; keep large independent decisions like 7 standalone)
  • Cross-references via markdown links ([02-schema-source-of-truth.md](02-schema-source-of-truth.md)) instead of inline per 7 text

When to split — one scale: ~800 lines / ~25 KB or 15+ decisions. Past ~800 lines the Read tool hits its 25k-token limit on Cyrillic content and humans stop reviewing coherently; past 15 decisions the file keeps growing, so split early. Two further triggers regardless of size: unrelated domains in one ADR (DB + secrets + CI — targeted edits and smaller review passes), and a project that already uses docs/adr/{domain}/. Below the scale, stay in one file — a split adds navigation for nothing, and a prototype whose decisions will consolidate or die is not worth the carpentry.

Read the full file on GitHub · 315 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. 2d ago First seen · 315 lines · 142 tokens per session scan A 5ce197b0e61c

Subscribe to this mod's changes

adr is a skill published in the GitHub repository kaisa-kucherenko/claude-code-flow (20 stars, last pushed 2d ago), licensed MIT. It adds 142 tokens to every session and 4,370 once invoked, about $0.0007 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-09-19.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens