hybrid-search-architect

Solid

Designs a hybrid retrieval pipeline combining dense vector search and BM25 sparse search with reciprocal rank fusion, and explains when to use each configuration.

AI & Automation 9 stars 0 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
33
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Hybrid Search Architect ## What this skill does This skill designs a hybrid search pipeline that combines dense vector search (semantic similarity) with BM25 sparse search (keyword matching). Hybrid search outperforms either method alone on most retrieval benchmarks because vector search handles semantic meaning while BM25 handles exact keyword matches, product names, codes, and rare terms. This skill picks the right combination and fusion strategy for your use case. ## How to use ### Claude Code / Cline Copy this file to `.agents/skills/hybrid-search-architect/SKILL.md` in your project root. Then ask: - *"Use the Hybrid Search Architect to improve our RAG pipeline's retrieval."* - *"Design a hybrid search system for our product documentation."* Provide: - What you're searching (type of documents) - What queries look like (keywords, natural language, codes/IDs) - Your current search stack (Pinecone, Weaviate, Elasticsearch, pgvector, etc.) - Latency requirements ### Cursor / Codex Describe your current retrieval setup and query patterns alongside these instructions. ## The Prompt / Instructions for the Agent ### Step 1 — Determine if hybrid search is needed | Query pattern | Pure vector | Pure BM25 | Hybrid | |---|---|---|---| | Natural language questions | ✓ | — | ✓ | | Exact product names / SKUs | — | ✓ | ✓ | | Technical codes / IDs | — | ✓ | ✓ | | Conceptual / semantic | ✓ | — | ✓ | | Mixed (most real-world) | — | — | ✓ | **Use hybrid search when:** queries ...

Details

Author
Notysoty
Repository
Notysoty/openagentskills
Created
6 months ago
Last Updated
3 weeks ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). **Trigger when user asks to:** - Combine keyword and semantic search - Implement hybrid search or multi-modal retrieval - Use BM25/pg_textsearch with pgvector together - Implement RRF (Reciprocal Rank Fusion) for search - Build search that handles both exact terms and meaning **Keywords:** hybrid search, BM25, pg_textsearch, RRF, reciprocal rank fusion, keyword search, full-text search, reranking, cross-encoder Covers: pg_textsearch BM25 index setup, parallel query patterns, client-side RRF fusion (Python/TypeScript), weighting strategies, and optional ML reranking.

1,835 Updated 2 days ago
timescale
AI & Automation Featured

qdrant-hybrid-search

Explains hybrid search in Qdrant. Use when someone asks 'how do I setup hybrid search?', 'how to combine keyword and semantic search?', 'sparse plus dense vectors?', 'missing keyword matches', 'how to combine results from multiple searches?' and 'combining multiple representations'. Also use for how a hybrid query is scoped: 'how is IDF scoped?', 'can one tenant's data contaminate another tenant's scoring?'

232 Updated today
qdrant
AI & Automation Listed

algo-rec-hybrid

"Design hybrid recommendation systems combining multiple strategies for improved accuracy. Use this skill when the user needs to overcome single-method limitations, combine collaborative and content-based filtering, or build a production recommendation pipeline — even if they say 'combine recommendation approaches', 'best recommendation architecture', or 'cold start plus personalization'.".

25 Updated 1 months ago
charlieviettq