adr-workflow

adr-workflow is a skill for Claude Code, Codex from ramboz/jig. It costs 122 tokens per session (5,932 once invoked), scanned A, original, MIT.

A workflow for Architectural Decision Records, which are documents that explain important technical decisions and why a team made them.

In plain words
What is it for?
Use it to create, accept, index, link, or supersede decision documents in a project’s docs/decisions/ folder.
Why use it?
It gives decisions a consistent place and lifecycle, making hard-to-reverse choices easier to record, accept, link, and replace.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the jig plugin — 20 skills 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/ramboz/jig/adr-workflow
Any agent
npx skills add ramboz/jig --skill adr-workflow
Clone the repo
git clone --depth 1 https://github.com/ramboz/jig

Made for: Claude Code, Codex.

Or install jig, the plugin that ships this one along with the rest of its 20 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ramboz/jig/adr-workflow.svg)](https://agentmods.dev/skills/ramboz/jig/adr-workflow)
Your own site
<a href="https://agentmods.dev/skills/ramboz/jig/adr-workflow"><img src="https://agentmods.dev/badge/skills/ramboz/jig/adr-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,932 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.00122 $0.05932
Opus 5 $0.00061 $0.02966
Sonnet 5 $0.00024 $0.01186
Haiku 4.5 $0.00012 $0.00593

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

Security

Grade A, and why

adr-workflow 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (adr.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.

hosts/claude/skills/adr-workflow/SKILL.md · 451 lines

How it starts

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

Spec 005 created this skill from scratch. The mechanics live in adr.py; Claude owns the judgment (what the decision actually says).

What this skill does

Codifies the ADR lifecycle that ADR-0001 and ADR-0002 were written by hand to exercise. Five deterministic operations:

  • new — scaffold docs/decisions/adr-NNNN-<slug>.md from the template, with auto-numbering and a slug-collision check. The scaffold carries status: Proposed in frontmatter (from the template) alongside the prose Proposed (date) line (spec 073-02 / ADR-0026).
  • accept — stamp the canonical status: Accepted frontmatter field and flip the prose Status line to Accepted (YYYY-MM-DD) in the same atomic write. Frontmatter is the authoritative status home; the prose line is a best-effort mirror, rewritten only when it is canonical (spec 073-02 / ADR-0046, which supersedes ADR-0026).
  • supersede — append Superseded by [ADR-NNNN](./adr-NNNN-<slug>.md) (date) to an Accepted ADR's Status block and Supersedes ADR-NNNN to the replacement's Status block, and stamp the old ADR's status: Superseded frontmatter field in the same atomic write (the replacement retains status: Accepted). This is the one edit allowed on an immutable ADR per the Nygard convention. Atomic write on both files.
  • index — regenerate the ## Index section of docs/decisions/README.md from the actual ADR files present. Idempotent. The index is a pure function of the ADR files; see section 4 for what that means for hand-edits and for records it cannot summarize.
  • check-index — read-only audit of that index: exits non-zero if it no longer matches the ADR files, or if two ADRs claim one number. Writes nothing.
  • resolve-todo — strike through a ### Decision: ... heading in docs/refinement-todo.md and append **Resolved by:** [ADR-NNNN: ...](...).

The script does file mutation deterministically. Claude is responsible for the prose inside the ADR (Context, Options Considered, Recommended Decision, Consequences, Open questions).

Read the full file on GitHub · 451 lines

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. 5d ago First seen · 451 lines · 122 tokens per session scan A 8f00888b945e

Subscribe to this mod's changes

adr-workflow is a skill published in the GitHub repository ramboz/jig (6 stars, last pushed 4d ago), licensed MIT. It adds 122 tokens to every session and 5,932 once invoked, about $0.0006 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.