/hallouminate:wiki-queryfrom Hallouminate
Answer a question from a hallouminate wiki with grounded, cited detail. Use when the user asks something the wiki should know — "what does the wiki say about X", "how does Y work here", "look it up in the wiki", "/wiki-query", or any factual question about a repo whose knowledge lives in a hallouminate corpus. Every claim in the answer carries a `path:line` citation back to the corpus. Do NOT use to write or update wiki entries (use wiki-ingest) or to bootstrap a new wiki (use wiki-init).
Ships in Hallouminate. 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.
Answer a question strictly from the wiki, with a citation on every claim. The model is a synthesizer over retrieved chunks, never a substitute for them. If the corpus does not support a claim, say so — do not fall back to training data.
Agent topology (required):
ground, reads
the top chunks, and returns a compact cited evidence digest — never prose for
the user. Retrieval noise stays in the sub-agent's context, not the root's.The root NEVER answers from memory of the codebase. It answers from what the haiku digests bring back.
Every hallouminate MCP tool call requires the absolute cwd of your active checkout.
Keep that cwd and the selected corpus fixed throughout each sub-question, including all recovery and citation reads.
Never substitute a main-checkout alias or another corpus to obtain hits.
list_corpora { cwd } and ask which, or select the repository's repo:{name}:wiki.list_tree { cwd, corpus } once to phrase searches.
Share this tree with the sub-agents; it consumes their tree-listing allowance.Spawn one haiku sub-agent per sub-question in a single message so they run concurrently. Give each the exact Ground call, fixed checkout and corpus, and this contract:
Run
ground { query: "<sub-question>", corpus: "<corpus>", top_files: 5, chunks_per_file: 3, cwd }. A cold corpus makes the first Ground wait for the first reconciliation, up tosearch.cold_wait_ms(default 10 s, maximum 60 s). Ground also returns lexical line-window hits for selected files that have no indexed rows, with or without a cold wait. A fallback hit has achunk_idthat starts withlexical-fallback:and an emptyheading_path; itsstaleflag does not show index freshness. Inspectindex-coverage,index-reconciliation, every lexical fallback warning (lexical-fallback,lexical-fallback-truncated,lexical-fallback-timeout,lexical-fallback-failed,lexical-fallback-scan-timeout), the degraded-ranking warnings (ripgrep-failed,ripgrep-timeout,ripgrep-unresolved,ripgrep-unparseable,crossencoder-unavailable,rerank-timeout), andconfig-path-outside-repofor the selected corpus before interpreting results, including zero hits. Foreign-corpus hits do not establish coverage or successful grounding of the selected repository. For each relevant selected-corpus chunk, return:{ claim, path, line_range, heading_path, score, snippet (≤200 chars) }. Use the corpus-relativepath, not the absolute key indocs. Do not paraphrase beyond the snippet or answer the user. For a truncated supporting chunk, read its file withread_markdown { cwd, corpus, path, line_numbers: true }. Quote the exact supporting numbered lines. Return{ found, incomplete_retrieval, warnings, remaining_warnings, evidence }. Carry selected-corpus readiness warnings verbatim, including their checkout or root information. Setincomplete_retrieval: truewhile coverage is incomplete or reconciliation remains unresolved. Also set it when any lexical fallback warning is present: those results are not evidence of absence.found: falsemeans no supporting evidence was retrieved; it does not by itself establish a wiki gap.
Ground provides per-file summary, keywords, score, mtime, corpus, chunks[].
Each chunk provides heading_path, 1-based line_range, score, and snippet.
Pass citation material unchanged.
If evidence is insufficient:
corpus_stats { cwd, corpus } call.list_tree { cwd, corpus } once, unless the root already supplied that tree.read_markdown { cwd, corpus, path, line_numbers: true }.
Count pages, not batch calls; use the same checkout and corpus.The recovery budget is one stats call, one identical Ground retry, one tree listing, and five fallback page reads.
Do not poll, loop, call index, change configuration, or write a wiki page.
These limits do not restrict normal citation verification reads.
path:start-end, optionally with its heading breadcrumb.
Use supporting file content from fallback reads just as you use Ground chunks.certain for directly stated evidence or partial for implied or incomplete evidence.not in wiki and authoring gaps only with complete retrieval or direct file evidence supporting that absence.
Limit any absence conclusion to the scope actually checked.
Five unsuccessful fallback reads do not establish a corpus-wide absence.not in wiki, an authoring gap, or a wiki-ingest recommendation.Confirm that each cited range contains the claim.
For critical claims or truncated snippets, read the file with
read_markdown { cwd, corpus, path, line_numbers: true }.
Use its 1-based gutters rather than counting lines by hand.
| Input | Disposition and bounded action |
|---|---|
| Zero hits; selected corpus has 0/42 files indexed | Return incomplete retrieval, not a wiki gap. Check stats once; use the same-corpus tree and up to five pages if needed. |
| Foreign hits; selected corpus is unindexed | Do not claim local grounding succeeded. Preserve local warnings and recover only within the original checkout and corpus. |
| One stats call shows complete file coverage | Retry the identical Ground call once if evidence is insufficient. Retain any reconciliation warning; coverage alone does not clear it. |
| Reconciliation remains pending | Report the limitation, even if fallback file content supports an answer. Stop after the bounded reads; do not poll. |
| Fully covered, warning-free search | Cite supporting chunks normally. Report unsupported sub-questions as scoped gaps under the existing evidence rules. |
**Answer** (<certain|partial|not in wiki>)
<lead-first synthesis, every knowledge claim carrying a path:line citation>
**Sources**
- path:line — <heading breadcrumb> — <what it supports>
**Retrieval limitations** (omit if none)
- <selected corpus, remaining tool warnings, checked scope, and unresolved sub-question>
**Gaps** (omit unless absence is supported)
- <sub-question and scope supported by complete retrieval or direct file evidence>
Iron Law: No wiki-absence conclusion from incomplete retrieval alone.
Red flags: Zero hits become a gap; foreign hits replace local evidence; complete file coverage hides pending reconciliation.
| Rationalization | Why it fails | Required action |
|---|---|---|
| "No hits means no knowledge." | Retrieval can be incomplete. | Inspect warnings and use bounded recovery. |
| "The main checkout has hits." | Another checkout changes the evidence scope. | Keep the original checkout and corpus. |
| "All files are indexed, so reconciliation finished." | Coverage does not establish freshness. | Preserve remaining reconciliation warnings. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub paulnsorensen/hallouminate --plugin hallouminate7 skills in this plugin
/installInstall hallouminate and bootstrap the user's first LLM-authored per-repo wiki. Use when the user runs /install from the hallouminate skill pack, or asks to "install hallouminate", "set up hallouminate", "get hallouminate working", or "start a hallouminate wiki" on a machine without a working install. Do NOT use when the binary already works — route a brand-new wiki to wiki-init and new content to wiki-ingest./wiki-harvest-memoryManually curate durable, repository-specific knowledge from local Claude Code or Codex memories into the current hallouminate wiki./wiki-ingestFolds new source material or a recorded fact into an existing hallouminate wiki, merging each claim into the page it extends. Use when the user says "add this to the wiki", "ingest these docs", "update the wiki with what we learned", "remember this", "record this decision", or invokes /wiki-ingest <path|topic>. Do NOT use to bootstrap an empty wiki (/wiki-init) or to answer a question (/wiki-query)./wiki-initBootstrap a hallouminate wiki from scratch by interviewing the user with Socratic questioning, then writing the first entries. Use when a repo has no wiki yet or the corpus is near-empty — "start a wiki", "bootstrap the knowledge base", "interview me about this project", "set up the wiki", "/wiki-init". Do NOT use to answer questions (use wiki-query) or to fold new source docs into an existing wiki (use wiki-ingest)./wiki-reindexTriage and repair a hallouminate ground-store mismatch at daemon startup. Use when hallouminate fails to start or complains about the store — "store schema stale", "store schema version ... is NEWER than this build expects", "embedding store mismatch", "/wiki-reindex", "reindex after upgrade", "ground store out of date". Do NOT use to bootstrap a new wiki (use wiki-init) or to fold new documents into an existing corpus (use wiki-ingest)./wiki-roadmapAuthor or extend a wiki roadmap in milknado's importable format — .hallouminate/wiki/roadmaps/<slug>/ with an index.md plus one goal file per goal. Use when the user wants execution-ready planning in the wiki — "create a roadmap", "add a roadmap", "add a goal to the roadmap", "plan the next milestone in the wiki", "/wiki-roadmap". Writes from the pack's roadmap templates (templates/roadmap/) so an installed milknado seeds the graph with `milknado roadmap import <slug>`, zero rework. Do NOT use to run or decompose the roadmap (milknado's load-roadmap and planner own execution) or to write outcomes back into goal files (milknado's harvest owns the Outcome block).