hybrid-search-implementation

hybrid-search-implementation is a skill for Claude Code, Codex from is-bo/fullstack-forge-skill. It costs 35 tokens per session (421 once invoked), scanned A, a copy of hybrid-search-implementation, Apache-2.0.

A guide to combining keyword search with vector search, which finds text by meaning. This combined approach can match both exact terms and related concepts.

In plain words
What is it for?
Use it to build search engines and retrieval systems for RAG, an approach where an AI retrieves source material before answering.
Why use it?
It helps when either search method alone misses relevant results, especially queries containing names, codes, or specialist vocabulary.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build search engines and retrieval systems for RAG, an…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/is-bo/fullstack-forge-skill/hybrid-search-implementation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add is-bo/fullstack-forge-skill --skill hybrid-search-implementation
Clone the repo
git clone --depth 1 https://github.com/is-bo/fullstack-forge-skill

Made for: Claude Code, Codex.

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 hybrid-search-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/is-bo/fullstack-forge-skill/hybrid-search-implementation.svg)](https://agentmods.dev/skills/is-bo/fullstack-forge-skill/hybrid-search-implementation)
Your own site
<a href="https://agentmods.dev/skills/is-bo/fullstack-forge-skill/hybrid-search-implementation"><img src="https://agentmods.dev/badge/skills/is-bo/fullstack-forge-skill/hybrid-search-implementation.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 421 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 100% 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.00035 $0.00421
Opus 5 $0.00017 $0.00211
Sonnet 5 $0.00007 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured 3d ago against content hash 38d33722a545, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

hybrid-search-implementation 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 3d 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

100% identical to hybrid-search-implementation — 0 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.

third_party/agent-skills/wshobson-agents/content/plugins/llm-application-dev/skills/hybrid-search-implementation/SKILL.md · 57 lines

What it actually says

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

Method Description Best For
RRF Reciprocal Rank Fusion General purpose
Linear Weighted sum of scores Tunable balance
Cross-encoder Rerank with neural model Highest quality
Cascade Filter then rerank Efficiency

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 57 lines · 35 tokens per session scan A 38d33722a545

Subscribe to this mod's changes

hybrid-search-implementation is a skill published in the GitHub repository is-bo/fullstack-forge-skill (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 421 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to hybrid-search-implementation, differing in 0 lines, and is treated as a copy.