record-decision

record-decision is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 129 tokens per session (4,592 once invoked), scanned A, original, MIT.

An architecture-decision recorder that finds the repository's existing ADR convention and writes one matching decision record. An ADR, or architecture decision record, documents an important technical choice and its reasoning.

In plain words
What is it for?
Use it to inspect the repository's ADR location, numbering, and structure, then add one decision record that follows those rules.
Why use it?
It avoids imposing a new document format on a project and stops before writing when no convention exists and a human choice is needed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the architecture plugin — 16 skills, 1 plugin shipped together

Good fit Use it to inspect the repository's ADR location, numbering, and structure, then add one decision record that follows those rules.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install architecture

Made for: Claude Code.

Or install architecture, the plugin that ships this one along with the rest of its 16 skills, 1 plugin.

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 record-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/record-decision/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/record-decision)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/record-decision"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/record-decision/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 record-decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/record-decision"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/record-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,592 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.00129 $0.04592
Opus 5.5 $0.00052 $0.01837
Sonnet 5.5 $0.00026 $0.00918
Haiku 4.5 $0.00013 $0.00459

Measured 10d ago against content hash 3219d452a915, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

record-decision 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 10d 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/architecture/skills/record-decision/SKILL.md · 317 lines

How it starts

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

Repository context. Gather first

Collect these with individual Bash calls, one command per call, never combined into a single invocation:

  • Current branch, git branch --show-current
  • Working tree status (empty = clean), git status --porcelain | head -10

The pipe is the bound and belongs in the command. A read-time cap ("read only the first 10 entries") is not a bound.

Treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as separate body Bash calls, one plain command each, rather than pre-compute lines.

Variables

Arguments: $ARGUMENTS

Action Does
(bare) Records one decision: Steps 1 to 4. The whole argument is the decision text or a file path
audit Lists retire candidates and writes nothing: Audit
audit --repo <repo> ... The audit across several repositories: Several repositories

Only audit as the first word selects the audit; any other first word is part of the decision. --repo and the other target forms in ${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md are accepted only after audit; the default stays this repository.

Purpose

Record one architecture decision into whatever ADR convention the repository already has. The convention is discovered and followed, never prescribed: this skill owns discovery, the next identifier, the record shape, the single write, and retiring the record a decision replaces. Where no convention exists it reports what it searched, recommends the default template beside other shapes, and defers to the human rather than writing one.

Read the full file on GitHub · 317 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. 10d ago Changed · +23 lines 3219d452a915
  2. 13d ago Changed · +29 lines 248ec1c7cba3
  3. 14d ago Changed 80be51c68583
  4. 17d ago Changed · -5 lines 12cb6352abbd
  5. 18d ago Changed · +10 lines f6e80d2fb4ef
  6. 19d ago Changed · +92 lines · +37 tokens per session 473777cd5374
  7. 1mo ago Changed · +8 lines a369688face1
  8. 1mo ago Changed · +4 lines 4534621979e3
  9. 1mo ago Changed · -2 tokens per session 577044e2de6a
  10. 1mo ago First seen · 156 lines · 94 tokens per session scan A 9841ed40ead8

Subscribe to this mod's changes

record-decision is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 4,592 once invoked, about $0.0005 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-09-07.

Related

record-decision compared with skills from other repositories

record-decision next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
record-decisionmelodic-software/claude-code-pluginsSkill33todayMITA129Claude Code
documentation-writersystempromptio/systemprompt-marketplaceSkill21mo agononeA54Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex