create-adr

create-adr is a skill for Claude Code, Codex from atman-33/workhub. It costs 55 tokens per session (667 once invoked), scanned A, original, MIT.

A tool for recording a settled software design choice in an Architecture Decision Record, a numbered document explaining the choice, alternatives, and consequences.

In plain words
What is it for?
Use it to create or update numbered decision documents in the repository's ADR folder.
Why use it?
It preserves the reasoning behind an important decision in the repository, where future developers can find it.

Skill for Claude CodeCodex

Part of the engineering plugin — 21 skills, 4 agents, 3 hooks, 2 MCP servers shipped together

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/atman-33/workhub/create-adr
Any agent
npx skills add atman-33/workhub --skill create-adr
Clone the repo
git clone --depth 1 https://github.com/atman-33/workhub

Made for: Claude Code, Codex.

Or install engineering, the plugin that ships this one along with the rest of its 21 skills, 4 agents, 3 hooks, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/atman-33/workhub/create-adr.svg)](https://agentmods.dev/skills/atman-33/workhub/create-adr)
Your own site
<a href="https://agentmods.dev/skills/atman-33/workhub/create-adr"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/create-adr.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 667 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.00055 $0.00667
Opus 5 $0.00028 $0.00333
Sonnet 5 $0.00011 $0.00133
Haiku 4.5 $0.00006 $0.00067

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

Security

Grade A, and why

create-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 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.

plugins/engineering/skills/create-adr/SKILL.md · 68 lines

How it starts

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

Create ADR

Record one architecture decision — the "why" that code and commit messages can't carry — as a numbered, immutable file in the target repository.

An ADR records a decision made, not a proposal under discussion. If the decision isn't settled yet, help settle it in conversation first; write the ADR after.

Steps

  1. Locate the ADR home. Look for an existing convention in the target repo: docs/adr/, docs/decisions/, adr/, or an existing NNNN-*.md series anywhere under docs/. Follow whatever exists (numbering width, template style). If none exists, create docs/adr/ and start at 0001.

    • Completion criterion: directory and next sequence number are known.
  2. Gather the decision. From the conversation (ask only for gaps): the decision itself, the context/forces that made it necessary, the alternatives considered, and why they lost. If the decision came out of work in this session, pull the concrete evidence (files, constraints) you already have instead of re-asking.

  3. Draft the ADR — in English, as a repository artifact. Template (skip a section only when genuinely empty, and keep the heading with "None."):

    # NNNN. <Decision title, imperative — "Use X for Y">
    
    Date: YYYY-MM-DD
    Status: Accepted
    
    ## Context
    <the forces: requirements, constraints, problems that made a decision necessary>
    
    ## Decision
    <what was decided, stated as fact>
    
    ## Alternatives considered
    <each alternative and the concrete reason it was rejected>
    
    ## Consequences
    <what becomes easier, what becomes harder, follow-ups now required>
    
  4. Confirm, then write. Show the draft to the user; on approval write NNNN-<kebab-slug-of-title>.md into the ADR home. If this ADR supersedes an earlier one, also edit the old ADR's Status to Superseded by NNNN — that edit is the one exception to ADR immutability.

    • Completion criterion: file written; any superseded ADR's status updated.

Read the full file on GitHub · 68 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 · 68 lines · 55 tokens per session scan A 68cc0a6914bf

Subscribe to this mod's changes

create-adr is a skill published in the GitHub repository atman-33/workhub (2 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 667 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.