Agent skill · claude-obsidian
/wiki-query Ask your Obsidian vault questions and get cited answers
wiki-query makes the vault the only evidence for an answer and never changes a file. You choose quick, standard or deep, each with its own read budget. The agent reads the hot cache and index, uses the local BM25 index when it is verified, checks the claim and source ledgers, and cites a wikilink for each material claim.
Works with
- Claude Code
- Codex, OpenCode, Gemini, ZCode, Cursor and Windsurf
Used forSecond brain and wikis
When to use it
- You want an answer drawn only from your own notes, not from the model's general knowledge.
- You need to know whether a claim in the vault is accepted, tentative or disputed.
- You want to find which notes cover a topic before writing something new.
How it works
- 1Pick a depth
Quick reads the hot cache and index with a 12 KiB budget, while standard and deep allow 48 KiB and 128 KiB and broaden the candidates.
- 2Retrieve candidates
If the retrieval capability is verified, the agent queries the prebuilt BM25 index read-only, and otherwise falls back to indexes and text search and says so.
- 3Weigh the evidence
Ledger status decides wording: accepted claims are stated, provisional ones are tentative, contested ones show both sides and stale evidence is flagged.
- 4Answer with citations
The direct answer comes first, each claim cites the most specific wikilink, and inference is marked apart from vault evidence.
What it steers the agent away from
- Filling gaps in the vault from model memory.
- Rebuilding caches, logging the query or writing notes during a question.
- Silently picking a winner when sources disagree.
Install this skill
It installs with the claude-obsidian pack.
Claude CodeAdds the marketplace and installs the full plugin with all skills and agents.
claude plugin marketplace add AgriciDaniel/claude-obsidian
claude plugin install claude-obsidian@agricidaniel-claude-obsidianCodex, OpenCode, Gemini, ZCode, Cursor and WindsurfThe first script run only previews; swap the --host value for your tool, and Cursor or Windsurf also need --workspace.
git clone https://github.com/AgriciDaniel/claude-obsidian.git
cd claude-obsidian
bash scripts/setup-multi-agent.sh --host codex
bash scripts/setup-multi-agent.sh --host codex --applyCommands come from the author’s README; check it for changes before you run them.
Questions
How do I keep a good answer?
Ask for it to be saved; the answer and citations are passed to the save skill as a separate, reviewed operation.
Does it need the search index?
No. Without a verified index it uses the vault indexes and plain text search, and reports which fallback it used.
More guides from claude-obsidian
/autoresearchRun bounded web research and file it as a cited dossierResearches a topic within agreed rounds, fetches and domains, drafts a cited dossier and files it only after review.Read the guide →/saveKeep one useful chat answer as a proper vault noteFiles one answer, decision or insight you pick from the conversation as a note, plus index, log and hot-cache updates.Read the guide →/wiki-ingestTurn sources into cited, linked Obsidian notesTurns pasted text, inbox files or approved URLs into linked notes with hashed source copies and claim ledgers.Read the guide →/wiki-lintFind broken links and gaps in an Obsidian wikiReports dead or ambiguous links, orphan pages, frontmatter gaps, empty sections and ledger violations, read-only.Read the guide →
Also in this pack
/canvasBuilds and edits Obsidian Canvas boards made of text, file, link and group nodes, applying changes through a reviewed transaction.↗/defuddlePrepares a non-executing plan for cleaning a web page into Markdown and keeps local source files via reviewed filesystem capture.↗/obsidian-basesDrafts and validates Obsidian Bases files with filters, formulas and table, card or list views.↗/obsidian-markdownExplains and checks Obsidian syntax such as properties, wikilinks, embeds, callouts, block references and Mermaid.↗/thinkWorks through a hard decision in a ten-stage loop that separates observed facts, inferences, unknowns and preferences.↗/wiki-cliDetects whether the official Obsidian command line is usable and uses it for read-only reads, search and backlinks.↗/wiki-foldRolls a fixed batch of log entries into an extractive summary page without editing the original entries.↗/wiki-modeReads or sets the filing method, Generic, LYT, PARA or Zettelkasten, and suggests where new notes should go.↗/wikiCreates a new vault or adopts an existing one without moving notes, via dry-run plans, then sends each request to the right sub-skill.↗
Summary by trendhub. The skill itself lives in AgriciDaniel/claude-obsidian/skills/wiki-query by Agrici Daniel (MIT); read the full, current text there.