knowledge-query
Knowledge Query
Ask a question against a bound cogni-knowledge base. This skill is the shallow
rung of the query↔research depth ladder: it ranks the pages that cover the
question, reads them, and synthesizes a grounded, cited answer — one question,
index-first, ≤12 pages, no web, no verify (the deep wiki-only report rung is
owned by knowledge-compose --source wiki).
It runs natively on the vendored wiki engine — it consumes the shared
wiki-grounding.py discovery primitive directly and reads the wiki pages with
the Read tool, so a Karpathy base answers questions without cogni-wiki
installed. The cogni-knowledge value-add:
- Binding-aware wiki path resolution — no
--wiki-rootfrom the user; read frombinding.json. - Index-first grounded synthesis — rank covering pages via
wiki-grounding.py, read them, answer only from what they say (with[[slug]]citations), and report honestly when coverage is thin. - Knowledge-base footer — every answer ends with one line tying it to the knowledge slug + deposit count + fetch-cache health, so the user remembers where the answer came from and how much evidence the base holds.
Read ${CLAUDE_PLUGIN_ROOT}/references/differentiation-thesis.md once per session to anchor on the accumulation thesis. The synthesis discipline below — answer only from the pages you read, cite every claim, admit uncertainty — is the shallow rung's core contract.