/agentdb-search:agentdb-explainable-recallfrom agentdb-search
Returns feature attributions for search results, showing which embedding dimensions or keywords drove each match. Use when debugging recall quality, auditing for bias, or explaining results to users.
Ships in agentdb-search. 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.
Standard search returns scores; explainable recall returns features — which dimensions of the embedding (or which keywords in hybrid search) drove the match.
agentdb_explainable_recall(
query: <embedding | string>
k: 5
features: 'embedding-dims' | 'bm25-tokens' | 'hybrid-both' | 'metadata'
)
Returns: [
{
id, score,
explanation: {
topDims?: [{ dim: 12, contribution: 0.18 }, ...],
topTokens?: [{ token: "jwt", contribution: 0.31 }, ...],
metadataMatch?: { topic: 'auth', project: 'api' }
}
},
...
]
| Use | Features setting |
|---|---|
| Debug an unexpected high-score | embedding-dims — see which dims spiked |
| Verify keyword fall-back works | bm25-tokens — see if exact terms were the driver |
| Confirm metadata filters fired | metadata — see which filter values matched |
| Build user-facing UI | hybrid-both — show both text-level + dim-level signals |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ruvnet/agentdb --plugin agentdb-search4 skills in this plugin
/agentdb-hybrid-searchHybrid search — BM25 keyword + dense vector fused with Reciprocal Rank Fusion. Use when queries have specific identifiers, code symbols, or proper nouns that pure semantic search might miss./agentdb-mmrMaximal Marginal Relevance rerank — get diverse top-k instead of redundant top-k. Use when standard search returns 5 near-duplicates, or when you want broader coverage of a topic./agentdb-quantized-searchSpeed up AgentDB's built-in sql.js vector backend on large collections with the opt-in RaBitQ 1-bit quantized index (@ruvector/rabitq-wasm). Use when SqlJsRvfBackend search gets slow past ~10,000 vectors, when choosing between exact and approximate search for a browser or no-native install, or when the user asks about RaBitQ or quantized search in AgentDB.Other plugins' skills for the same job