wiki-querylisted
Install: claude install-skill ihudak/ihudak-claude-plugins
# wiki-query
Read `skills/wiki-schema/SKILL.md` fully before proceeding.
Invoke with: `/wiki-query <question>`
---
## Step 1 — Resolve VAULT_PATH
Vault path: `~/obsidian_vault` by default; set `VAULT_PATH` to override. WSL users with a Windows-side vault must set `VAULT_PATH` explicitly (e.g. `/mnt/c/Users/<name>/obsidian_vault`).
---
## Step 2 — Load recent context
Read `wiki/hot.md` if it exists. If the file is absent or empty, skip silently.
If it contains a directly relevant answer or strong context clues, use that to guide which
pages to read.
---
## Step 3 — Choose search path
### Path A — qmd MCP (Claude Code, when qmd collection is registered)
Check if qmd has a wiki collection:
```
mcp__plugin_qmd_qmd__status
```
If the `wiki` collection is listed in the status output, use Path A. Otherwise use Path B.
**Path A steps:**
1. Run a hybrid search against the wiki collection:
```
mcp__plugin_qmd_qmd__query
searches: [{type: "lex", query: "<keywords>"}, {type: "vec", query: "<question>"}]
intent: "<question>"
minScore: 0.4
```
2. Also check if a `meetings` or `sources` collection is registered. If the question is
about specific events, decisions, or people, run an additional query against those
collections and merge the results.
3. Retrieve the top-scoring pages:
```
mcp__plugin_qmd_qmd__get
path: "<result filepath>"
```
4. Read the returned pages fully. Proceed to Step 4.
### Path B — Index-guided reading (Copilot, or