manage-adr

manage-adr is a skill for Claude Code, Codex from sergeyklay/.agents. It costs 86 tokens per session (1,903 once invoked), scanned A, original, Apache-2.0.

A helper for Architecture Decision Records, documents that explain important technical choices and why they were made.

In plain words
What is it for?
Use it to create, update, and validate records in MADR 4.0 format, including files under docs/decisions/ and their index.
Why use it?
It keeps those decisions in a consistent format and maintains their numbering and index as records change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create, update, and validate records in MADR 4.0 format, including files under docs/decisions/ and their index.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergeyklay/.agents/manage-adr"><img src="https://agentmods.dev/badge/skills/sergeyklay/.agents/manage-adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,903 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.00086 $0.01903
Opus 5 $0.00043 $0.00951
Sonnet 5 $0.00017 $0.00381
Haiku 4.5 $0.00009 $0.00190

Measured 8d ago against content hash b87035d8de61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

manage-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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/next_adr_number.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/manage-adr/SKILL.md · 134 lines

How it starts

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

Managing Architecture Decision Records

This project stores ADRs in docs/decisions/ following MADR 4.0 with project-specific conventions documented below.

File Conventions

  • Path: docs/decisions/NNNN-kebab-case-title.md
  • Numbering: zero-padded four digits, sequential. See "Get Sequence Number" below.
  • Index: docs/decisions/README.md contains a table of all ADRs. Update it after every create, rename, or status change.

Running scripts bundled with this skill

Script paths in this document (e.g. scripts/) are resolved relative to this SKILL.md file, not to your current working directory. If a relative command fails to resolve, prefix it with the path your platform loaded this SKILL.md from.

Fallback. If python3 cannot be located, analyze the script's purpose and logic and execute its intent with available tools, but warn the user that python is not available and the logic was executed with a fallback approach that may not be perfect.

Running scripts bundled with this skill

Script paths in this document (e.g. scripts/) are resolved relative to this SKILL.md file, not to your current working directory. If a relative command fails to resolve, prefix it with the path your platform loaded this SKILL.md from.

ADR Template

Use assets/adr-template.md as the starting point. The template contains the exact frontmatter and section structure. Copy it, fill in the content, remove sections marked optional if unused.

Key rules:

  • Frontmatter fields status and date are required. decision-makers is required for accepted decisions.
  • status values: proposed, accepted, deprecated, superseded by NNNN
  • date format: YYYY-MM-DD (date of last status change)
  • The H1 title is a short imperative phrase: "Use X for Y", not "Decision about X"
  • "Decision Outcome" must begin with Chosen option: **X**, because Y
  • "Considered Options" is a bullet list. Detailed analysis goes under "### Considered Options in Detail" inside "Decision Outcome"
  • Decision Drivers use numbered bold-label items: 1. **Label.** Description

Read the full file on GitHub · 134 lines

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. 8d ago Changed b87035d8de61
  2. 11d ago First seen · 134 lines · 86 tokens per session scan A d8bd378e11b1

Subscribe to this mod's changes

manage-adr is a skill published in the GitHub repository sergeyklay/.agents (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 86 tokens to every session and 1,903 once invoked, about $0.0004 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