Skip to content
Documentation
Command

/wiki-query

Query the llmwiki and synthesise an answer.

From plugin
llmwiki
36218 skills18 commands
Install
> /plugin marketplace add Pratiyush/llm-wiki
> /plugin install llmwiki@llmwiki

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wiki-query

Context preview

What this command does when you run it.

Query the llmwiki and synthesise an answer.

Command definition

wiki-query.md

Query the llmwiki and synthesise an answer.

Usage: /wiki-query <your question>

`$ARGUMENTS` is the natural-language question. Follow the **Query Workflow** in `CLAUDE.md`:

1. Read `wiki/index.md` and `wiki/overview.md` to identify the most relevant pages. 2. Read those pages using the Read tool. 3. Synthesise an answer with inline `[[wikilink]]` citations. Quote directly from source pages when helpful. 4. If your answer is substantial (3+ paragraphs), ask the user whether to save it to `wiki/syntheses/<slug>.md`. 5. If the user approves, write the synthesis page using the Synthesis Page Format from `CLAUDE.md`:

   ---
   title: "The question this answers"
   type: synthesis
   tags: []
   sources: [slug-1, slug-2]
   last_updated: YYYY-MM-DD
   ---

   # The question in full

   ## Answer
   ...with [[wikilink]] citations...

   ## Sources consulted
   - [[source-1]]
   - [[source-2]]

6. Append to `wiki/log.md`: `## [YYYY-MM-DD] query | <short question>`

Ships withllmwiki

LLM-powered knowledge base from your Claude Code, Codex CLI, Cursor, Gemini CLI, and Obsidian sessions. Built on Andrej Karpathy's LLM Wiki pattern.

Get the whole plugin