record-decision

record-decision is a skill for Claude Code, Codex from mhashim6/kauri. It costs 32 tokens per session (415 once invoked), scanned A, original, MIT.

A workflow for recording an important project decision in Kauri, including its reasoning, tags, related decisions, and affected files.

In plain words
What is it for?
Use it after choosing an architecture, library, convention, or trade-off that future contributors need to understand.
Why use it?
It preserves why an architectural or design choice was made and checks for duplicate decisions before adding a new record.

Skill for Claude CodeCodex

Part of the kauri plugin — 5 skills, 2 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/mhashim6/kauri/record-decision
Any agent
npx skills add mhashim6/kauri --skill record-decision
Clone the repo
git clone --depth 1 https://github.com/mhashim6/kauri

Made for: Claude Code, Codex.

Or install kauri, the plugin that ships this one along with the rest of its 5 skills, 2 hooks, 1 MCP server.

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/mhashim6/kauri/record-decision.svg)](https://agentmods.dev/skills/mhashim6/kauri/record-decision)
Your own site
<a href="https://agentmods.dev/skills/mhashim6/kauri/record-decision"><img src="https://agentmods.dev/badge/skills/mhashim6/kauri/record-decision.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.00415
Opus 5 $0.00016 $0.00208
Sonnet 5 $0.00006 $0.00083
Haiku 4.5 $0.00003 $0.00042

Measured 3d ago against content hash 432e8cab65f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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/claude-code/skills/record-decision/SKILL.md · 43 lines

What it actually says

Record a Decision

You are recording a project decision using Kauri. The decision should be a deliberate choice with rationale — not a trivial implementation detail.

Before recording

  1. Check the existing taxonomy: use kauri_taxonomy_list to see available tags.
  2. Check for existing related decisions: use kauri_query with a text search to avoid duplicates.

Recording the decision

Use kauri_record with:

  • title: A short, scannable title (the user provided: "$ARGUMENTS")
  • body: The full rationale in markdown. Include:
    • What was decided
    • Why this option was chosen over alternatives
    • Any constraints or trade-offs involved
  • tags: One or more tags from the taxonomy. If nothing fits, use allow_new_tags: true.
  • files: Any file paths this decision relates to (optional but valuable for staleness detection).
  • links: IDs of related decisions (optional — creates bidirectional "see also" links).
  • source: agent:claude-code
  • scope: project (default). Use user only if the user explicitly asks for a personal/cross-project decision.

When NOT to record

  • Trivial implementation details (variable names, formatting)
  • Temporary workarounds intended to be removed immediately
  • Facts or observations (decisions are choices, not notes)

After recording

Confirm the record was created and show the user the ID and title.

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. 3d ago First seen · 43 lines · 32 tokens per session scan A 432e8cab65f7

Subscribe to this mod's changes

record-decision is a skill published in the GitHub repository mhashim6/kauri (5 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 415 once invoked, about $0.0002 per session on Opus 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.