adr-writing

adr-writing is a skill for Claude Code, Codex from Kaddo-kdd/kaddo. It costs 44 tokens per session (533 once invoked), scanned A, original, MIT.

A structured way to write Architecture Decision Records (ADRs), which are short records of important technical choices and their reasoning. It saves each record with the same sections and status values.

In plain words
What is it for?
Use it when making or recognizing a consequential architecture decision. It creates a draft or completed ADR containing the context, options, decision, consequences, and related work.
Why use it?
It prevents important decisions from being recorded inconsistently or becoming hard to audit later. It also keeps separate decisions from being mixed together and leaves unresolved choices for human confirmation.

Skill for Claude CodeCodex

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

Good fit Use it when making or recognizing a consequential architecture decision. It creates a draft or completed ADR containing the context, options, decision, consequences, and related work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaddo-kdd/kaddo/adr-writing
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 Kaddo-kdd/kaddo --skill adr-writing
Clone the repo
git clone --depth 1 https://github.com/Kaddo-kdd/kaddo

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kaddo-kdd/kaddo/adr-writing"><img src="https://agentmods.dev/badge/skills/kaddo-kdd/kaddo/adr-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 533 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.00044 $0.00533
Opus 5.5 $0.00018 $0.00213
Sonnet 5.5 $0.00009 $0.00107
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

adr-writing 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.

kaddo-power/skills/adr-writing/SKILL.md · 76 lines

How it starts

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

ADR Writing Skill

Purpose

Standardize how Architecture Decision Records are written so every decision is captured the same way and stays auditable.

When to use

When a real, consequential technical decision is being made or recognized — and only then.

Inputs

The context pack, the relevant Work Item or architecture note, and the decision being made.

Output

A single ADR (saved under knowledge/tech/decisions/) with front matter and the standard sections: context, options considered, the decision, consequences, related capabilities and related Work Items. Status is one of draft, accepted, superseded, deprecated.

Materializing from decision candidates (VS-075)

When knowledge/tech/decisions/ is empty but knowledge/tech/decision-candidates.md holds candidates, materialize each candidate as an ADR draft — copy its context and options, leave the decision and consequences as [open] for human confirmation, and record its origin with created_from: knowledge/tech/decision-candidates.md. Never mark a materialized draft accepted; acceptance is a human decision.

Rules

  • One ADR = one decision. Never mix unrelated decisions.
  • Never invent decisions; never write an ADR without a clear reason.
  • Record alternatives honestly, including the one chosen and why (or [open] when undecided).
  • Prefer narrow governed code: globs over broad ones.

Quality checklist

  • Context explains why the decision was needed.
  • The decision and its alternatives are explicit (or explicitly [open]).
  • Consequences (positive and negative) are stated.
  • Status and governed paths are present.

Example output

---
type: adr
status: draft | accepted | superseded | deprecated
date: YYYY-MM-DD
created_from: knowledge/tech/decision-candidates.md
---

# ADR-001 — Use INTERNAL_CRON_SECRET for internal endpoint protection

## Context
...
## Options Considered
...
## Decision
[open]
## Consequences
[open]
## Related Capabilities
- <domain / capability>
## Related Work Items
- <WI id>

Read the full file on GitHub · 76 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 First seen · 76 lines · 44 tokens per session scan A 4230ea7115e6

Subscribe to this mod's changes

adr-writing is a skill published in the GitHub repository Kaddo-kdd/kaddo (71 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 533 once invoked, about $0.0002 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-09-25.

Related

adr-writing compared with skills from other repositories

adr-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-writingKaddo-kdd/kaddoSkill71yesterdayMITA44Claude Code, Codex
imagegenopenai/codexSkill136ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill80kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code