decision-record

decision-record is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 117 tokens per session (2,171 once invoked), scanned A, original, MIT.

A process for recording important software decisions in the repository's existing decision log or specification format. It first detects where that project keeps such records, including formats known as ADRs.

In plain words
What is it for?
Use it before implementing a feature or other meaningful change that needs its reasoning documented; skip it for changes with no behaviour change.
Why use it?
It keeps decisions about behaviour, contracts, data, dependencies, and platforms available for later readers instead of leaving them only in conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before implementing a feature or other meaningful change that needs its reasoning documented; skip it for changes with no behaviour change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/decision-record
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 Arasz/ai-raccoon --skill decision-record
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/decision-record"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/decision-record.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,171 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.00117 $0.02171
Opus 5.5 $0.00047 $0.00868
Sonnet 5.5 $0.00023 $0.00434
Haiku 4.5 $0.00012 $0.00217

Measured yesterday against content hash 8cc2df233ff3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

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

.ai-badger/skills/decision-record/SKILL.md · 159 lines

How it starts

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

decision-record

Writes down a decision in the place this project already keeps decisions. Use the project's own format, never a second one.

Why the project's format, not a good one. A decision written in a format nobody reads gets lost. Examples: an OpenSpec change in a repo whose decisions live in docs/adr/, or a new docs/decisions/ beside an existing log. So detection comes first. Where the record goes is settled by evidence in the tree, not by preference.

When a decision needs a record

Record it when the change:

  • adds a feature or a capability callers can see
  • changes behaviour, a contract, a data format or a default that someone relies on
  • adds or removes a dependency, a tool or a supported platform
  • reverses or narrows an earlier recorded decision (supersede it — do not edit it)

Skip it for a bug fix that restores intended behaviour, a refactor with no behaviour change, docs, formatting or a version bump. When unsure, write the record. A short record costs less than re-litigating the decision later.

Step 1 — Detect

python3 .ai-badger/skills/decision-record/scripts/detect_formats.py . --json

The script reports:

  • mode: adr, spec, combination or none
  • each ADR log: dir, tool, naming (sequence or date), count, the next number (null for a date-named log), the newest record and the index file
  • each spec framework: openspec, spec-kit or kiro, with the folder that marked it
  • which CLIs are on PATH: openspec, specify, adr, log4brains
  • warnings: a marker it could not read, or one that points outside the project. Report each warning to the person. Never write to a path a warning names.

The list of recognised markers lives in the script. Read it there; do not restate it.

An installed CLI is not adoption. A CLI decides how to write into a format the tree already shows. It never decides which format. Do not run openspec init, specify init or adr init, and do not install anything. If a tool would help a project that has none, say so in the record's consequences and leave the choice to the people who own the repo.

Read the full file on GitHub · 159 lines

Files

What ships with it

2 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. yesterday First seen · 159 lines · 117 tokens per session scan A 8cc2df233ff3

Subscribe to this mod's changes

decision-record is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 2,171 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-12-05.

Related

decision-record compared with skills from other repositories

decision-record next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decision-recordArasz/ai-raccoonSkill7todayMITA117Claude Code, Codex
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
cartographer-feedbackBeppeTemp/cartographerSkill74yesterdayApache-2.0A83Claude Code, Codex
cartographer-cliBeppeTemp/cartographerSkill74yesterdayApache-2.0A37Claude Code, Codex
cartographer-kb-doctorBeppeTemp/cartographerSkill74yesterdayApache-2.0A91Claude Code, Codex