wiki-setup
Installation
SKILL.md
Wiki Setup
Bootstrap a fresh LLM wiki at a directory the user chooses. After this skill runs the directory is self-describing: future invocations of any wiki-* skill can detect the wiki by the presence of .cogni-wiki/config.json and operate on it without further configuration.
Read ${CLAUDE_PLUGIN_ROOT}/references/karpathy-pattern.md once before proceeding — it defines the three-layer model (raw sources / wiki / schema) that every decision below depends on.
When to run
- User explicitly asks to create, initialize, set up, bootstrap, or start a wiki
- Another
wiki-*skill is invoked in a directory that has no.cogni-wiki/config.json— offer to run setup first, then hand control back - User wants a second wiki for a different domain (each wiki is a separate directory)
Never run when
- The target directory already contains
.cogni-wiki/config.json— report the existing wiki instead and ask if the user wants to operate on it - The target directory contains non-empty
raw/orwiki/dirs from a different knowledge system — stop and ask rather than overwriting