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.
npx skills add olegvg/olegvg-skills --skill kb-record-decisiongit clone --depth 1 https://github.com/olegvg/olegvg-skillsWrote 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/olegvg/olegvg-skills/kb-record-decision)<a href="https://agentmods.dev/skills/olegvg/olegvg-skills/kb-record-decision"><img src="https://agentmods.dev/badge/skills/olegvg/olegvg-skills/kb-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/olegvg/olegvg-skills/kb-record-decision"><img src="https://agentmods.dev/badge/skills/olegvg/olegvg-skills/kb-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.00072 | $0.01561 |
| Opus 5.5 | $0.00029 | $0.00624 |
| Sonnet 5.5 | $0.00014 | $0.00312 |
| Haiku 4.5 | $0.00007 | $0.00156 |
Grade A, and why
kb-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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kb-record-decision — Record Shipped Decisions from Completed Plans
When to use
A plan in docs/plans/<timestamp>/plan-<slug>.md (or similar) is complete — the work shipped, the checklist is ticked, the code reflects the decisions made. The user wants the durable choices preserved in the KB without carrying the operational noise of the plan itself.
Manual, on-demand. Never automatic. Never invoked by build.
Input
- Plan path — path to a completed plan file or its containing directory. If missing, ask.
Output
- One decision record at
.kb/decisions/<YYYY-MM-slug>.md. That is the only file this skill writes. - The source plan is left untouched. Never modify
docs/plans/. - The summaries listed in the record's
## Affected areasblock are not edited — they remain the agent's view of the present, the decision-record carries the link to them, not the other way around.kb-queryreaches a decision via that backreference (rg -l -F -g '*.md' -- "<summary-path>" .kb/decisions/).
Workflow
1. Read the plan
Read <plan-path>. If a sibling checklist-*.md exists, read that too. Extract:
- What problem the plan was solving.
- What decision was made.
- What alternatives were considered and rejected.
- Which parts of the codebase / KB the decision affects.
For plans larger than ~1500 lines, do not read the whole file — see references/large-plan-strategy.md.
2. Confirm the plan is complete
Before recording, verify:
- Checklist items are all ticked (if a checklist exists):
grep -c '^- \[ \]' <checklist-path>returns 0. - Git log shows commits implementing the plan have landed.
If neither holds, stop. See references/failure-modes.md for the "plan not yet complete" path.
3. Draft the decision record
Use the shape and field rules in references/decision-template.md. Required fields:
- Date —
YYYY-MMonly. - Slug —
kebab-case, derived from the plan filename. - Decision — one or two sentences.
- Context — 2–5 sentences.
- Alternatives considered — one line per rejection.
- Consequences — what changes.
- Affected areas —
.kb/summaries/<area>/<leaf>.mdpaths this decision shapes. This list is the only linkage between the record and the summaries it affects. - Source plan — path to the original plan.
What ships with it
3 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.
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.
- 11d ago Changed 836ca15bb38b
- 12d ago Changed 8e50b12120ee
- 3mo ago First seen · 124 lines · 72 tokens per session scan A 423cb6f10979
kb-record-decision is a skill published in the GitHub repository olegvg/olegvg-skills (10 stars, last pushed 12d ago), licensed MIT. It adds 72 tokens to every session and 1,561 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-08-31.
kb-record-decision compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kb-record-decisionolegvg/olegvg-skills | Skill | 10 | 12d ago | MIT | A | 72 | Claude Code |
| engram-digesttechtheist/engram | Skill | 37 | 14d ago | MIT | A | 98 | Claude Code |
| engram-sleeptechtheist/engram | Skill | 37 | 14d ago | MIT | A | 114 | Claude Code |
| engramtechtheist/engram | Skill | 37 | 14d ago | MIT | A | 78 | Claude Code |
| thoughtline-memoryAgusLoza2021/Thoughtline | Skill | 4 | 9d ago | MIT | A | 40 | Claude Code |
| bootstrap-llm-synthesisdigipulse-engineering/GAAI-framework | Skill | 164 | 13d ago | none | A | 69 | Claude Code, Codex |
| memory-delta-triagedigipulse-engineering/GAAI-framework | Skill | 164 | 13d ago | none | A | 58 | Claude Code, Codex |