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.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install architectureWrote 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.
[](https://agentmods.dev/skills/melodic-software/claude-code-plugins/record-decision)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
- Pointer: when deciding whether a git command can run as a pre-compute line or in a worktree-isolated session, fetch skills § How injected commands run and worktrees § How Claude Code enforces isolation live. As of: 2026-10-11. Recheck trigger: either section changes how a skill's injected commands run or which command shapes an isolated session refuses.
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.
What ships with it
10 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.
- evals/evals.json 13 KB
- evals/fixtures/existing-convention/docs/adr/0001-use-postgres-for-the-primary-store.md 669 B
- evals/fixtures/existing-convention/docs/adr/0002-serve-the-api-behind-a-single-gateway.md 802 B
- evals/fixtures/existing-convention/docs/adr/0003-adopt-structured-json-logging.md 688 B
- evals/fixtures/existing-convention/docs/adr/README.md 532 B
- evals/fixtures/inferred-shape/docs/decisions/ADR-007-cache-session-tokens-in-redis.md 445 B
- evals/fixtures/inferred-shape/docs/decisions/ADR-008-batch-outbound-webhooks.md 433 B
- evals/fixtures/inferred-shape/docs/decisions/ADR-008-pin-the-node-runtime-to-lts.md 425 B
- evals/fixtures/no-convention/docs/README.md 297 B
- evals/fixtures/no-convention/src/notes.md 331 B
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.
- yesterday Changed · -2 tokens per session 577044e2de6a
- 3d ago Changed · +10 lines 9841ed40ead8
- 4d ago Changed · +1 lines 8545286bad9f
- 13d ago Changed · +2 lines 965d06d44c79
- 16d ago Changed · -41 tokens per session 8de6fbce9b55
- 1mo ago First seen · 143 lines · 135 tokens per session scan A 9adafdbbf2a7
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.
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.
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…
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…
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.
optimize-local-search
For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).
pass-function-as-arg
For generic algorithms: strategy pattern, callbacks, configurable behavior. Pass functions as parameters to customize algorithm behavior.