query
GitHub基于LLM Wiki知识库回答用户查询。通过搜索和阅读相关页面提供证据支持的解答,并在发现高置信度的新关联或矛盾时,将综合信息写回Wiki以增强知识积累。
Trigger Scenarios
Install
npx skills add jackwener/llm-wiki --skill query -g -y
SKILL.md
Frontmatter
{
"name": "query",
"description": "Answer questions from an LLM Wiki vault. Use whenever the user invokes `\/query`, asks what the wiki knows about a topic, or needs an evidence-grounded synthesis of existing wiki pages and their links."
}
Query an LLM Wiki
Answer from the maintained wiki, then capture only durable synthesis that makes future queries more useful.
Workflow
- Find the vault and read
wiki-purpose.md; confirm that the question falls within its intended scope. Readwiki-schema.mdfor local conventions. - Search with
llm-wiki search "<question>". Use--bm25-onlyonly when vector search is unavailable or inappropriate. Scanwiki/for exact terms if needed. - Read the matched pages and follow relevant
[[wikilinks]]and## Relatedsections. Use the graph as context rather than treating search ranking as the answer. - Give a direct answer grounded in the pages. Cite pages as
[[slug]], state uncertainty, distinguish evidence from inference, and surface conflicts or gaps instead of guessing. - If the wiki lacks enough evidence, say so and suggest specific material to ingest. Do not fill gaps from unsaved external knowledge.
When knowledge should compound
Write back only a non-trivial, high-confidence synthesis: for example, a new connection among at least three pages, a resolved contradiction, or a useful comparison absent from all source pages. Do not create a page for a simple lookup or speculative conclusion.
For a durable synthesis, create a focused wiki page with complete frontmatter:
---
title: Synthesis Title
description: One-line summary
tags: [synthesis]
sources: [contributing-page-slugs]
source_type: query-synthesis
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
Link it to the contributing pages, append a query entry to wiki-log.md,
and run llm-wiki sync. Do not modify anything under sources/.
Version History
- cd54666 Current 2026-07-11 18:46


