Answer a question using the compiled wiki knowledge base. Reads index.md to identify relevant pages, synthesises an answer with [[wikilink]] citations, and optionally files valuable answers as new wiki pages. Use when you say /wiki-query or when the user wants to draw on accumulated wiki knowledge rather than general model knowledge. Requires filesystem read access.
Answers questions by reading and synthesising knowledge from the compiled wiki.
Wiki root is the directory containing wiki-config.md. The skill derives it at runtime from the config file's location; it is not stored in the config.
Finding your config: Search for wiki-config.md by filename across accessible directories. Do not assume a path. The directory containing wiki-config.md is the wiki root for this session. Read the config and extract:
blacklist - paths to exclude from search scope, relative to wiki rootindex_excludes - paths excluded from index.mdlog_format - format string for log entriesSanity-check the wiki root before writing anything:
C:\, D:\, /, /home/, , ), stop and ask the user to confirm. A wiki root at one of these is almost always a misplaced config file./Users/C:\Users\If wiki-config.md is not found - run init:
wiki-config.md at that path using the template below. The directory you were given is the wiki root.index.md does not exist at the wiki root, create it:
# Wiki Index
*Catalogue of all wiki pages. Updated by wiki-ingest and wiki-integrate.*
log.md does not exist at the wiki root, create it:
# Wiki Operation Log
*Append-only. New entries go at the top.*
Config template - write frontmatter block first, then body:
---