/wiki-suite:wiki-query <question> [--save]from wiki-suite
Synthesize an answer from the project wiki with citations. Optionally save the result as a new wiki page. AUTOMATICALLY INVOKE when: "query the wiki", "what does the wiki say about", "synthesize from wiki", "wiki answer for", "ask the wiki about" NOT for: loading raw context (use /wiki-load), ingesting sources (use /wiki-ingest)
Ships in wiki-suite. 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.
Search the project wiki and synthesize a cited answer to a question.
From $ARGUMENTS, extract:
QUESTION: the question text (everything except flags)SAVE: true if --save flag presentLocate WIKI_DIR by searching for .wiki/log.md from the git root upward (matches hook sentinel, max 4 levels).
If not found: print "No wiki found. Run /wiki-init first." and stop.
Read .wiki/index.md in full.
This is the navigation map — never skip this step even if index was injected at session start.
Fresh read ensures synthesis reflects any pages added during this session.
From QUESTION and index contents, identify which pages are most likely relevant. Select up to 8 pages, prioritized by:
Read each page in the relevant set using the Read tool. If a page is listed in index.md but the file doesn't exist: Skip it and note: "Page [name] referenced in index but not found — run /wiki-lint"
For each page that was Read in Step 4 AND will be cited in the synthesized
answer, bump its access_count and last_accessed:
${CLAUDE_PLUGIN_ROOT}/tools/wiki-bump-access.sh <abs_path_1> <abs_path_2> ...
One invocation, all cited paths. Best-effort.
Compose an answer using the evidence gathered:
Format:
## Answer
[Direct answer — 1-3 sentences]
### Evidence
- [point from page-name](path/to/page.md)
- [point from other-page](path/to/other.md)
### Gaps
[What the wiki doesn't cover — suggest which sources to ingest if relevant]
Cite specific pages inline. Acknowledge when evidence is thin.
If SAVE is true:
.wiki/queries/SLUG.md with full answer + metadata.wiki/index.md.wiki/log.md: [TIMESTAMP] QUERY SLUG: synthesized from N pagesPrint the answer using rich output formatting:
╔═══════════════════════════════════════╗
║ 🔎 wiki-query ║
╚═══════════════════════════════════════╝
## Answer
[Direct answer — 1-3 sentences]
Evidence ([N] pages consulted)
├─ [point] — sources/page-name.md
├─ [point] — entities/entity-name.md
└─ [point] — sources/other-page.md
[If gaps exist:]
⚠ Gaps
└─ [What the wiki doesn't cover — suggest /wiki-ingest targets]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[N] pages consulted | [if --save: 📝 Saved to queries/SLUG.md]
What SKILL.md sets; muted values are Claude Code's defaults
sonnet7 skills in this plugin
/proactive-researchHook-driven proactive research pipeline. Runs automatically via UserPromptSubmit
— there is no slash command to trigger it. This page documents how it works,
how to disable it, and the env-var knobs.
/wiki-ingestAdd a source to the project wiki. Spawns a background agent — the main conversation
continues immediately while the wiki builds async. Zero wait time.
AUTOMATICALLY INVOKE when: "ingest this", "add to wiki", "learn from this",
"process this document", "track this article", "add this URL to wiki",
"ingest this paper", "add this to the knowledge base"
NOT for: querying (use /wiki-query), loading context (use /wiki-load)
/wiki-initOther plugins' skills for the same job
npx claudepluginhub whichguy/claude-craft --plugin wiki-suite