wiki-query
Installation
SKILL.md
Wiki Query — Tiered Retrieval over wiki/
Answer the user's question by reading the wiki layer in cost-ordered tiers. Cheaper tiers first; full page reads only when summaries don't suffice.
See retrieval-tiers.md for the full contract.
Pre-flight
- Read
<vault-root>/.obsidian-wiki.configto findOBSIDIAN_WIKI_VAULT_PATH(defaultswiki/). If only legacy.envexists, instruct user to run/wiki-setupto migrate. - If
wiki/does not exist, instruct user to run/wiki-setup. - Verify
<skill-root>/scripts/query-frontmatter.pyexists. If missing, the skill is broken; tell the user to reinstall the plugin.
STEP 1 — Tier 0: Hot cache
Read wiki/hot.md first.
If recent activity directly answers the user's query, return that and add a one-line attribution (from hot cache, recently active).
Skip to STEP 4 (update hot.md and report).