generate-adr

generate-adr is a skill for Claude Code from thiagofmaranhao/tech-toolkit. It costs 51 tokens per session (426 once invoked), scanned A, original, MIT.

A skill that creates an Architecture Decision Record, or ADR: a document explaining an important technical decision, its context, alternatives, and effects.

In plain words
What is it for?
Use it after architecture discussions or refinement meetings to document the chosen approach, trade-offs, alternatives, and participants.
Why use it?
It turns meeting notes or a short decision summary into a consistent record that the team can refer to later.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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.

agentmods
npx agentmods add skills/thiagofmaranhao/tech-toolkit/generate-adr
Any agent
npx skills add thiagofmaranhao/tech-toolkit --skill generate-adr
Clone the repo
git clone --depth 1 https://github.com/thiagofmaranhao/tech-toolkit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thiagofmaranhao/tech-toolkit/generate-adr.svg)](https://agentmods.dev/skills/thiagofmaranhao/tech-toolkit/generate-adr)
Your own site
<a href="https://agentmods.dev/skills/thiagofmaranhao/tech-toolkit/generate-adr"><img src="https://agentmods.dev/badge/skills/thiagofmaranhao/tech-toolkit/generate-adr.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00051 $0.00426
Opus 5 $0.00026 $0.00213
Sonnet 5 $0.00010 $0.00085
Haiku 4.5 $0.00005 $0.00043

Measured 6d ago against content hash 2b70aa621205, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

generate-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 6d 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-code/skills/generate-adr/SKILL.md · 34 lines

What it actually says

Instructions

You are a senior Principal Software Architect focused on engineering governance. Your task is to generate an Architecture Decision Record (ADR) in Markdown using the template in template-adr.md.

The user will provide one of the following:

  • A brief decision summary passed as an argument
  • Raw meeting notes or a refinement transcript pasted in the message
  • An attached transcript file

Analysis steps

Before writing the ADR, perform this analysis:

  1. Code and Identification: Extract the Feature or Epic number to compose the ADR code (e.g., ADR-AP-XXX). If not found, use [Feature-ID].
  2. Context Mapping: Identify the business pain, the technical legacy problem (bottlenecks, integration failures), and any volumetric data mentioned.
  3. Decision Design: Consolidate the components of the chosen architecture (tools used, processing type, message buses, etc.).
  4. Impact Analysis: Extract positive outcomes, negative outcomes, and trade-offs (e.g., operational complexity vs. resilience gain).
  5. Alternatives Table: Identify discarded approaches and the technical reason for rejection.
  6. Role Mapping: Extract participant names and infer their areas from context.

Output rules

  • Respond directly with the complete ADR in Markdown — no openers like "Here is your ADR..." or closing remarks
  • Follow the structure in template-adr.md strictly — no new sections, no format changes
  • Keep technical terms in their original form (e.g., trade-offs, batch, event-driven, cloud run)
  • Use placeholders for missing required fields (e.g., [Meeting Date], [Feature-ID]) — never fabricate data
Files

What ships with it

1 file 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. 6d ago First seen · 34 lines · 51 tokens per session scan A 2b70aa621205

Subscribe to this mod's changes

generate-adr is a skill published in the GitHub repository thiagofmaranhao/tech-toolkit (5 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 426 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-31.

Related

Other skills, from other repositories

bootstrap

Scaffold or retrofit documentation-led conventions (AGENTS.md, CLAUDE.md, CONVENTIONS.md, ADR catalogue, plan/ queue, agent/ coordination) into a repo. Use when the user asks to "set up conventions", "bootstrap ADRs", "scaffold the documentation-led layout", "add AGENTS.md and a plan queue", or invokes /bootstrap.…

EvolveHQ/docflow · 118 tokens

decision-backfill

Use when auditing an existing codebase, documentation set, plans, RFCs, or git history for architecture decisions that were made but never recorded as ADRs, and when triaging potential records before drafting them.

mbeacom/adrkit · 46 tokens

decision-memory

Use when planning, designing, reviewing, or changing code in a repository that keeps ADRs (usually docs/adr) — to load the decisions that already govern the work, check a plan or diff against them, or record a new decision. Also use when a choice feels already-settled and you cannot find where it was settled.

mbeacom/adrkit · 71 tokens

actual

Feature-complete companion for the actual CLI, an ADR-powered CLAUDE.md/AGENTS.md generator. Runs and troubleshoots actual adr-bot, status, auth, config, runners, and models, plus the Actual AI platform surface: login, logout, whoami, and advisor (org-scoped architecture Q&A). Covers all 5 runners (claude-cli…

actual-software/actual-skill · 157 tokens

audit

Audit a documentation-led repo against its own conventions — contiguous ADR numbering, INDEX sync, plan/ coverage, required sections, status validity, cross-reference resolution, language mandate, ADR-privacy leaks into user-visible code, cross-worktree collisions (duplicate numbers, duplicate plan ownership, same ADR…

EvolveHQ/docflow · 145 tokens

new-adr

Author a new ADR — record a DECISION (what the system must do, or how it is built) in a documentation-led repo. Picks the next contiguous number, chooses the shape (capability vs technology), fills the template, sets status Proposed, regenerates INDEX, updates domain READMEs, handles supersede/deprecate linkage…

EvolveHQ/docflow · 147 tokens