decision-history

decision-history is a skill for Claude Code from shimo4228/claude-harness. It costs 65 tokens per session (3,663 once invoked), scanned A, original, MIT.

A documentation tool that records an important design choice as a dated, past-tense entry in a repository's decision-history folder. This is a written record of why a design was chosen, not a description of the current code alone.

In plain words
What is it for?
Use it when recording a design decision, deciding whether it needs a formal history entry, or capturing a decision found during context synchronisation.
Why use it?
It preserves the reasoning behind decisions so future readers can understand the context, alternatives, and consequences.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it when recording a design decision, deciding whether it needs a formal history entry, or capturing a decision found during context synchronisation.

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

Made for: Claude Code.

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-history

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/decision-history"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/decision-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,663 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.00065 $0.03663
Opus 5.5 $0.00026 $0.01465
Sonnet 5.5 $0.00013 $0.00733
Haiku 4.5 $0.00006 $0.00366

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

Security

Grade A, and why

decision-history 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 22d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/__init__.py, scripts/adr_evidence_common.py, scripts/adr_evidence_paths.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.

skills/decision-history/SKILL.md · 263 lines

How it starts

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

Decision History

Write one dated entry per design decision in docs/decision-history/. An entry records what was decided, why, and what was known on that day, in the past tense. The current design is the thing itself — rules, skills, hooks, tests, code — and the author's current instruction; an entry is read for the history behind it. A new decision may contradict an older entry; the older entry stays as written.

The skill handles the boilerplate (directory detection, sequence numbering, index update) in scripted steps, and the main loop writes the prose.

Why the main loop writes

Deterministic concerns — where the entry goes, what number it gets, which index needs updating — are easy to get wrong silently (number collisions, sub-directory cwd confusion, index drift), so they live in scripted steps. The prose is written by the main loop that holds the decision: rendering to the house template is cheap for it, and the decision packet (Step 3) is the discipline that keeps decide and render apart — the packet is settled first, the file is a faithful expression of it, nothing is inferred while writing. A writer renders a decision; it does not make one. The evidence script (Step 4.5) is the fidelity check.

When to Use (filing conditions — canonical)

Write a new entry only when the decision meets all three:

  • hard to reverse — undoing it means changing other artifacts (skills, rules, hooks, scripts) or public outputs too. Being revertible with git alone does not count as easy: nearly every harness change is git-revertible
  • surprising without context — a future reader would ask "why is it like this?"
  • the result of a real trade-off — chosen between genuine alternatives

"Hard to reverse" is met by most harness changes, so it mainly excludes changes whose effects stay local; "surprising" and "real trade-off" do the filtering.

A decision that changes or reverses an earlier entry is its own entry when it meets the three conditions. Link the earlier entry when it helps the reader (関連する経緯: [0035](./0035-slug.md)); the earlier entry keeps its text, its date and its state as written — the history stays readable in place, and git holds the order.

Read the full file on GitHub · 263 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. 22d ago First seen · 263 lines · 65 tokens per session scan A 8e6a35724ade

Subscribe to this mod's changes

decision-history is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 65 tokens to every session and 3,663 once invoked, about $0.0003 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-11-08.

Related

decision-history compared with skills from other repositories

decision-history next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
decision-historyshimo4228/claude-harnessSkill47d agoMITA65Claude Code
agent-adoption-triageshimo4228/agent-adoption-triageSkill21mo agoMITA143Claude Code
git-commitadongwanai/learn-workbuddySkill5631mo agoMITA0Claude Code, Codex
pi-triagesky-valley/piSkill94yesterdayMITA57Claude Code
pi-parity-reviewsky-valley/piSkill94yesterdayMITA54Claude Code
zodanivar/zod-skillSkill24yesterdayMITA217Claude Code, Codex
trailhead-chartToRvaLDz/trailheadSkill37yesterdayMITA138Claude Code