update-adr-inventory

update-adr-inventory is a skill for Claude Code, Codex from rust-works/succinctly. It costs 54 tokens per session (730 once invoked), scanned A, original, MIT.

A tool for rebuilding an inventory table of Architecture Decision Records (ADRs), which are documents that record important project choices.

In plain words
What is it for?
Use it after adding an ADR or changing an existing ADR's title or status.
Why use it?
It keeps the table aligned with the ADR files and limits the change to rows whose title, status, or date changed.

Skill for Claude CodeCodex

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/rust-works/succinctly/update-adr-inventory
Any agent
npx skills add rust-works/succinctly --skill update-adr-inventory
Clone the repo
git clone --depth 1 https://github.com/rust-works/succinctly

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 update-adr-inventory

README.md
[![agentmods](https://agentmods.dev/badge/skills/rust-works/succinctly/update-adr-inventory.svg)](https://agentmods.dev/skills/rust-works/succinctly/update-adr-inventory)
Your own site
<a href="https://agentmods.dev/skills/rust-works/succinctly/update-adr-inventory"><img src="https://agentmods.dev/badge/skills/rust-works/succinctly/update-adr-inventory.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 730 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 $0.00054 $0.00730
Opus 5 $0.00027 $0.00365
Sonnet 5 $0.00011 $0.00146
Haiku 4.5 $0.00005 $0.00073

Measured 4d ago against content hash e12f20145198, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update-adr-inventory 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 4d 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/update-adr-inventory/SKILL.md · 69 lines

How it starts

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

Update ADR Inventory

Rebuild the inventory table in docs/adrs/README.md so it reflects the current set of ADR files and their metadata.

Critical: Minimise diff noise

Only touch rows that actually changed. When adding a new ADR, append a row matching the existing column widths — do NOT reformat the header, separator, or unchanged data rows. When updating an ADR's status or title, edit only that row's cell content and pad to match the existing column width. The goal is a minimal, reviewable git diff.

Procedure

  1. Read the current inventory. Read docs/adrs/README.md and parse the existing table to understand current column widths and which ADRs are already listed (with their status and title).

  2. Find all ADR files. Glob for docs/adrs/adr-*.md (exclude README.md). Sort results in natural numeric order by ADR number.

  3. Extract metadata from each ADR file. For every file, read the first ~10 lines and extract:

    • ADR number and title from the level-1 heading: # ADR-NNNN: Title
    • Status from the ## Status section (the first non-empty line after ## Status)
  4. Determine the date. Use git to get the author date of the commit that first introduced the file:

    git log --diff-filter=A --follow --format="%as" -- <file> | tail -1
    

    If the file is untracked (no git history), use today's date.

  5. Map status text to the table format. Normalise the raw status string (strip any existing emoji) and apply the project's status legend:

    Raw (case-insensitive) Table display
    Proposed 🟡 Proposed
    Accepted ✅ Accepted
    Deprecated ❌ Deprecated
    Superseded 🔄 Superseded

    If the status does not match any of the above, use the raw text as-is.

  6. Compare and apply minimal edits.

    • New ADRs: Append a row, padding each cell to match the existing column widths (right-pad with spaces). Do not alter the header or separator rows unless the new content exceeds an existing column width.
    • Changed status/title: Edit only the affected cell(s) in the existing row, adjusting padding to maintain alignment.
    • Removed ADRs: Delete only that row.
    • No changes: Do nothing — do not rewrite the table.

Read the full file on GitHub · 69 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. 4d ago First seen · 69 lines · 54 tokens per session scan A e12f20145198

Subscribe to this mod's changes

update-adr-inventory is a skill published in the GitHub repository rust-works/succinctly (52 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 730 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens