
BM25 full-text search over your pro-workflow wikis, built on SQLite FTS5. Run it before drafting new wiki pages to avoid duplicating coverage, or when the user asks "what does the wiki say about X." Returns ranked passages with citations in a JSON-friendly format. The SessionStart integration is clever: it auto-queries on relevant prompts and injects top hits so Claude recalls existing knowledge instead of researching from scratch. Right now it's pure BM25 with basic snippets. Vector search and MMR diversity are planned for later releases, but the current implementation already solves the main problem of surfacing what you've already documented.
$ npx -y skills add rohitg00/pro-workflow --skill wiki-query --agent claude-codeInstalls into .claude/skills of the current project.
FTS5 BM25 retrieval over wiki pages indexed by wiki-builder.
SessionStart auto-load when prompt matches a known wiki topicnode $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.
JSON-friendly. Each hit:
{
"page_id": 12,
"wiki_slug": "agent-memory",
"rel_path": "wiki/concepts/episodic-memory.md",
"title": "Episodic Memory",
"snippet": "... [time-stamped] traces, distinct from semantic ...",
"rank": -3.21
}
Lower (more negative) rank = better BM25 match.
Every wiki hit must be cited as:
[wiki:<slug>] <title> — `<rel_path>`
Do not paraphrase a hit without showing the source.
Sponsors