wiki-query
Skill0 starsChanged 3 months agoMITView on GitHub
Answer questions using the Obsidian wiki vault. Reads hot cache first, then index, then relevant pages. Synthesizes answers with citations. Files good answers back as wiki pages. Supports quick, standard, and deep modes. Triggers on: what do you know about, query:, what is, explain, summarize, find in wiki, search the wiki, based on the wiki, wiki query quick, wiki query deep.
42 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- tboome33/obsidian-mcp-routertheir own version, first seen Nov 15, 2026
- Ar9av/obsidian-wikitheir own version, first seen Nov 8, 2026
- barakgut/llm-wikitheir own version, first seen Nov 1, 2026
- chobizzy/llm-wikitheir own version, first seen Nov 1, 2026
- wareagledusty/wiki-federation-starter-kittheir own version, first seen Nov 1, 2026
- ProduktEntdecker/enterprise-memory-startertheir own version, first seen Nov 1, 2026
Used with
Projects with it also use wiki-capture, wiki-update and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jehrhardtSkillwiki-capture
Quickly capture raw thoughts, links, images, or notes to today's Obsidian daily note from anywhere in Pi. Use when the user wants to jot something down for later wiki processing.
Also in 6 projects that use this
bozhouDevSkillwiki-update
Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.
Also in 9 projects that use this
Ivy-Chen1999Skillwiki-setup
Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.
Also in 5 projects that use this
Ivy-Chen1999Skillwiki-research
Autonomously research a topic via multi-round web search, synthesize findings, and file structured results into the Obsidian wiki. Use this skill when the user says "/wiki-research [topic]", "research X", "find everything about Y", "do a deep dive on Z", "autonomous research on X", or wants comprehensive, web-sourced knowledge on a topic filed directly into their wiki.
Also in 4 projects that use this
bozhouDevSkillwiki-init
Use when bootstrapping a new personal wiki for any knowledge domain — research, codebase documentation, reading notes, competitive analysis, or any long-term knowledge accumulation project.
Also in 7 projects that use this
justvinhhereSkillwiki-review
Use when the user runs /review, says "show pending changes", "what's uncommitted", or wants an audit of uncommitted wiki edits before they land in history. Narrates uncommitted changes, flags structural issues scoped to those changes, and commits them with a conventional subject. Fully automatic.
Also in 8 projects that use this
- +5 more from Ivy-Chen1999
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- CarbeneAI/Forge★ 999% same
Wrote their own version · 41
- AgriciDaniel/claude-obsidian★ 16ksame name
- Ar9av/obsidian-wiki★ 3.7ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- kfchou/wiki-skills★ 189same name
- bozhouDev/bozhou-skills★ 78same name
- vanillaflava/llm-wiki-skills★ 65same name
- cookyman74/llmwiki-harness★ 34same name
- Ivy-Chen1999/llm-wiki-kit★ 21same name
- CodePhobiia/claude-roblox-game-studio★ 9same name
- crabin/llm-wiki★ 8same name
31 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/maz-works-knowledge-vault.mdcCursor rule
- autoresearchSkill
- canvasSkill
- defuddleSkill
- obsidian-basesSkill
- obsidian-markdownSkill
- saveSkill
- thinkSkill
- wiki-cliSkill
- wiki-foldSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-modeSkill
- wiki-retrieveSkill
- wikiSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 15 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If wiki-retrieve is feature-detected — [ -x scripts/retrieve.py ] && [ -d .vault-meta/chunks ] && [ -f .vault-meta/bm25/index.json ] — …
- Very specific: line 35
If retrieve.py exits 10 (feature not provisioned), or any step in the pipeline errors, fall back to the v1.6 legacy read order described in …
- Distinctive: line 57
Use when the answer is likely in the hot cache or index summary.
- Very specific: line 59
Read wiki/hot.md. If it answers the question, respond immediately.
- Very specific: line 60
If not, read wiki/index.md.
- Distinctive: line 61
If found in index summary, respond and do not open any pages.
- Distinctive: line 62
If not found, say "Not in quick cache.
- Distinctive: line 64
Do not open individual wiki pages in quick mode.
- Distinctive: line 75
If the question reveals a gap: say "I don't have enough on X.
- Distinctive: line 81
Use for synthesis questions, comparisons, or "tell me everything about X."
- Very specific: line 83
Read wiki/hot.md and wiki/index.md.
- Distinctive: line 85
Read every relevant page. No skipping.
- Distinctive: line 86
If wiki coverage is thin, offer to supplement with web search.
- Distinctive: line 88
Always file the result back as a wiki page.
- Distinctive: line 94
Read the minimum needed:
- Distinctive: line 103
If hot.md has the answer, respond without reading further.
- Distinctive: line 154
Use sub-indexes when the question is scoped to one domain.
- Distinctive: line 162
When filing an answer:
- Very specific: line 183
After filing, add an entry to wiki/index.md under Questions and append to wiki/log.md.
- Distinctive: line 189
If the question cannot be answered from the wiki:
- Distinctive: line 194
Do not fabricate. Do not answer from training data if the question is about the specific domain in this wiki.
- Very specific: line 200
When working on this skill, apply the 10-principle loop.
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
wiki-query: Query the Wiki
The wiki has already done the synthesis work. Read strategically, answer precisely, and file good answers back so the knowledge compounds.
Transport (v1.7+)
Reads should prefer the same transport the rest of the plugin uses. Consult .vault-meta/transport.json (auto-created by bash scripts/detect-transport.sh) and use the preferred entry:
- cli —
obsidian-cli read "$VAULT" "$NOTE"andobsidian-cli search "$VAULT" "<query>"(Obsidian-native ranking); seeskills/wiki-cli/SKILL.md - mcp-obsidian / mcpvault —
mcp__obsidian-vault__read_note,search_notes; seeskills/wiki/references/mcp-setup.md - filesystem — Claude's
ReadandGlob/Greptools (final floor; always works)
Full decision tree: wiki/references/transport-fallback.md. Quick mode (hot.md only) is transport-agnostic — always uses Read.
Retrieval (v1.7+)
If wiki-retrieve is feature-detected — [ -x scripts/retrieve.py ] && [ -d .vault-meta/chunks ] && [ -f .vault-meta/bm25/index.json ] — Standard and Deep modes consult it BEFORE the legacy hot→index→drill chain:
python3 scripts/retrieve.py "<the user's question verbatim>" --top 5Output is JSON with a candidates array. Each candidate has absolute_path to the source page, a snippet, and bm25_score + rerank_score. Read the cited pages (using the transport selector from §Transport above) and synthesize with chunk-level citation.
If retrieve.py exits 10 (feature not provisioned), or any step in the pipeline errors, fall back to the v1.6 legacy read order described in the Standard/Deep workflows below — no user-visible breakage.
Quick mode always skips retrieval (hot.md only — keeps the ~1,500 token budget intact).
Full spec: skills/wiki-retrieve/SKILL.md. Setup: bash bin/setup-retrieve.sh. The legacy read-order workflows below remain authoritative when wiki-retrieve is not installed.
Query Modes
Three depths. Choose based on the question complexity.
| Mode | Trigger | Reads | Token cost | Best for |
| Quick | query quick: ... or simple factual Q | hot.md + index.md only | ~1,500 | "What is X?", date lookups, quick facts |
| Standard | default (no flag) | hot.md + index + 3-5 pages | ~3,000 | Most questions |
| Deep | query deep: ... or "thorough", "comprehensive" | Full wiki + optional web | ~8,000+ | "Compare A vs B across everything", synthesis, gap analysis |
Quick Mode
Use when the answer is likely in the hot cache or index summary.
- Read
wiki/hot.md. If it answers the question, respond immediately. - If not, read
wiki/index.md. Scan descriptions for the answer. - If found in index summary, respond and do not open any pages.
- If not found, say "Not in quick cache. Run as standard query?"
Do not open individual wiki pages in quick mode.
Standard Query Workflow
- Read
wiki/hot.mdfirst. It may already have the answer or directly relevant context. - Read
wiki/index.mdto find the most relevant pages (scan for titles and descriptions). - Read those pages. Follow wikilinks to depth-2 for key entities. No deeper.
- Synthesize the answer in chat. Cite sources with wikilinks:
(Source: [[Page Name]]). - Offer to file the answer: "This analysis seems worth keeping. Should I save it as
wiki/questions/answer-name.md?" - If the question reveals a gap: say "I don't have enough on X. Want to find a source?"
Deep Mode
Use for synthesis questions, comparisons, or "tell me everything about X."
- Read
wiki/hot.mdandwiki/index.md. - Identify all relevant sections (concepts, entities, sources, comparisons).
- Read every relevant page. No skipping.
- If wiki coverage is thin, offer to supplement with web search.
- Synthesize a comprehensive answer with full citations.
- Always file the result back as a wiki page. Deep answers are too valuable to lose.
Token Discipline
Read the minimum needed:
| Start with | Cost (approx) | When to stop |
| hot.md | ~500 tokens | If it has the answer |
| index.md | ~1000 tokens | If you can identify 3-5 relevant pages |
| 3-5 wiki pages | ~300 tokens each | Usually sufficient |
| 10+ wiki pages | expensive | Only for synthesis across the entire wiki |
If hot.md has the answer, respond without reading further.
Index Format Reference
The master index (wiki/index.md) looks like:
## Domains
- [[Domain Name]]: description (N sources)
## Entities
- [[Entity Name]]: role (first: [[Source]])
## Concepts
- [[Concept Name]]: definition (status: developing)
## Sources
- [[Source Title]]: author, date, type
## Questions
- [[Question Title]]: answer summaryScan the section headers first to determine which sections to read.
Domain Sub-Index Format
Each domain folder has a _index.md for focused lookups:
---
type: meta
title: "Entities Index"
updated: YYYY-MM-DD
---
# Entities
## People
- [[Person Name]]: role, org
## Organizations
- [[Org Name]]: what they do
## Products
- [[Product Name]]: categoryUse sub-indexes when the question is scoped to one domain. Avoid reading the full master index for narrow queries.
Filing Answers Back
Good answers compound into the wiki. Don't let insights disappear into chat history.
When filing an answer:
---
type: question
title: "Short descriptive title"
question: "The exact query as asked."
answer_quality: solid
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [question, <domain>]
related:
- "[[Page referenced in answer]]"
sources:
- "[[wiki/sources/relevant-source.md]]"
status: developing
---Then write the answer as the page body. Include citations. Link every mentioned concept or entity.
After filing, add an entry to wiki/index.md under Questions and append to wiki/log.md.
Gap Handling
If the question cannot be answered from the wiki:
- Say clearly: "I don't have enough in the wiki to answer this well."
- Identify the specific gap: "I have nothing on [subtopic]."
- Suggest: "Want to find a source on this? I can help you search or process one."
- Do not fabricate. Do not answer from training data if the question is about the specific domain in this wiki.
How to think (10-principle mapping)
When working on this skill, apply the 10-principle loop. See skills/think/SKILL.md for the canonical framework.
| # | Principle | Application here |
| 1 | OBSERVE (ext) | Read wiki/hot.md first, then wiki/index.md, then specific pages. Don't skip the cache. |
| 2 | OBSERVE (int) | Am I synthesizing from training-data memory when I should be citing wiki pages? Check the source of each claim. |
| 3 | LISTEN | What is the user's REAL question? The surface query is often a proxy for a deeper need. |
| 4 | THINK | Quick / standard / deep mode? Match depth to question complexity, not eagerness. |
| 5 | CONNECT (lat) | Are there pages I missed that would CHANGE the answer? Cross-check related pages before answering. |
| 6 | CONNECT (sys) | Hot cache + index + wiki-retrieve (when provisioned) layer into a single retrieval pipeline. |
| 7 | FEEL | Cite specific pages, not vague references. Future-me wants traceability back to the source page. |
| 8 | ACCEPT | When the wiki doesn't have the answer, say so explicitly. Don't fabricate from training data. |
| 9 | CREATE | The answer with citations + an offer to file the answer if it's worth keeping. |
| 10 | GROW | Questions the wiki can't answer are content gaps — log them as autoresearch inputs. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

