knowledge-prefill
Knowledge Prefill
Seed a bound knowledge base with curated foundation: true concept pages so canonical material like Porter's Five Forces, Jobs-to-be-Done, and MECE has a stable target slug from day one. This is the standalone analog of cogni-wiki:wiki-prefill, computed natively on the vendored prefill_foundations.py engine (resolved vendored-first via resolve_wiki_scripts()), so a Karpathy base is prefillable with no cogni-wiki plugin installed. It does not dispatch cogni-wiki:wiki-prefill.
Why this is a deliberate opt-in. knowledge-setup intentionally passes --skip-prefill-prompt to cogni-wiki:wiki-setup — a cogni-knowledge base has its own opinionated domain seeding (the first knowledge-plan → … → knowledge-finalize run seeds the base domain-specifically), and layering the generic canonical foundations on top would clutter it. knowledge-prefill is the native opt-in so a user who skipped foundations at setup time — or who wants the textbook concepts as stable link targets later — can add them without installing cogni-wiki.
Read ${CLAUDE_PLUGIN_ROOT}/references/delegation-contract.md once at the start of a session so you remember the wiki-engine boundary — cogni-knowledge runs the prefill on the vendored engine, it does not dispatch cogni-wiki:wiki-prefill.
When to run
- User explicitly asks to prefill, seed, or pre-load foundations / canonical concepts / consulting frameworks into the bound base
- A base set up with
--skip-prefill-prompt(the cogni-knowledge default) and the user now wants the canonical foundations as stable link targets - An existing base has accumulated duplicate pages for canonical material and the user wants to establish the foundation slugs
Never run when
- The target directory has no
.cogni-knowledge/binding.json— offerknowledge-setupinstead. - The user wants to add a single non-canonical concept — route that to
knowledge-ingest-source(one source into the base), or, for a full topic, to the inverted pipeline (knowledge-plan); foundations are reserved for textbook material that needs no per-base synthesis.