Agent skill · AI & Agents

qdrant-sparse

Qdrant sparse vector operations: collection creation with SparseVectorParams, Modifier.IDF for miniCOIL/SPLADE/BM42, upserting SparseVector points, sparse search, hybrid search with prefetch + RRF/DBSF fusion, converting model outputs to SparseVector format, payload filtering, and performance tuning. Covers the sparse vector gap not handled by the official Qdrant MCP (which only supports dense vectors via FastEmbed).

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill qdrant-sparse --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/ai-llm/qdrant-sparse/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Qdrant Sparse Vector Reference This skill covers everything needed to work with Qdrant's sparse vector features using the `qdrant-client` Python SDK. Sparse vectors are essential for lexical/token-level retrieval (miniCOIL, SPLADE, BM42) and hybrid search. ## 1. Collection Creation ### Sparse-Only Collection ```python from qdrant_client import QdrantClient, models client = QdrantClient(url="http://localhost:6333") client.create_collection( collection_name="sparse_only", vectors_config={}, # Empty — no dense vectors sparse_vectors_config={ "text": models.SparseVectorParams( modifier=models.Modifier.IDF, # Critical for miniCOIL/SPLADE/BM42 ) }, ) ``` ### Hybrid Collection (Dense + Sparse) ```python client.create_collection( collection_name="hybrid", vectors_config={ "dense": models.VectorParams( size=384, distance=models.Distance.COSINE, ) }, sparse_vectors_config={ "sparse": models.SparseVectorParams( modifier=models.Modifier.IDF, ) }, ) ``` ### Multiple Sparse Vector Fields A collection can have multiple named sparse vector fields: ```python client.create_collection( collection_name="multi_sparse", vectors_config={}, sparse_vectors_config={ "title": models.SparseVectorParams(modi

What's inside
Steps it walks through
  1. 1. Collection Creation
  2. Sparse-Only Collection
  3. Hybrid Collection (Dense + Sparse)
  4. Multiple Sparse Vector Fields
  5. 2. Modifier.IDF — When and Why
  6. 3. Sparse Vector Format
  7. Converting Model Outputs to SparseVector
  8. miniCOIL Index Encoding
  9. 4. Upserting Points
  10. Single Point
  11. Batch Upsert
  12. Hybrid Upsert (Dense + Sparse)
  13. 5. Searching
  14. Basic Sparse Search
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the qdrant-sparse skill do?

Qdrant sparse vector operations: collection creation with SparseVectorParams, Modifier.IDF for miniCOIL/SPLADE/BM42, upserting SparseVector points, sparse search, hybrid search with prefetch + RRF/DBSF fusion, converting model outputs to SparseVector format, payload filtering, and performance tuning. Covers the sparse vector gap not handled by the official Qdrant MCP (which only supports dense vectors via FastEmbed).

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill qdrant-sparse --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going