/wiki-query
Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. Returns top-K passages with citations. Use when answering a question that any of the user's wikis already covers, when the user says "what does the wiki say about X", "ask wiki", "search wikis", or before drafting a new
One skill from pro-workflow.
shell
$ npx -y skills add rohitg00/pro-workflow --skill wiki-query --agent claude-codeInstalls just this skill. Get the whole plugin for auto-invocation.
How it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/wiki-query
Context preview
The summary Claude sees to decide when to auto-load this skill.
Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. Returns top-K passages with citations. Use when answering a question that any of the user's wikis already covers, when the user says "what does the wiki say about X", "ask wiki", "search wikis", or before drafting a new
Stats
Stars2,638
Forks255
LanguageJavaScript
SKILL.md
wiki-query.SKILL.md
--- name: wiki-query description: Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. Returns top-K passages with citations. Use when answering a question that any of the user's wikis already covers, when the user says "what does the wiki say about X", "ask wiki", "search wikis", or before drafting a new wiki page (to avoid duplication). --- # Wiki Query FTS5 BM25 retrieval over wiki pages indexed by `wiki-builder`. ## When to use - Before writing any new wiki page → check coverage first - User asks a domain question that may already live in a wiki - "Ask the <slug> wiki: <question>" - Verifying citations before quoting a claim - `SessionStart` auto-load when prompt matches a known wiki topic ## Commands ``` node $SKILL_ROOT/scripts/query.js search "<query>" [--wiki <slug>] [--limit 10] [--json] node $SKILL_ROOT/scripts/query.js related <slug> <rel-path> [--limit 5] node $SKILL_ROOT/scripts/query.js show <slug> <rel-path> ``` `search` with no `--wiki` ranks across all wikis. `related` finds adjacent pages by reusing the page's title + summary as the query. ## Output JSON-friendly. Each hit: ``` { "page_id": 12, "wiki_slug": "agent-memory",
