docs-adr

docs-adr is a skill for Claude Code from mgiovani/cc-arsenal. It costs 96 tokens per session (1,457 once invoked), scanned A, original, MIT.

A skill for creating numbered Architecture Decision Records, or ADRs. An ADR is a short document explaining a technical decision, its context, the alternatives considered, and its consequences.

In plain words
What is it for?
Use it to document a confirmed architectural choice after checking that the technologies, files, and code patterns mentioned are actually present in the project.
Why use it?
It preserves why a software decision was made, so future developers can understand it without reconstructing the discussion.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: agent in frontmatter.

Part of the cc-arsenal-docs plugin — 6 skills shipped together , and of cc-arsenal

Good fit Use it to document a confirmed architectural choice after checking that the technologies, files, and code patterns mentioned are actually present in the project.

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

Made for: Claude Code.

Or install cc-arsenal-docs, the plugin that ships this one along with the rest of its 6 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 docs-adr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/docs-adr"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/docs-adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,457 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.00096 $0.01457
Opus 5.5 $0.00038 $0.00583
Sonnet 5.5 $0.00019 $0.00291
Haiku 4.5 $0.00010 $0.00146

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

Security

Grade A, and why

docs-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 1mo 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/docs-adr/SKILL.md · 139 lines

How it starts

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

Create Architecture Decision Record

Create a new Architecture Decision Record (ADR) documenting an architectural decision.

Anti-hallucination guidelines

ADRs document real decisions about real code: every claim in the ADR must be verifiable in the repo, not assumed. Before writing:

  1. Verify the technology exists: if the ADR mentions "Redis", confirm Redis is actually used somewhere in the codebase.
  2. Reference actual files: grep/glob to find real file paths, never invent one.
  3. Quote real code: if citing a pattern, find an actual example of it.
  4. Check current state: the Context section must reflect verified reality, not a plausible-sounding guess.

Workflow

Phase 1: Parse Arguments

  1. Extract the decision title from the command arguments. If no title was given, stop here and ask the user for one (and optionally which variant): don't invent a placeholder title or proceed to the later phases.
  2. Check for a variant keyword as the leading token: lightweight, full, or nygard. A matching word inside the title itself (e.g. "Full-Text Search") is not a variant keyword, only strip it when it's a standalone token preceding the title.
  3. If a variant keyword is found, strip it from the title.
  4. Default variant: nygard.

Phase 2: Determine ADR Number

  • Scan docs/adr/ for files matching XXXX-*.
  • Find the highest existing number and increment by 1 (start at 0001 if none exist).
  • Format as a 4-digit zero-padded number (e.g. 0001, 0023).

Phase 3: Sanitize Title for Filename

Convert the title to kebab-case, lowercase, special characters stripped. Example: "Use Redis for Caching" -> use-redis-for-caching.

Phase 4: Gather Context

Use the Task tool with the Explore agent, when available, to search the codebase for the decision topic: current implementation (if any), related config files, dependencies involved, and existing documentation. Ask it to return verified file paths and relevant snippets, not summaries it can't back up.

Read the full file on GitHub · 139 lines

Files

What ships with it

5 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. 1mo ago Changed · -1 lines 8245d04dd64c
  2. 2mo ago Changed 1a17b09abb29
  3. 2mo ago Changed · +1 lines a9b2c271332f
  4. 3mo ago First seen · 139 lines · 96 tokens per session scan A 3ee87b2e952d

Subscribe to this mod's changes

docs-adr is a skill published in the GitHub repository mgiovani/cc-arsenal (8 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 1,457 once invoked, about $0.0004 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-31.

Related

docs-adr compared with skills from other repositories

docs-adr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-adrmgiovani/cc-arsenalSkill81mo agoMITA96Claude Code
agent-qa-evidencedarkrishabh/agent-skills-evalSkill82116d agoMITA28Claude Code, Codex
basic-skilldarkrishabh/agent-skills-evalSkill82116d agoMITA17Claude Code, Codex
trace-and-isolaterohitg00/skillkitSkill1.6k6mo agoApache-2.0A120Claude Code, Codex
testing-anti-patternsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A95Claude Code, Codex
handoff-protocolsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A116Claude Code, Codex
parallel-investigationrohitg00/skillkitSkill1.6k6mo agoApache-2.0A97Claude Code, Codex