knowledge-setup
Knowledge Setup
Bootstrap a cogni-knowledge knowledge base. A knowledge base is one directory that holds both a cogni-wiki (.cogni-wiki/config.json) and a cogni-knowledge binding manifest (.cogni-knowledge/binding.json). The wiki is the substrate; the binding records which research projects have contributed to it.
This skill is a thin orchestrator. It scaffolds the wiki skeleton natively — the wiki engine is vendored under scripts/vendor/cogni-wiki/, so setup dispatches no cogni-wiki:wiki-setup skill. The cogni-knowledge value-add is the binding manifest plus the one-command workflow.
Read ${CLAUDE_PLUGIN_ROOT}/references/differentiation-thesis.md once at the start of a session to anchor on why wiki-first matters; read ${CLAUDE_PLUGIN_ROOT}/references/delegation-contract.md to remember what cogni-knowledge owns vs. delegates.
When to run
- User asks to bootstrap, set up, initialize, or start a knowledge base
- User wants to begin a long-running research area (multiple projects, accumulating findings)
- User explicitly invokes
/cogni-knowledge:knowledge-setup - User wants to re-steer an existing base — the domain sharpened, the audience shifted, a new seed theme appeared — via
--reframe(re-runs the charter interview against the existing binding; no hand-editingbinding.json)
Never run when
- The target directory already has
.cogni-knowledge/binding.json— report the existing binding and stop. Re-initialisation is destructive; surface the existing slug and let the user decide. - The user wants a one-off research report — point them at
cogni-research:research-setupdirectly. cogni-knowledge is opinionated about accumulation; cogni-research stays available as a sibling plugin for one-shot reports.