kb

kb is a skill for Codex from hraness/kb. It costs 155 tokens per session (1,250 once invoked), scanned A, original, MIT.

A local-first Markdown knowledge base for storing and retrieving coding-agent memory. Markdown is plain text formatted for readable documents, and a knowledge base is an organized collection of such notes.

In plain words
What is it for?
Use it to search or query a knowledge base or Obsidian vault, load repository context, find related notes, or save and archive web content.
Why use it?
It keeps project context, decisions, plans, links, and code history inspectable in files and version control. This makes past reasoning easier to find and reuse.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it to search or query a knowledge base or Obsidian vault, load repository context, find related notes, or save and archive web content.

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

Made for: 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 kb

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hraness/kb/kb"><img src="https://agentmods.dev/badge/skills/hraness/kb/kb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00155 $0.01250
Opus 5.5 $0.00062 $0.00500
Sonnet 5.5 $0.00031 $0.00250
Haiku 4.5 $0.00015 $0.00125

Measured 1mo ago against content hash e10f0d45933b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

skills/kb/SKILL.md · 92 lines

How it starts

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

Work with KB

Use hraness/kb to preserve and retrieve inspectable agent memory in Markdown and Git. Select the smallest workflow that matches the request, then load only its references.

Route the request

Route the request before discovering, installing, or running the CLI. A setup, evolution, or custom-ritual request begins with read-only inspection and an approved proposal; it does not require a runtime merely because this skill was selected.

User intent Read
Design, set up, or evolve a KB; choose its boundaries and conventions; or define a recurring KB ritual Customize a KB setup; add Companion skill contracts only when the proposal includes a new or revised skill
Recover work from an earlier session, find notes, search one vault or an authorized portfolio, load repository-path context, inspect plans or decisions, follow backlinks or relationships, audit vault organization, or retrieve Git provenance Query the knowledge base
Save, clip, scrape, or archive a URL, article, social post or thread, GitHub or Discourse discussion, signed-in page, feed, inbox, private document, WhatsApp conversation, or YouTube page Capture web content; add browser authentication for signed-in sources and platform routing when route choice or completeness matters
Import, extract, archive, OCR, or convert a local or public PDF into Markdown Save a PDF; add PDF image review for scans, screenshots, conversations, charts, or mixed media
Create or update an implementation plan, proposal, RFC, migration plan, execution audit, or phased checklist in the vault Write a durable plan and use its structure
Review recurring ideas, promote concepts, or add and verify typed relationships Percolate concepts and relationships
Refresh or validate the catalog, graph, attachments, repository scopes, context mappings, or overall vault health Refresh and check the knowledge base

Read the full file on GitHub · 92 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. 1mo ago Changed e10f0d45933b
  2. 1mo ago Changed 0832fdc7f748
  3. 1mo ago Changed · +9 lines · +22 tokens per session 317a0849b017
  4. 1mo ago First seen · 83 lines · 133 tokens per session scan A 75d9ee17e916

Subscribe to this mod's changes

kb is a skill published in the GitHub repository hraness/kb (13 stars, last pushed 1mo ago), licensed MIT. It adds 155 tokens to every session and 1,250 once invoked, about $0.0006 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-30.