wiki-query

Installation
SKILL.md

Wiki Query

Ask a question. Read the wiki. Synthesize with citations. Offer to file the answer back.

Pre-condition

Find SCHEMA.md (search from cwd upward, or ~/wikis/). If not found, tell the user to run wiki-init first. Read it to get wiki root path and cross-reference convention.

Link style. Read link_style: from SCHEMA.md. If the field is missing or <wiki-root>/config/link-style.md does not exist, default to obsidian ([[slug]]). Otherwise, read <wiki-root>/config/link-style.md for the emit and parse rules. Follow cross-references in pages using the ## Parse rule. When you write the answer back as a wiki page (step 4), emit citations and cross-references using the ## Emit rule.

Process

1. Read wiki/index.md first

Regenerate the index so it reflects the current pages — python bin/generate-index.py — then scan the full index to identify which pages are likely relevant. Do NOT answer from general knowledge — the wiki is the source of truth here, even if you think you know the answer.

Installs
67
GitHub Stars
176
First Seen
Apr 5, 2026
wiki-query — kfchou/wiki-skills