add-adr

add-adr is a skill for Claude Code from SSWConsulting/SSW.VerticalSliceArchitecture. It costs 83 tokens per session (1,447 once invoked), scanned A, original, MIT.

A workflow for recording an important architectural decision in a repository's docs/adr/ folder. An Architectural Decision Record, or ADR, explains what was chosen, why, and what alternatives were rejected.

In plain words
What is it for?
Use it to document decisions about frameworks, libraries, data storage, hosting, or conventions according to the repository's Log4brains format.
Why use it?
It preserves the reasoning behind choices that affect future development, so the team does not have to rediscover it later.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to document decisions about frameworks, libraries, data storage, hosting, or conventions according to the repository's Log4brains format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sswconsulting/ssw.verticalslicearchitecture/add-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 SSWConsulting/SSW.VerticalSliceArchitecture --skill add-adr
Clone the repo
git clone --depth 1 https://github.com/SSWConsulting/SSW.VerticalSliceArchitecture

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sswconsulting/ssw.verticalslicearchitecture/add-adr/github.svg)](https://agentmods.dev/skills/sswconsulting/ssw.verticalslicearchitecture/add-adr)
Your own site
<a href="https://agentmods.dev/skills/sswconsulting/ssw.verticalslicearchitecture/add-adr"><img src="https://agentmods.dev/badge/skills/sswconsulting/ssw.verticalslicearchitecture/add-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 add-adr

Your own site · 80×15
<a href="https://agentmods.dev/skills/sswconsulting/ssw.verticalslicearchitecture/add-adr"><img src="https://agentmods.dev/badge/skills/sswconsulting/ssw.verticalslicearchitecture/add-adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,447 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 pass 7 Sept 2026
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.00083 $0.01447
Opus 5.5 $0.00033 $0.00579
Sonnet 5.5 $0.00017 $0.00289
Haiku 4.5 $0.00008 $0.00145

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

Security

Grade A, and why

add-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 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.

.claude/skills/add-adr/SKILL.md · 122 lines

How it starts

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

Add an ADR

An ADR captures one architecturally significant decision — what was decided, why, and what was rejected. The set lives in docs/adr/, is managed by Log4brains (.log4brains.yml), and is published as a static site from main.

ADRs are immutable. Once merged, the only thing that changes is the status. A decision that gets reversed doesn't get edited — it gets a new ADR, and the old one is marked superseded by [link]. Write it as a record of what was true on the date, not as living documentation.

When it earns an ADR

Write one when the decision constrains future work and someone will later ask "why is it like this?" — a framework or library choice, a persistence or hosting pattern, a convention every slice has to follow. Skip it for reversible implementation details, bug fixes, and anything a code comment covers.

1. Filename

YYYYMMDD-<kebab-slug>.md, where the date is when the decision was made, not when the record was written.

The slug usually leads with the category, but it isn't mandatory — both shapes exist in the repo:

20251018-api-use-fastendpoints-instead-of-minimal-apis.md
20260515-vertical-slices-use-a-folder-per-slice.md
20260612-use-aggregate-specification-classes-with-factory-methods.md

2. Start from the template

Copy docs/adr/template.md. It carries the full section structure with inline <!-- --> guidance on what each part is for and which are optional. Don't hand-roll the skeleton — the template is the source of truth for the shape.

docs/adr/index.md is the Log4brains site homepage, not a manual index. There is nothing to register — dropping the file in docs/adr/ is enough.

3. Title

H1, pattern [Category] - [Decision], or just the decision when no category fits:

  • API - Use FastEndpoints instead of Minimal APIs
  • Database - Use SQL Temporal Tables when data auditing is required
  • Use Aggregate Specification Classes with Factory Methods

Read the full file on GitHub · 122 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 First seen · 122 lines · 83 tokens per session scan A ccf69d791f24

Subscribe to this mod's changes

add-adr is a skill published in the GitHub repository SSWConsulting/SSW.VerticalSliceArchitecture (416 stars, last pushed 8d ago), licensed MIT. It adds 83 tokens to every session and 1,447 once invoked, about $0.0003 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

add-adr compared with skills from other repositories

add-adr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-adrSSWConsulting/SSW.VerticalSliceArchitectureSkill4168d agoMITA83Claude Code
nettopologysuiteznlgis/opengis-skillsSkill7610d agoMITA85Claude Code, Codex
releaseAterDev/Perigon.CLISkill543d agoApache-2.0A34Claude Code, Codex
docsAterDev/Perigon.CLISkill543d agoApache-2.0A67Claude Code, Codex
blazorAterDev/Perigon.CLISkill543d agoApache-2.0A45Claude Code, Codex
cliAterDev/Perigon.CLISkill543d agoApache-2.0A52Claude Code, Codex
codegenAterDev/Perigon.CLISkill543d agoApache-2.0A53Claude Code, Codex