/wiki-skills:wiki-queryfrom wiki-skills
Queries a personal wiki (built with wiki-init/wiki-ingest) by reading relevant pages and synthesizing answers with citations. Useful for fact-finding against a local knowledge base.
Ships in wiki-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ask a question. Read the wiki. Synthesize with citations. Offer to file the answer back.
Find SCHEMA.md (search from cwd upward, or ~/wikis/). If not found, tell the user to run wiki-init first. Read it to get wiki root path and cross-reference convention.
Link style. Read link_style: from SCHEMA.md. If the field is missing or <wiki-root>/config/link-style.md does not exist, default to obsidian ([[slug]]). Otherwise, read <wiki-root>/config/link-style.md for the emit and parse rules. Follow cross-references in pages using the ## Parse rule. When you write the answer back as a wiki page (step 4), emit citations and cross-references using the ## Emit rule.
wiki/index.md firstRegenerate the index so it reflects the current pages — python bin/generate-index.py —
then scan the full index to identify which pages are likely relevant. Do NOT answer from
general knowledge — the wiki is the source of truth here, even if you think you know the
answer.
Read the identified pages in full. Follow one level of cross-reference links (matched via the ## Parse rule from config/link-style.md) if they point to pages that seem relevant to the question.
Write a response that:
link_style) for every claim sourced from a specific pageFormat for the question type:
After answering, say:
"Worth saving as
wiki/pages/<suggested-slug>.md?"
If yes:
title, category: Analyses (or the wiki's
equivalent), summary (one-line), tags: [query, analysis], sources: [all cited slugs],
created: <today>, updated: <today>python bin/generate-index.py — do not hand-edit index.mddocs: for a saved query, plus the trailer);
commit on confirmation.
docs: add analysis — <question summary>
Wiki-Op: query
wiki/log.md:
## [<today>] query | <question summary>
Filed as: <slug reference to the new slug, in the wiki's link_style>
If no:
wiki/log.md:
## [<today>] query | <question summary>
Not filed.
link_style).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/wiki-auditUse when fact-checking a single wiki page against its cited sources — verifies that every footnote actually supports its claim and surfaces uncited factual claims. Run after ingesting a high-stakes page or any time you want confidence in one page's accuracy./wiki-ingestUse when adding a new source to a wiki — a paper, article, URL, file, transcript, or any document. One ingest may touch 10-15 wiki pages./wiki-initUse when bootstrapping a new personal wiki for any knowledge domain — research, codebase documentation, reading notes, competitive analysis, or any long-term knowledge accumulation project./wiki-lintUse when auditing a wiki for health issues — contradictions between pages, orphan pages, broken cross-references, stale claims, missing pages, or coverage gaps. Run after every 5-10 ingests./wiki-mergeUse when two wiki pages turn out to be the same concept under different slugs (merge), or one page overloads several distinct senses of a term and should be separated into qualified slugs (split). Often run on a wiki-lint "merge candidate" or "colliding slug" finding./wiki-updateUse 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.npx claudepluginhub kfchou/wiki-skills --plugin wiki-skillsOther plugins' skills for the same job