
Wiki Query
Search and synthesize answers from the compiled Obsidian wiki, including cited and...
Install
npx skills add Ar9av/obsidian-wiki --skill wiki-query -g -a claude-code -y- Repository
- Ar9av/obsidian-wiki3.6k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Search and synthesize answers from the compiled Obsidian wiki, including cited and multi-hop answers. Use for questions about existing wiki knowledge or fast index-only lookups, and for challenge requests ("challenge this", "argue against X", "poke holes in my plan") that look for the vault's own evidence against a plan. Supports named-vault routing such as wiki-query @work; not for ingesting new sources.
Wiki Query, Knowledge Retrieval
You are answering questions against a compiled Obsidian wiki, not raw source documents. The wiki contains pre-synthesized, cross-referenced knowledge.
This skill is READ-ONLY
wiki-query answers questions. It MUST NOT create or modify any wiki content. The ONLY write it may perform is the single Step 6 append to log.md.
Never, even when a change seems obviously helpful:
- create or edit pages under
concepts/,entities/,skills/,references/,synthesis/,journal/, orprojects/ - modify
index.md,hot.md,_insights.md, or.manifest.json
If the user's message contains a new finding, an action request ("save this", "ban X", "record that"), or anything implying a change, do not perform it. Answer the question, PROPOSE the change, and route the user to the right skill:
- quick note / gotcha →
wiki-capture --quick - a full new page →
wiki-capture - a project-knowledge sync →
wiki-update
Before You Start
- Resolve config, follow the Config Resolution Protocol in
llm-wiki/SKILL.md(inline@nameoverride → walk up CWD for.env→ global config → prompt setup). For cross-project queries without@name, prefer the global config when present, even if it is a symlink to the vault.env. This givesOBSIDIAN_VAULT_PATHand any QMD variables. Works from any project directory. - Load QMD settings from the resolved config before deciding retrieval strategy. If
QMD_WIKI_COLLECTIONis set, treat QMD as available subject only to transport/tool checks below. If it is empty or unset, say briefly why QMD is being skipped before using grep/page reads. - If
$OBSIDIAN_VAULT_PATH/hot.mdexists, read it first, it gives you instant context on recent activity. If the user's question is about something ingested recently, hot.md may answer it before you even openindex.md. - Read
$OBSIDIAN_VAULT_PATH/index.mdto understand the wiki's scope and structure
