$npx -y skills add stjbrown/agent-knowledge --skill kbPortable 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; an
| 1 | # kb — bundles |
| 2 | |
| 3 | **Hub** for the `kb-*` family: vocabulary, shared reference, routing. Knowledge **compounds** — |
| 4 | compiled once, kept current, not re-derived per query. Does not modify a bundle — routes to the |
| 5 | skill that does. |
| 6 | |
| 7 | ## Key terms |
| 8 | |
| 9 | [reference/glossary.md](reference/glossary.md) defines the vocabulary. Minimum before routing: |
| 10 | **Bundle**, **Ingest**, **Progressive disclosure**, **Trust model** (see |
| 11 | [trust-model.md](reference/trust-model.md)). |
| 12 | |
| 13 | ## The one hard rule |
| 14 | |
| 15 | A bundle is **conformant** iff every non-reserved `.md` file has parseable YAML frontmatter with a |
| 16 | non-empty `type`. Everything else is soft guidance — consumers MUST tolerate missing optional fields, |
| 17 | unknown types, and broken links. Never reject a bundle over them. Full rules: |
| 18 | [reference/SPEC.md](reference/SPEC.md) §9. |
| 19 | |
| 20 | ## Route to the right skill |
| 21 | |
| 22 | | The user wants to… | Use | |
| 23 | |---|---| |
| 24 | | Start a new bundle | [`kb-init`](../kb-init/SKILL.md) | |
| 25 | | Capture, ingest, file, or process a source (note, transcript, PDF, image, URL) | [`kb-ingest`](../kb-ingest/SKILL.md) | |
| 26 | | Ask what the bundle knows; look something up; explore connections | [`kb-query`](../kb-query/SKILL.md) | |
| 27 | | Health-check the bundle (**drift**, orphans, contradictions, conformance) | [`kb-lint`](../kb-lint/SKILL.md) | |
| 28 | | See the bundle as a graph | [`kb-visualize`](../kb-visualize/SKILL.md) | |
| 29 | |
| 30 | If a `knowledge/` bundle exists and would inform the current task, consult it via |
| 31 | [`kb-query`](../kb-query/SKILL.md) before answering from scratch — even when the user didn't ask an |
| 32 | explicit knowledge question. |
| 33 | |
| 34 | ## Shared reference (single source of truth) |
| 35 | |
| 36 | Every `kb-*` skill reads these rather than restating them, so the family stays consistent: |
| 37 | |
| 38 | - [reference/SPEC.md](reference/SPEC.md) — OKF v0.1, vendored verbatim. |
| 39 | - [reference/glossary.md](reference/glossary.md) — leading words and definitions. |
| 40 | - [reference/trust-model.md](reference/trust-model.md) — the maintenance rules. |
| 41 | - [templates/](templates/) — `concept.md`, `index.md`, `log.md` starters. |
| 42 | - [example-bundle/](example-bundle/) — a tiny conformant bundle: a worked example, and the seed |
| 43 | `kb-init` copies from. |