code-intel: Skill for Claude Code

.agents/skills/qdrant-search-quality/search-strategies/hybrid-search/combining-searches/SKILL.md

qdrant-hybrid-search-combining is a skill for Claude Code from SecondLifes/code-intel. It costs 72 tokens per session (1,147 once invoked), scanned A, a copy of qdrant-hybrid-search-combining, Apache-2.0.

A guide to combining results from several searches into one ranked list. It covers searches such as BM25 text matching and dense-vector similarity, whose scores are often on different scales, using methods including RRF and DBSF.

In plain words
What is it for?
Fusing sparse and dense search results, choosing between Reciprocal Rank Fusion and Distribution-Based Score Fusion, adding weights, tuning rank sensitivity, and building multi-stage combinations.
Why use it?
It helps when separate searches cannot be compared directly or when a combined search returns poor rankings. It provides a rank-based baseline and score-normalisation approaches.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is SecondLifes/code-intel's own configuration. It tells Claude Code how to work on code-intel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything code-intel configures →

Part of the codeintel plugin — 32 skills, 14 commands shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to SecondLifes/code-intel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SecondLifes/code-intel/main/.agents/skills/qdrant-search-quality/search-strategies/hybrid-search/combining-searches/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SecondLifes/code-intel

Made for: Claude Code.

Or install codeintel, the plugin that ships this one along with the rest of its 32 skills, 14 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qdrant-hybrid-search-combining

README.md
[![agentmods](https://agentmods.dev/badge/skills/secondlifes/code-intel/combining-searches/github.svg)](https://agentmods.dev/skills/secondlifes/code-intel/combining-searches)
Your own site
<a href="https://agentmods.dev/skills/secondlifes/code-intel/combining-searches"><img src="https://agentmods.dev/badge/skills/secondlifes/code-intel/combining-searches/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qdrant-hybrid-search-combining

Your own site · 80×15
<a href="https://agentmods.dev/skills/secondlifes/code-intel/combining-searches"><img src="https://agentmods.dev/badge/skills/secondlifes/code-intel/combining-searches.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,147 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01147
Opus 5.5 $0.00029 $0.00459
Sonnet 5.5 $0.00014 $0.00229
Haiku 4.5 $0.00007 $0.00115

Measured 3mo ago against content hash 03208eba091f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qdrant-hybrid-search-combining scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to qdrant-hybrid-search-combining — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/qdrant-search-quality/search-strategies/hybrid-search/combining-searches/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Combining Prefetch Results

The outer query fuses ranked candidate lists from all parallel prefetches into one ranked list of results. Fusion methods differ in whether they use rank, score or directly vector representations of candidates (their similarity to the outer query) and whether final score incorporates payload metadata. All methods support flat (one fusion step) and nested (multi-stage) prefetch structures.

Scores Are Not Comparable Across Prefetches & You Want Some Easy Baseline

Use when: searches produce scores on different scales, like BM25 and cosine on dense embeddings.

RRF

  • RRF (Reciprocal Rank Fusion) — rank-based, ignores scores magnitude, a decent default to start with.
  • Tune k to control rank sensitivity in RRF fusion.
  • Add per-prefetch weights when one search should dominate, using Weighted RRF. Weights should be customized per collection and retrievers' score distributions!

DBSF

  • DBSF (Distribution-Based Score Fusion) — normalizes score distributions per prefetch before fusing them, for that, instead of min-max, uses mean +- 3 deviations on prefetched list of scores. Avoid relying on resulting absolute scores, as scores in DBSF are normalized per prefetch (aka per a retrieved list of search results), and might be uncomparable across queries.

Need Custom Fusion

Use when: recency, popularity or other payload values should affect the merged ranking alongside candidate scores or you need a custom fusion.

With formula query, access score of each prefetch and, if desired, payload field values.

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 55 lines · 72 tokens per session scan A 03208eba091f

Subscribe to this mod's changes

qdrant-hybrid-search-combining is a skill published in the GitHub repository SecondLifes/code-intel (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,147 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to qdrant-hybrid-search-combining, differing in 10 lines, and is treated as a copy.

Related

qdrant-hybrid-search-combining compared with skills from other repositories

qdrant-hybrid-search-combining next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qdrant-hybrid-search-combiningSecondLifes/code-intelSkill33mo agoApache-2.0A72Claude Code
agent-platform-rag-engine-managementgoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
embeddingsruvnet/rufloSkill83ktodayMITA62Claude Code
llm-app-patternsdavila7/claude-code-templatesSkill34ktodayMITA54Claude Code, Codex
graphifyGraphify-Labs/graphifySkill155kyesterdayApache-2.0B76Claude Code
9router-embeddingsdecolua/9routerSkill33k7d agoMITA66Claude Code, Codex
eddtruera/trulensSkill3.7k2d agoMITA63Claude Code, Codex