1. Habit
  2. Skills
  3. Wiki Query skill
ar9av · 4K installs

Wiki Query skill
Runs by itself, you ask a question.

Cited answers from your own wiki.

Install the Wiki Query skill and make it a habit: follow https://gethabit.dev/skills/ar9av/wiki-query.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

4K installs4K starsMIT licenceSource on GitHub ↗

Wiki Query

by ar9av · 4K installs

The skill

Wiki Query answers questions from a compiled Obsidian wiki with cited, multi-hop answers, a graph pre-pass and optional semantic search, and it stays read-only.

Only when you ask.

The habit

Cited answers from your own wiki.

↻ Runs by itselfyou ask a question

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one question per run; this skill is read-only and never retries into writes.

  1. 01

    Resolve config

    Your agent resolves the vault path and QMD settings, then reads hot.md and index.md.

  2. 02

    Graph pre-pass

    It runs graph-query first; a structural answer is reported straight from the graph with no page reads.

  3. 03

    Index pass

    It greps frontmatter for title, tag and summary matches to build a small candidate set.

  4. 04

    Semantic pass

    If a QMD collection is set it runs a semantic search, dropping any _raw/ paths.

  5. 05

    Section and full read

    It reads only the sections or top pages it needs, following at most one wikilink hop.

  6. 06

    Synthesize

    It answers with cited pages, flags stale or disputed pages, and names gaps.

  7. 07

    Log

    It appends one query line to log.md and changes nothing else.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Wiki Query skill helps.

Use it when

  • ✓ answering from existing wiki knowledge
  • ✓ a fast index-only lookup
  • ✓ challenging a plan with your own notes

Skip it when

  • – you want to add or edit pages
  • – you have no compiled wiki yet

Questions

Wiki Query skill, answered.

Can it save a new finding?

No. It is read-only. It proposes the change and routes you to wiki-capture or wiki-update instead.

What is a challenge query?

You ask it to argue against a plan; it searches your own notes for evidence against it and leads with that.

How do I install the Wiki Query skill?

Copy the prompt at the top into your agent. It installs the skill from ar9av/obsidian-wiki and sets up the habit. Or run npx skills add ar9av/obsidian-wiki --skill wiki-query.

Is the Wiki Query skill free?

Yes. It is published under MIT. Habit is free too.

Wiki Query. Now as a habit.

Install the Wiki Query skill and make it a habit: follow https://gethabit.dev/skills/ar9av/wiki-query.md

  • Free
  • No account
  • Undo in one line

All ar9av skills →More notes skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by ar9av, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.