namewiki-querydescriptionAnswer questions using the compiled OKF knowledge bundle as structured context: navigate the domain router and sub-indexes to find relevant concept articles, read them, and synthesize a grounded answer with source citations. Config-driven via okf.config.json. Trigger when the user says "query wiki", "问wiki", "查知识库", "ask the knowledge base", "wiki问答", or asks a complex cross-domain question the bundle likely covers.
Wiki-Powered Q&A (OKF)
Answer complex questions by reading the compiled bundle instead of grepping raw
files. Best for cross-domain questions, "what do we know about X", and synthesis
across multiple sources. For a simple single-file lookup, read that file directly
— don't over-use this skill.
Read the config first
Query is read-only reasoning — just read okf.config.json directly (at the
workspace root, or <bundle_dir>/okf.config.json). No script needed. Take from
it: bundle_dir (used as <bundle> for all paths below), link_style,
output_language, router_heading. Answer in output_language and cite using
the dialect's link style.
If okf.config.json is absent, assume okf-pure defaults (bundle_dir: wiki,
markdown links). If the bundle (<bundle>/concepts/) is empty or missing, tell
the user to run /wiki-init then /wiki-compile first.
Query workflow
1. Parse the question
Identify target concepts, query type (factual / comparative / exploratory), and
the domain(s) involved.
2. Two-hop index lookup
Navigation is sharded by domain, so first-read cost stays constant as the bundle
grows: