adr-generator

adr-generator is a skill for Claude Code, Codex from codebygarv/Ai-skills. It costs 21 tokens per session (295 once invoked), scanned A, original, MIT.

A template and analysis guide for Architecture Decision Records, or ADRs. An ADR is a short permanent note explaining an important technical choice, the alternatives considered, and its consequences.

In plain words
What is it for?
Use it when choosing or replacing a framework, programming language, database, or major system design approach.
Why use it?
It preserves the reasons behind major engineering decisions so future contributors do not have to reconstruct them.

Skill for Claude CodeCodex

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

Good fit Use it when choosing or replacing a framework, programming language, database, or major system design approach.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/codebygarv/ai-skills/adr-generator"><img src="https://agentmods.dev/badge/skills/codebygarv/ai-skills/adr-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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.00021 $0.00295
Opus 5.5 $0.00008 $0.00118
Sonnet 5.5 $0.00004 $0.00059
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

adr-generator 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 3mo 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/documentation/adr-generator/SKILL.md · 33 lines

What it actually says

Purpose

Document significant architectural choices in a lightweight, immutable Architecture Decision Record (ADR) following the Michael Nygard format to maintain long-term technical context.

When to Use

  • Committing to a new framework, language, database, or major pattern.
  • Changing an existing architectural standard or deprecating a system.
  • Preserving the "why" behind non-obvious engineering decisions for future hires.

What to Analyze

  1. Title & Status: [Number] [Title] (e.g. ADR-0012 Use ClickHouse for Event Analytics) with status (Proposed, Accepted, Superseded, Rejected).
  2. Context: What problem are we solving, and what business/technical constraints force a decision?
  3. Decision: The clear, active-voice statement of what is being adopted.
  4. Alternatives Considered: What other options were evaluated and why were they declined?
  5. Consequences: Positive effects, negative tradeoffs, and operational risks accepted.

Output Format

  • Standard Markdown ADR template with YAML frontmatter.
  • Clear, objective, concise sections without fluff.

Avoid

  • Writing ADRs as post-hoc justifications with no alternatives mentioned.
  • Omitting negative consequences and maintenance burdens.
Files

What ships with it

2 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. 3mo ago First seen · 33 lines · 21 tokens per session scan A 92ddd60bf089

Subscribe to this mod's changes

adr-generator is a skill published in the GitHub repository codebygarv/Ai-skills (28 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 295 once invoked, about $0.0001 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

adr-generator compared with skills from other repositories

adr-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-generatorcodebygarv/Ai-skillsSkill283mo agoMITA21Claude Code, Codex
bun-apidmythro/agent-skillsSkill719d agoMITA265Claude Code, Codex
bun-clidmythro/agent-skillsSkill719d agoMITA235Claude Code, Codex
git-prdmythro/agent-skillsSkill719d agoMITA151Claude Code, Codex
deps-upgradedmythro/agent-skillsSkill719d agoMITA134Claude Code, Codex
git-projectdmythro/agent-skillsSkill719d agoMITA193Claude Code, Codex
git-cidmythro/agent-skillsSkill719d agoMITA88Claude Code, Codex