| name | query |
| description | Search the wiki and synthesize an answer with citations |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash, mcp__qmd_search |
Query the Wiki
Answer questions by searching the wiki and synthesizing information with citations.
Workflow
- Search for relevant pages using qmd (MCP tool
mcp__qmd_search) if available. Also read wiki/index.md for an overview.
- If qmd is not available, fall back to reading
wiki/index.md and using Grep to search wiki pages.
- Read the relevant wiki pages.
- Synthesize an answer using information from those pages.
- Cite sources using
[[wikilinks]] (e.g., "According to [[Source - Article Title]]...").
- If the answer is substantial and reusable, ask the user if it should be filed as a new analysis page in
wiki/.
If filing as a wiki page
- Create
wiki/<descriptive-title>.md with type analysis frontmatter.
- Update
wiki/index.md under the Analyses section.
- Append to
wiki/log.md: ## [YYYY-MM-DD] query | <Question summary>
- Commit and push:
git add wiki/
git commit -m "wiki: query - <short description>"
git push
If no relevant pages found
Tell the user what's missing and suggest sources that could fill the gap.