record-decision

record-decision is a skill for Claude Code 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 Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it after choosing an architecture, library, convention, or trade-off that future contributors need to understand.

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

Made for: Claude Code.

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/github.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/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/mhashim6/kauri/record-decision"><img src="https://agentmods.dev/badge/skills/mhashim6/kauri/record-decision.svg" alt="Reviewed on agentmods" width="80" 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. 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.00032 $0.00415
Opus 5.5 $0.00013 $0.00166
Sonnet 5.5 $0.00006 $0.00083
Haiku 4.5 $0.00003 $0.00042

Measured 1mo ago against content hash 432e8cab65f7, 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 1mo 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. 1mo 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 6mo ago), licensed MIT. It adds 32 tokens to every session and 415 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

agent-state-bar

A design guide for an agent status bar: a short, automatically updated summary of progress, remaining tasks, tool counts, errors, and system state placed near the latest model input.

bojieli/ai-agent-book · 105 tokens

context-engineering

A guide to organizing the instructions and information an AI agent receives at each step. It covers system prompts, tool descriptions, conversation history, on-demand skills, and protections against unsafe outside content.

bojieli/ai-agent-book · 96 tokens

kv-cache-design

A guide to arranging an AI agent's conversation so previously processed text can be reused. A KV cache stores intermediate results for earlier tokens, while a prompt cache reuses a stable beginning across requests.

bojieli/ai-agent-book · 91 tokens

agent-evaluation

A guide to measuring whether an AI agent works reliably on the tasks that matter. It covers repeatable test environments, program checks, human-like scoring rules, failure analysis, and experiments that separate model problems from system problems.

bojieli/ai-agent-book · 133 tokens

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

post-training-strategy

A guide to choosing and planning ways to improve an AI model after its initial training. It explains when to add knowledge, teach a response format, use trial-and-error training, or use a smaller model to learn from a larger one.

bojieli/ai-agent-book · 159 tokens