wiki-querylisted
Install: claude install-skill litianyi-007/kata
# wiki-query
Answer a question from compiled wiki knowledge. Unlike asking the same question
cold, the wiki has already synthesized and cross-referenced the relevant sources.
**Like ingestion, substantive query results compound back into the wiki.** When an
answer is worth keeping — a comparison, a synthesis, a connection you discovered —
it's filed as a new wiki page and joins the knowledge base. Your explorations
compound in the wiki just like your ingested sources do. That's the whole trick:
nothing valuable disappears into chat history.
## When to use
- User asks any question about the wiki's domain
- User wants a comparison, deep dive, or cross-cutting synthesis
- `--file` flag: force-file the answer as a new wiki page
## Pre-flight (orientation guard)
Before querying, read orientation files if not done this session:
```
read_file {wiki_path}/SCHEMA.md
read_file {wiki_path}/index.md
read_file {wiki_path}/log.md # last 20 lines
```
## Steps
### ① Parse the question
Classify it — the strategy depends on type:
- **Factual**: "What is X?" → entity/concept lookup
- **Comparative**: "How does X differ from Y?" → check for existing comparison first
- **Synthesis**: "What do we know about X across sources?" → multi-page read
- **Gap**: "What don't we know about X?" → check open questions in pages, run `wiki-lint`
### ② Find relevant pages
Run `wiki-search` internally for key terms, inheriting the `--tier` default
(`active` when tiers are enabled, else `all`). For wik