plan-kb

plan-kb is a skill for Claude Code, Codex from hraness/wrench. It costs 64 tokens per session (1,311 once invoked), scanned A, original, MIT.

A planning tool that keeps an implementation plan as a Markdown document inside a knowledge-base folder.

In plain words
What is it for?
Use it for implementation plans, proposals, technical design documents, migrations, phased checklists, and audits of completed work.
Why use it?
It helps preserve decisions, progress, review notes, and verification evidence so the plan remains useful during and after the work.

Skill for Claude CodeCodex

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/hraness/wrench/plan-kb
Any agent
npx skills add hraness/wrench --skill plan-kb
Clone the repo
git clone --depth 1 https://github.com/hraness/wrench

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 plan-kb

README.md
[![agentmods](https://agentmods.dev/badge/skills/hraness/wrench/plan-kb.svg)](https://agentmods.dev/skills/hraness/wrench/plan-kb)
Your own site
<a href="https://agentmods.dev/skills/hraness/wrench/plan-kb"><img src="https://agentmods.dev/badge/skills/hraness/wrench/plan-kb.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,311 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.00064 $0.01311
Opus 5 $0.00032 $0.00656
Sonnet 5 $0.00013 $0.00262
Haiku 4.5 $0.00006 $0.00131

Measured 3d ago against content hash e2f15e174c91, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-kb 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • plan-kb — 100% identical, 0 lines differ
  • plan-kb — 100% identical, 0 lines differ
.agents/skills/plan-kb/SKILL.md · 123 lines

How it starts

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

Write a durable plan

Keep the plan useful before, during, and after execution. It is the coordination record, not a disposable answer or a duplicate task tracker.

Find the plan's owner

  1. Resolve <vault> to the directory containing its authored or managed index.md front door, then set the shell-local KB_ROOT to that path (KB_ROOT=kb from a typical repository root, or KB_ROOT=. from inside the vault). Read the vault's AGENTS.md and the nearest guide under <vault>/plans/. Pass that resolved root to every command; do not assume the starting directory is the vault.
  2. When the plan owns a repository path, resolve the repository root as KB_REPO and load that path's current memory before a whole-vault search:
kb context "<repository-path>" --root "$KB_ROOT" --repo "$KB_REPO"

Use --kind file or --kind directory when an absent future path cannot be classified from the filesystem. Read the inherited guides first, then the applicable maintained knowledge, active plans, dated research, reports, and separate historical-plan group.

  1. Search existing plans before creating one:
kb list --root "$KB_ROOT" --where type=plan --sort area --json
kb search "the intended outcome" --root "$KB_ROOT" --json

If kb is not installed, do not let retrieval tooling block the plan: use rg or the available file search over <vault>/plans/, titles, aliases, and relevant terms. If the directory is not an initialized hraness/kb vault, follow the repository's existing planning convention instead of initializing one without being asked. Semantic search writes only a derived local cache; when that cache location is not writable, use exact search or point XDG_CACHE_HOME at a writable cache directory.

  1. Update an existing plan when it already owns the outcome. Create a new file only for independently executable work.
  2. Use <vault>/plans/<descriptive-kebab-name>.md unless the local guide already groups plans by area. Do not reorganize older plans merely to impose a new tree.

Read the full file on GitHub · 123 lines

Files

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.

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 · 123 lines · 64 tokens per session scan A e2f15e174c91

Subscribe to this mod's changes

plan-kb is a skill published in the GitHub repository hraness/wrench (4 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 1,311 once invoked, about $0.0003 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.