Folder structure
Every wiki lands on the same shape on disk: three zones plus two config files and an index at the root. Folder names are yours to choose at setup; the machinery underneath stays the same.
Folder names are chosen at setup
Section titled “Folder names are chosen at setup”The diagram uses one example naming scheme. The names of the entry points and knowledge folders are yours to pick during /setup-wiki; nothing in the commands hard-codes them. Two people running this plugin can end up with folder trees that look nothing alike, while the three-zone layout and the operating contract stay identical.
The two config files drive everything
Section titled “The two config files drive everything”Two files at the root drive everything, and every command reads both on every invocation.
CLAUDE.md is generic boilerplate, identical across every wiki this plugin manages. It describes the three-zone architecture, the hard boundary, folder permissions, routing rules, page types, and the reading order. Do not edit it by hand; /setup-wiki writes it from the plugin template and /upgrade refreshes it when the template changes.
wiki-config.md is your wiki’s configuration and the file you actually edit. Its frontmatter holds the name, slug, root path, entry points (each with a path, source type, default quality, post-ingest rule, and exclude list), knowledge folders, dashboards, protected paths, project thresholds, tag vocabulary, and writing style. The body holds free-form prose about page types, naming conventions, and any wiki-specific rules.
Related reference
Section titled “Related reference”- Entry points: the folders you drop sources into
- Structured knowledge: the distilled pages the agent writes
- Schemas: the entry-point, manifest, and registry schemas