/llm-wiki:queryfrom llm-wiki
Use when the user invokes /llm-wiki:query or asks a question to be answered from an OKF bundle. Reads the index, drills into the relevant concept docs, synthesizes a cited answer, and offers to file it back as a new concept so explorations compound. Also covers finding authoritative sources when the bundle cannot answer.
Ships in llm-wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Karpathy's "Query" operation: read the wiki, synthesize a cited answer, optionally file it back.
/llm-wiki:query <question>
/llm-wiki:query # interactive: prompt for question
1. Read bundle root's index.md to understand the concept landscape
2. Identify the most relevant concepts by type / title / description
3. Read those concept docs in full
4. Follow relevant cross-links (one hop) if needed for context
5. Synthesize a cited answer
6. Offer to file the answer back as a new concept
Start with the root index.md — it groups concepts by type and links to every concept. Use okf_search.py for keyword lookup:
python3 <plugin_root>/scripts/okf_search.py <bundle_root> "<keywords>" --k 10
For complex questions, read the CLAUDE.md at the bundle root first — it explains the bundle's domain, type vocabulary, and conventions.
## Sources section listing the concept IDs read.After answering, offer:
"Would you like me to file this answer as a concept doc in the bundle? It would be saved as
concepts/<slug>.mdwithtype: Q&A(or whatever type fits your vocabulary) so future queries can find it."
If the owner says yes:
CLAUDE.md conventions).authoring-concepts → okf_doc.py write./llm-wiki:index and /llm-wiki:log.This is the core of the compounding wiki pattern: every answered question makes the wiki more complete.
references/finding-sources.md to recommend authoritative URLs or datasets, each ending in a ready-to-run /llm-wiki:ingest command.concepts/open-question-<slug>.md with type: Open Question.User: "How does the events_ table relate to users?"
Steps:
index.md → identify tables/events_ and tables/users.references/joins/ for any join reference.events_ table links to users via user_pseudo_id — see references/joins/events___users.md for the canonical ON clause."concepts/events-users-relationship.md.More invocations:
/llm-wiki:query "What is the grain of the events_ table?"
/llm-wiki:query "How do I calculate daily active users from this dataset?"
/llm-wiki:query "Which tables contain user_pseudo_id?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mlarkin00/plugins --plugin llm-wiki9 skills in this plugin
/authoring-conceptsUse when writing or rewriting a single OKF concept document, or when you need the OKF v0.1 format rules — frontmatter conventions, concept IDs, reserved files, body structure, cross-linking, citation format, and what NOT to invent. The shared authoring routine that ingest, query, and lint all call./indexUse when the user invokes /llm-wiki:index or asks to regenerate the index.md files in an OKF bundle. Runs okf_index.py for deterministic bottom-up index generation./ingestUse when the user invokes /llm-wiki:ingest or asks to ingest, add, or re-enrich a source in an OKF bundle — a BigQuery dataset, a web page or crawl, or local files. Covers source detection, adapter routing, the supervised ingest loop, per-concept dispatch, and the adapter contract for new sources.Other plugins' skills for the same job