query-wiki

Queries vault wiki from _index.md and returns cited answers in Obsidian Markdown.

Updated Oct 10, 2023
One-click install
npx skills add https://github.com/kirakuiin/note --skill query-wiki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: query-wiki
Source: https://github.com/kirakuiin/note/tree/main/Obsidian%20Vault/9-Meta/Skills/query-wiki
Command: npx skills add https://github.com/kirakuiin/note --skill query-wiki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables fast, citation-backed answers by querying the vault wiki starting from the _index.md, surfacing relevant pages, and guiding users on when to file notable insights back into the wiki.

Core Features & Use Cases

  • Structured search: starts at _index.md, prioritizing candidate pages by title and tags.
  • Citation-rich synthesis: returns answers with Obsidian-style [[wikilinks]] and embedded references.
  • Filing guidance: suggests when a synthesis is valuable enough to file as a new wiki page and how to initiate ingestion.

Quick Start

Run the query-wiki skill to fetch a concise, citation-backed answer from your vault.

Frequently Asked Questions about query-wiki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get citation-backed answers from my Obsidian wiki notes?

To get citation-backed answers from your Obsidian wiki, query the vault starting from _index.md to surface relevant pages and synthesize results with wikilinks. The skill identifies up to five candidate pages by title and tags, returning answers with embedded references.

How does wiki retrieval work with Obsidian-flavored Markdown?

Wiki retrieval with Obsidian-flavored Markdown works by searching the vault's _index.md and returning synthesized answers using wikilinks, callouts, and embeds. It prioritizes up to five candidate pages by title and tags before generating the final citation-rich output.

Can I search both public wiki content and private workspace notes?

Yes, you can search both public wiki content and private workspace notes. The skill applies its retrieval mechanism across the vault to answer knowledge questions, pulling candidate pages from either source to synthesize a citation-backed response.

What's the best way to file synthesized wiki answers back into my knowledge-management vault?

The best way to file synthesized wiki answers is to follow the skill's filing guidance, which suggests when a synthesis is valuable enough to save. It proposes filing the new wiki page and outlines how to initiate the ingestion process back into your vault.

Does the wiki query skill require a specific index file to start searching?

Yes, the wiki query skill requires an _index.md file to start searching. It uses this index as the entry point to identify and prioritize candidate pages by title and tags before returning up to five relevant pages for synthesis.

Why are my wiki search results limited to five candidate pages?

Wiki search results are limited to five candidate pages to prioritize relevance and manage context size. The skill scans from _index.md, evaluates titles and tags, and selects the top five pages to synthesize a focused, citation-backed answer without overwhelming the output.