/knowledge-mcp:kb-ingestfrom knowledge-mcp
Map existing notes or documents into Knowledge Bus definitions and sourced answers, surfacing conflicts and gaps without changing source files.
Ships in knowledge-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose — turn a folder the user no longer trusts into a spec they can trust, with every mapping decision visible and every refusal recorded.
<target>/.knowledge-bus/, apart from confirmed changes to universe specs listed in workspace.yaml (see Separate target folders); never modify existing source files..knowledge-bus/ directory from source discovery. Skip and report nested folders with their own .knowledge-bus/; ingest those separately only when explicitly targeted. When <target>/.knowledge-bus/workspace.yaml lists universe spec ids under from_parent, file answers for those universe specs in <target>/.knowledge-bus/. Propose changes to those universe specs as changes in the parent folder, and write each change only after the user confirms that change.1. Confirm the target folder. Only the source folder is asked for. Output goes to <target>/.knowledge-bus/ by
convention. Inspect that directory if it already exists; the domain phrase is proposed after the survey and confirmed, never requested cold.
2. Survey before reading. Inventory files, dates, and formats; report counts to the user before any deep read. Three staleness marks: contradicted (sources disagree), unconfirmed (older than the corpus's age threshold, nothing disputes it), confirmed (cleared during the interview). Confirmation questions come batched and informed — reason through the whole survey first so the user rules on genuine uncertainty, not on what the corpus already settles. Each states the answer you think likely and why, then asks the user to confirm or correct it.
3. Choose the definitions. Use supplied definitions when they fit. Treat the bundled universes as optional references, not universal lenses. If no set fits, propose an adaptation for review. Structural changes require the user's approval. Use kb-evolve when available; otherwise explain the proposed change and stop.
4. Extract answers. Map each document section to a declared question; one answer per question per party and time. A collision — two docs answering the same question — is never resolved by recency. The older doc may be the forgotten original and the newer a lacking recollection; authority and authorship matter. Surface the collision with its provenance (age gap, authors, what each claims) and put an informed question to the user in the interview. Rulings live in the ingest log, not on answers: each entry records the collision, the ruling, who ruled, and the reasoning. Answers stay clean; a collision the user declines to rule is filed contested.
5. Refuse honestly. Content answering no declared question is flagged, never forced into a near-fit; core questions with no answer are listed as gaps. State each gap's reason only as strongly as the evidence supports, such as 'no note says…' rather than 'there is no rule'.
Refusals repeating on one theme signal a missing question — offer structural review (kb-evolve if installed) — rather than off-domain content.
6. Write the outputs. The universe (universe.kbp.yaml), optional guidance (type-guidance.kbp.yaml), answers, and the ingest log all go in <target>/.knowledge-bus/. Word each answer, gap and log entry so a reader who never saw the session can act on it; leave out counts and references to the conversation.
Existing source files remain untouched. Answers go in answers.yaml, one record
per answer: element, party, date, status, answer, source, and supersedes where a ruling
displaced something; gaps list element and reason. The shape is fixed; the checker does not yet
validate it.
7. Validate. Follow Checker for Agent Workflows and run the bundled checker with --validate <target>/.knowledge-bus/. Fix or surface every refusal before reporting. Only definition and guidance files are checked; answers and the log require review.
8. Report coverage. One table, contested first — unresolved collisions block trust — then mapped, stale (contradicted or merely unconfirmed), refused, gaps. Each class names its ask: rule it; spot-check; confirm or retire; accept as off-domain or review a proposed new question; answer, or record what an honest empty means.
LICENSE (opens in a new tab)generated.json (opens in a new tab)references/agent-runtime.md (opens in a new tab)references/codebase-recordkeeping/type-guidance.kbp.yaml (opens in a new tab)references/codebase-recordkeeping/universe.kbp.yaml (opens in a new tab)references/knowledge-bus-directory.md (opens in a new tab)references/knowledge-bus-protocol.yaml (opens in a new tab)references/product-development/type-guidance.kbp.yaml (opens in a new tab)references/product-development/universe.kbp.yaml (opens in a new tab)runtime/kbp.py (opens in a new tab)runtime/knowledge_bus-0.10.0-py3-none-any.whl (opens in a new tab)runtime/requirements.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sterlingjf/knowledge-mcp --plugin knowledge-mcp9 skills in this plugin
/kb-checkValidate Knowledge Bus definitions and guidance after edits, and explain each failure and its fix./kb-evolveAdd or re-examine document types and the definitions around them — frames, factors, guidance, overview, terms — in a Knowledge Bus universe spec, grounding changes in evidence./kb-exploreInspect or explain a Knowledge Bus universe (a spec or set of definitions): what it covers and for whom; optionally create or open its offline Explorer./kb-import-documentUse when the person brings in notes, a transcript or a document written elsewhere, to work it into their non-code files or import it as a new document./kb-track-document-typesUse at session start, to orient ("what is this folder", "where do I start"), and after creating, moving or deleting any non-code file./kb-uncover-decisionRecover a decision's alternatives, constraints, authority, and reversal conditions when its record lacks context.