code-intel: Skill for Claude Code

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

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

A guide for building Qdrant search requests that combine different retrieval methods, such as dense vectors for meaning and sparse vectors for exact words. Qdrant is a database designed for storing and searching vectors.

In plain words
What is it for?
It is for designing hybrid searches, choosing sparse-vector approaches, using named vectors, and combining searches with filters in Qdrant.
Why use it?
It helps avoid missed keyword matches and supports searches across multiple vector fields or query types in one request.

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/search-types/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-prefetches

README.md
[![agentmods](https://agentmods.dev/badge/skills/secondlifes/code-intel/search-types/github.svg)](https://agentmods.dev/skills/secondlifes/code-intel/search-types)
Your own site
<a href="https://agentmods.dev/skills/secondlifes/code-intel/search-types"><img src="https://agentmods.dev/badge/skills/secondlifes/code-intel/search-types/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-prefetches

Your own site · 80×15
<a href="https://agentmods.dev/skills/secondlifes/code-intel/search-types"><img src="https://agentmods.dev/badge/skills/secondlifes/code-intel/search-types.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,880 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 94% 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.00081 $0.01880
Opus 5.5 $0.00032 $0.00752
Sonnet 5.5 $0.00016 $0.00376
Haiku 4.5 $0.00008 $0.00188

Measured 3mo ago against content hash 08f74ea14365, 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-prefetches 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

94% identical to qdrant-hybrid-search-prefetches — 8 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/search-types/SKILL.md · 70 lines

How it starts

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

Different Searches in One Query API Request

Each prefetch runs exactly one search per one query.

Understand if user wants to run several parallel searches on:

  1. The same vector representations but different queries or filters.
  2. Different vector representations but the same raw query.

If first, help user to design logic of constructing query or/and filters on application side and then check Combining Searches. Don't forget to create indices on filterable payload fields, immediately after collection creation, prior to building HNSW, so filterable HNSW could be constructed.

If second, use named vectors, which allow to store multiple vector types per point in one collection. Beware that named vectors currently can be configured only at collection creation. To choose vectors, check following recommendations.

Missed Keyword Matches

Use when: pure vector search misses exact term or keyword matches and you need lexical retrieval alongside semantic search.

Most likely you need a sparse vector for exact text search alongside the dense one. Qdrant uses sparse vectors for lexical searches, as payload filtering doesn't provide any ranking score.

Choose a Sparse Vector for Text

  • BM25 statistical representations, built into Qdrant core (computed server-side). Good baseline, works out-of-domain, usually for long texts. Can be used for non-English content, but needs to be configured per language (tokenization, stemming, stopwords, etc) at indexing and retrieval time. More in Text Search Guide
  • BM42 learned sparse, based on BM25, but better for small chunks of text & with meaning understanding. Works only on English. Requires fine-tuning for domain-specific retrieval. Requires FastEmbed (Python/REST only, not available in all SDKs). Not maintained.
  • miniCOIL learned sparse, BM25 with additional understanding of words meaning in context. Works only on English. Requires fine-tuning for domain-specific retrieval. Requires FastEmbed. Usage shown in FastEmbed miniCOIL documentation.
  • SPLADE++ learned sparse with term expansion. Heavier inference and resources usage but better performance due to term expansion. Requires fine-tuning for domain-specific retrieval. Provided in Qdrant Cloud Inference and FastEmbed versions work only on English. To use with FastEmbed, check FastEmbed SPLADE documentation.
  • External learned sparse embeddings, for example BAAI/bge-m3.

Read the full file on GitHub · 70 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 · 70 lines · 81 tokens per session scan A 08f74ea14365

Subscribe to this mod's changes

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

Related

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

qdrant-hybrid-search-prefetches next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qdrant-hybrid-search-prefetchesSecondLifes/code-intelSkill33mo agoApache-2.0A81Claude Code
chromaNousResearch/hermes-agentSkill267ktodayMITA12Claude Code, Codex
embeddingsruvnet/rufloSkill83ktodayMITA62Claude Code
rag-pineconedavila7/claude-code-templatesSkill34ktodayMITA65Claude Code, Codex
pgvector-semantic-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A190Cursor
postgres-hybrid-text-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A162Cursor
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.9k21d agoApache-2.0A30Claude Code, Codex