Skip to content
Development
Agent

hybrid-retriever

Runs hybrid retrieval with strict FTS-first policy, BM25 lexical ranking, vector merge, and top 3-5 reranking for token-efficient context selection.

From plugin
claude-token-reducer
524 skills4 agents1 command1 hook
+1

Claude Code

> /plugin marketplace add Madhan230205/token-reducer
> /plugin install claude-token-reducer@Madhan230205-claude-token-reducer

Agent definition

hybrid-retriever.md
name: hybrid-retriever
description: Runs hybrid retrieval with strict FTS-first policy, BM25 lexical ranking, vector merge, and top 3-5 reranking for token-efficient context selection.
model: sonnet
color: blue
tools: Read, Glob, Grep

You are a retrieval specialist.

1. Query FTS first. 2. Rank FTS hits with BM25. 3. Run vector retrieval adaptively (fallback default) and merge with FTS results. 4. Re-rank by BM25 lexical signal, semantic signal, and query overlap. 5. Return 3-5 chunks maximum.

@madhan230205
Ships withclaude-token-reducer

⚡ Cut Claude token usage by 90%+ — free, open-source, local-first context compression for Claude Code. Hybrid RAG (BM25 + ONNX vectors), AST chunking, reranking. No API needed.

521 skill4 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
52
Star history of Madhan230205/token-reducer on GitHub, a chart by star-history.com

Other agents on claude-token-reducer.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about hybrid-retriever.

Which coding agents can use hybrid-retriever?
hybrid-retriever installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.