Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/AI & Agent Building
wshobson avatar

Hybrid Search Implementation

wshobson/agents

Combines vector similarity search with keyword matching using reciprocal rank fusion and linear score combination. Includes PostgreSQL implementations with pgvector for when you need both semantic understanding and exact term matching in RAG systems. The templates handle score normalization, metadata filtering, and cross-encoder reranking. Most useful when pure vector search misses specific names or technical terms that users search for literally. The RRF approach works well out of the box, while the weighted linear combination gives you more control when you know your data patterns.

installs
10.9K
GitHub stars
41.8K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add wshobson/agents --skill hybrid-search-implementation --agent claude-code

Installs into .claude/skills of the current project.

Files

Hybrid Search Implementation

Patterns for combining vector similarity and keyword-based search.

When to Use This Skill

  • Building RAG systems with improved recall
  • Combining semantic understanding with exact matching
  • Handling queries with specific terms (names, codes)
  • Improving search for domain-specific vocabulary
  • When pure vector search misses keyword matches

Core Concepts

1. Hybrid Search Architecture

Query → ┬─► Vector Search ──► Candidates ─┐
        │                                  │
        └─► Keyword Search ─► Candidates ─┴─► Fusion ─► Results

2. Fusion Methods

MethodDescriptionBest For
RRFReciprocal Rank FusionGeneral purpose
LinearWeighted sum of scoresTunable balance
Cross-encoderRerank with neural modelHighest quality
CascadeFilter then rerankEfficiency

Templates and detailed worked examples

Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

Best Practices

Do's

  • Tune weights empirically - Test on your data
  • Use RRF for simplicity - Works well without tuning
  • Add reranking - Significant quality improvement
  • Log both scores - Helps with debugging
  • A/B test - Measure real user impact

Don'ts

  • Don't assume one size fits all - Different queries need different weights
  • Don't skip keyword search - Handles exact matches better
  • Don't over-fetch - Balance recall vs latency
  • Don't ignore edge cases - Empty results, single word queries

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/wshobson/agents
Categories
AI & Agent Building, Marketing & SEO

More from wshobson/agents

All 174
  • Web3 Testing10.9K
  • Sast Configuration10.8K
  • Distributed Tracing10.8K
  • Screen Reader Testing10.8K
  • Multi Cloud Architecture10.8K
  • Saga Orchestration10.8K
  • Spark Optimization10.8K
  • Similarity Search Patterns10.7K
  • Vector Index Tuning10.7K
  • Hybrid Cloud Networking10.7K
  • Turborepo Caching10.7K
  • Pci Compliance10.6K
  • Projection Patterns10.6K
  • Employment Contract Templates10.6K
  • Defi Protocol Templates10.5K
  • Slo Implementation10.5K
  • Team Composition Analysis10.4K
  • Mtls Configuration10.4K
  • On Call Handoff Patterns10.4K
  • Service Mesh Observability10.4K
  • Track Management10.4K
  • Bazel Build Optimization10.4K
  • Istio Traffic Management10.4K
  • Nft Standards10.3K

Recommended

More AI & Agent Building
1wshobson avatarparallel-feature-developmentwshobson/agentsCoordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use t10Kinstalls
2getcargohq avatarcargo-aigetcargohq/cargo-skillsCreate and configure AI agents, attach knowledge for RAG, manage MCP servers, and handle agent memories using the Cargo CLI. Use when the user wants to create o10Kinstalls
3wshobson avatartask-coordination-strategieswshobson/agentsDecompose complex tasks, design dependency graphs, and coordinate multi-agent work with proper task descriptions and workload balancing. Use this skill when bre9.9Kinstalls
4okx avatarokx-aiokx/onchainos-skillsERC-8004 Agent identity: 注册/更新/上架/下架/搜索agent, register/update/activate/deactivate/search — User/ASP/Evaluator(买家/卖家/评审员, 旧称仲裁者亦可); 我的agent/ASP, 找做X的ASP/agent有什么9.9Kinstalls
5getcargohq avatarcargo-contentgetcargohq/cargo-skillsManage workspace knowledge files and libraries in the Cargo content domain — upload, list, rename, move, and remove files (PDFs, CSVs, text), and create or sync9.9Kinstalls
6wshobson avatarteam-composition-patternswshobson/agentsDesign optimal agent team compositions with sizing heuristics, preset configurations, and agent type selection. Use this skill when deciding how many agents to 9.7Kinstalls