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 stjbrown/agent-knowledge --skill kbgit clone --depth 1 https://github.com/stjbrown/agent-knowledgeWrote 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/stjbrown/agent-knowledge/kb)<a href="https://agentmods.dev/skills/stjbrown/agent-knowledge/kb"><img src="https://agentmods.dev/badge/skills/stjbrown/agent-knowledge/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.
<a href="https://agentmods.dev/skills/stjbrown/agent-knowledge/kb"><img src="https://agentmods.dev/badge/skills/stjbrown/agent-knowledge/kb.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.00082 | $0.00846 |
| Opus 5.5 | $0.00033 | $0.00338 |
| Sonnet 5.5 | $0.00016 | $0.00169 |
| Haiku 4.5 | $0.00008 | $0.00085 |
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.
How it starts
The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kb — bundles
Hub for the kb-* family: vocabulary, shared reference, routing. Knowledge compounds —
compiled once, kept current, not re-derived per query. Does not modify a bundle — routes to the
skill that does.
Key terms
references/glossary.md defines the vocabulary. Minimum before routing: Bundle, Ingest, Progressive disclosure, Trust model (see trust-model.md).
The one hard rule
A bundle is conformant iff every non-reserved .md file has parseable YAML frontmatter with a
non-empty type. Everything else is soft guidance — consumers MUST tolerate missing optional fields,
unknown types, and broken links. Never reject a bundle over them. Full rules:
references/SPEC.md §11.
The domain portion of spec/types.md is a living, producer-chosen vocabulary, not a validation
enum. Keep the workflow conventions Reference and Spec Section; start the domain types small
and evolve them through kb-ingest or
kb-document when the domain reveals a durable new kind of entity. Use
kb-lint to detect schema drift.
Route to the right skill
| The user wants to… | Use |
|---|---|
| Start a new bundle | kb-init |
| Capture, ingest, file, or process a source (note, transcript, PDF, image, URL) | kb-ingest |
| Document a repository, explain its architecture/workflows, or refresh knowledge after code changes | kb-document |
| Ask what the bundle knows; look something up; explore connections | kb-query |
| Health-check the bundle (drift, orphans, contradictions, conformance) | kb-lint |
| See the bundle as a graph | kb-visualize |
If a knowledge/ bundle exists and would inform the current task, consult it via
kb-query before answering from scratch — even when the user didn't ask an
explicit knowledge question.
What ships with it
14 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.
- example-bundle/concepts/customers.md 617 B
- example-bundle/concepts/orders.md 802 B
- example-bundle/index.md 759 B
- example-bundle/log.md 296 B
- example-bundle/references/sample_sales_data.md 638 B
- example-bundle/spec/conventions.md 1.4 KB
- example-bundle/spec/types.md 1021 B
- references/glossary.md 4.3 KB
- references/SPEC.md 37 KB
- references/trust-model.md 6.0 KB
- references/version-profile.md 6.5 KB
- templates/concept.md 1.4 KB
- templates/index.md 467 B
- templates/log.md 435 B
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.
- 1mo ago First seen · 65 lines · 82 tokens per session scan A faff64f014d1
kb is a skill published in the GitHub repository stjbrown/agent-knowledge (41 stars, last pushed 2mo ago), licensed MIT. It adds 82 tokens to every session and 846 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-30.
Other skills, from other repositories
openlore
Query and publish to an OpenLore knowledge repository over SSH using ordinary shell commands. Use when a task needs project documentation, runbooks, shared team knowledge, or a place to publish findings.
openlore-housekeeping
Audit and maintain a shared OpenLore knowledge repository. Use on a schedule or on request to find stale docs, broken links, unreviewed inbox items, and missing skill coverage, then publish an audit report.
wegent-knowledge
Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.
llm-wiki
Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).
mindbase
Maintain a persistent AI-tended research wiki. Activates when the user wants to ingest a source (PDF, URL, article, paste), capture a thought, build the wiki context, query what's already known, lint for orphans/contradictions, or maintain page conventions. Phrases include "add this to my wiki", "today I decided…"…
okf-pro
Operating rules for the .okf/ knowledge bundle — filing new concepts, the board, the journal, the daily snapshot, closing work, source attribution, and the generated/verified attestation policy. Use before reading from or writing anything into .okf/.