Catalogue / building-wiki
building-wiki
MITSignedBootstraps and operates a wiki — cited pages compiled from sources by an agent, plus a short `AGENTS.md` schema for one domain. Use when asked to set up a knowledge base or wiki, to write or audit its schema, or to ingest a source into an existing one, answer a question from it, lint it, or refresh…--- name: building-wiki description: Bootstraps and operates a wiki — cited pages compiled from sources by an agent, plus a short `AGENTS.md` schema for one domain. Use when asked to set up a knowledge base or wiki, to write or audit its schema, or to ingest a source into an existing one, answer a question from it, lint it, or refresh it after a source changed. license: MIT metadata: author: h3y6e version: 2026.11.11 ---
Building a Wiki
This is the LLM Wiki pattern, instantiated for one repository's domain.
Three layers: immutable sources the human picks, pages the agent writes and maintains, and a schema section in the repository's root AGENTS.md holding only what is specific to this domain. The human sources, explores, and asks; the agent does the bookkeeping — cross-references, freshness, contradictions.
The format is fixed; the amount of structure is not. Start with the least that answers the questions asked so far; add a page, a type, or a schema line only when its absence caused a wrong answer or a repeated lookup.
Sources sit upstream of the implementation: specifications, decisions, vendor documents, meeting notes. The repository's own code and pull requests are what the wiki informs, never a source — even when the wiki arrives after the code, a page states what the code should do, and a disagreement is a finding about the code.
When Not To Use
- Retrieval over documents as they stand — RAG and full-text search complement a wiki rather than replace one.
- A single source summarized once, with nothing accumulating.
- Knowledge already held in a machine-readable schema (OpenAPI, Protobuf) — reference it instead.
Operating an Existing Wiki
Read the repository's AGENTS.md, then run the operation — ingest, query, lint, or update — as `references/operations.md` defines it.
Bootstrapping a Wiki
Follow `references/bootstrapping.md`: interview, lay out the bundle, write the schema, pilot.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.1 kB | 2b56033c6f3c |
| SKILVAULT_SOURCE.json | 2.1 kB | 1146457fd0a8 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | f256797ed2ca |
| assets/github-pages/config.yml | 281 B | 5a4cdf7e2d1d |
| assets/github-pages/page.html | 625 B | 17153fdab071 |
| references/bootstrapping.md | 988 B | 93924c8c2c85 |
| references/github-pages.md | 864 B | 145e123925fc |
| references/operations.md | 2.3 kB | c6a4292b54a0 |
| references/page-format.md | 3.6 kB | be1d01f014af |
| references/raw.md | 2.0 kB | fb322ce39935 |
| references/schema.md | 833 B | 1a39c87f633e |
| scripts/lint.mjs | 8.2 kB | 63a9d9b28ca8 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | adf906d67067 | 2 Dec 2026 |
Locking a skill to one version needs Pro.