Kb
Portable OKF knowledge bundle for coding-agent memory and LLM wikis. Use when the user wants to start a wiki, ingest a source, query project knowledge with citations, lint for drift, or visualize connections; whenever a repo has a knowledge/ bundle that should inform the task; and when another kb-* skill needs the shared spec, glossary, templates, or trust model.From its SKILL.md
npx -y skills add stjbrown/agent-knowledge --skill kbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.5 KB, 555 tokens by cl100k_base, as published. Nobody here has run it
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
reference/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:
reference/SPEC.md §9.
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 |
| 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.
Shared reference (single source of truth)
Every kb-* skill reads these rather than restating them, so the family stays consistent:
- reference/SPEC.md — OKF v0.1, vendored verbatim.
- reference/glossary.md — leading words and definitions.
- reference/trust-model.md — the maintenance rules.
- templates/ —
concept.md,index.md,log.mdstarters. - example-bundle/ — a tiny conformant bundle: a worked example, and the seed
kb-initcopies from.
What ships with it: 14 files
61.3 KB alongside SKILL.md
example-bundle/
- concepts/customers.md617 B
- concepts/orders.md802 B
- index.md759 B
- log.md296 B
- references/sample_sales_data.md638 B
- spec/conventions.md1.4 KB
- spec/types.md1021 B
references/
- glossary.md4.3 KB
- SPEC.md36.7 KB
- trust-model.md6.0 KB
- version-profile.md6.5 KB
templates/
- concept.md1.4 KB
- index.md467 B
- log.md435 B