record-decision

record-decision is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 92 tokens per session (1,971 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.

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 — 12 skills 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 12 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 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 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,971 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.00092 $0.01971
Opus 5.5 $0.00037 $0.00788
Sonnet 5.5 $0.00018 $0.00394
Haiku 4.5 $0.00009 $0.00197

Measured yesterday against content hash 577044e2de6a, 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 yesterday.

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 · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 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.

  • Pointer: when deciding how much of a command's output reaches context, fetch tools reference § Output limits live. As of: 2026-10-11. Recheck trigger: that section changes how much of a valid result reaches context inline.

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

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, and the single write. Where no convention exists it reports what it searched, offers common shapes, and defers to the human rather than inventing one.

Input contract

The decision comes from $ARGUMENTS and the conversation. A file path the user names is read verbatim. This skill never reads design-threads.md, PLAN.md, or any other planning artifact on its own; those formats belong to the planning capability, and callers pass the decision and its rationale in the invocation text. When context, decision, or consequences are missing, ask for them. Never invent them.

Read the full file on GitHub · 156 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. yesterday Changed · -2 tokens per session 577044e2de6a
  2. 3d ago Changed · +10 lines 9841ed40ead8
  3. 4d ago Changed · +1 lines 8545286bad9f
  4. 13d ago Changed · +2 lines 965d06d44c79
  5. 16d ago Changed · -41 tokens per session 8de6fbce9b55
  6. 1mo ago First seen · 143 lines · 135 tokens per session scan A 9adafdbbf2a7

Subscribe to this mod's changes

record-decision is a skill published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 1,971 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-09-07.

Related

Other skills, from other repositories

documentation-writer

Write and review systemprompt.io documentation to the highest standard. Research-first workflow with per-doc reports, consistent structure enforcement, terminology compliance, code example validation, and quality gate aligned with documentation-optimiser audit. Load identity and brand-voice first.

systempromptio/systemprompt-marketplace · 54 tokens

factsheet-design

Print design system for systemprompt.io PDF factsheets and one-pagers. Light branded containers (never dark glassmorphism), print token table, sp-card asymmetric corners in points, full-width SVG diagram rules, WeasyPrint constraints, and the two-page budget discipline. Load before creating or editing any factsheet…

systempromptio/systemprompt-marketplace · 76 tokens

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

parallel-worker

Execute focused implementation tasks in a parallel workflow. Use when: working on assigned files in a worktree, making checkpoint commits, signaling dependencies or blockers, completing orchestrator-assigned tasks. Triggers: worker, checkpoint, worktree, assigned scope, commit prefix, parallel task.

jimmc414/claude-code-plugin-marketplace · 59 tokens

optimize-local-search

For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).

jimmc414/claude-code-plugin-marketplace · 31 tokens

pass-function-as-arg

For generic algorithms: strategy pattern, callbacks, configurable behavior. Pass functions as parameters to customize algorithm behavior.

jimmc414/claude-code-plugin-marketplace · 27 tokens