wiki-query
Wiki Query
Answers questions by reading and synthesising knowledge from the compiled wiki.
Config Discovery
Every invocation starts here. Wiki root is the directory containing wiki-config.md. Skills derive it at runtime. Pages this skill writes (if you choose to file an answer) follow the structure in wiki-schema.md - both files need to be present.
-
Identify scope: Determine your filesystem scope root - the top-level directory your filesystem tool can access.
-
Scope check - MANDATORY STOP: If scope is bare drive root (
C:\,D:\,/), OS root, or user home (C:\Users\X,/home/X,/Users/X) → stop immediately. Do not search. Do not attempt to locate wiki-config.md. Go directly to step 6. -
Scan
<available_skills>forwiki-config. Note whether it's available - this shapes the recommendations below. The bundledreferences/setup-help.mdis also available; read it if the user needs orientation or if you get stuck. -
Locate and read
wiki-config.md: Search recursively (first-match, max 5 levels). If found, read it (blacklist,index_excludes,ingested_folder,ingested_subdirs,log_format). If not found, skip to step 6. -
Locate and read
wiki-schema.md- mandatory check: In the same directory aswiki-config.md, verifywiki-schema.mdexists and parses as YAML. Do not proceed to the Workflow below until you have a definite verdict (present / missing / malformed). Then:
More from vanillaflava/llm-wiki-skills
wiki-lint
Health-check the wiki: scan all pages for broken wikilinks, orphaned pages, stale index entries, missing connections, em-dash violations, orphaned assets, and schema errors. Produces a dated lint report. Always use this skill when the user says /wiki-lint, mentions broken links, dead wikilinks, orphaned pages, 'what's broken in my wiki', 'are my links working', 'which pages have no connections', or asks for a wiki health check. Also use when the user notices a link that doesn't resolve, suspects the index is out of date, or asks whether the wiki is in good shape — even if they don't say 'lint'. Never auto-fixes anything; reports only. When in doubt whether a wiki health check is being requested, use this skill. Requires filesystem read access and write access to archive/.
2wiki-integrate
Weave a wiki page into the knowledge graph: add it to index.md and add backlinks in both directions. Always use this skill when the user says /wiki-integrate, 'nothing links to this page', 'this page is an orphan', 'connect this page to related pages', 'add backlinks to this page', 'add this page to the index', or 'weave this page into the wiki'. Also use whenever a new page has just been created directly in a chat or a page has been significantly revised and may have new connection opportunities — even if the user doesn't explicitly ask for integration. Lightweight; only adds links and index entries, never rewrites content. When in doubt whether a page needs connecting after creation or revision, use this skill. Requires filesystem read/write access.
2wiki-crystallize
Distil a chat thread, research session, or working document into a structured wiki page capturing the current state of knowledge. Always use this skill when the user says /wiki-crystallize, 'save this to my wiki', 'capture what we've worked out', 'write this up as a wiki page', 'update my wiki from this conversation', 'we've covered a lot', 'before I close this chat', or 'let's wrap up this thread'. Also use proactively when the conversation has covered significant ground and capturing the findings would orient future sessions, the context is getting heavy and insights risk being lost, or the user signals they are ending a working session — even if they don't say 'wiki'. The chat is the scaffolding; the wiki page is the artefact. When in doubt whether a session wrap is being requested, use this skill. Requires filesystem read/write access.
2wiki-ingest
Process source files into synthesised wiki pages. Always use this skill when the user says /wiki-ingest, 'import these files', 'process my clippings', 'ingest this article', 'I have new articles to add', 'turn this PDF into a wiki page', 'what's in my raw/ folder', or 'what have I ingested'. Also use when the user mentions dropping a file somewhere to process, wants to turn any document, article, or PDF into a wiki page, or asks about files in raw/ or ingested/ — even if they don't say 'ingest'. Treats raw/ as a flat queue; scans all files, synthesises knowledge into wiki pages, and moves each source to ingested/ as an atomic commit. When in doubt whether source material processing is being requested, use this skill. Requires filesystem read/write/move access.
2wiki-config
Set up, validate, and reconfigure the llm-wiki skill suite. Always use this skill when the user says /wiki-config, asks to 'set up my wiki', 'configure wiki', 'initialize wiki config', mentions 'page structure problems', 'schema issues', 'missing templates', 'wiki help', 'how does the wiki work', or when any wiki skill reports a missing or invalid config, schema, or templates. Also use when the user wants to know what wiki skills are available, seems confused about how the wiki system works, or asks why a skill isn't behaving as expected — even if they don't say 'config'. Owns the interactive configuration flow, schema management, and template management for the wiki system. When in doubt whether a setup or configuration issue is being raised, use this skill.
2