Distil a long chat thread, accumulated research session, or working document into a structured wiki page capturing the current state of knowledge on the topic. Run when you say /wiki-crystallize, when a chat is getting heavy, or before closing a long-running thread. The chat is the scaffolding; the wiki page is the artefact. Requires filesystem read/write access.
Distils ephemeral conversation into durable, structured wiki knowledge.
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 never to write to, 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:\, /, , , ), stop and ask the user to confirm. A wiki root at one of these is almost always a misplaced config file./home//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:
---