Enhancement-overlay SOP for the reranker stage of a RAG pipeline — the "retrieve wide, rerank narrow" discipline.
A skill in “Agent infrastructure and automation”. Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Full description
Enhancement-overlay SOP for the reranker stage of a RAG pipeline — the "retrieve wide, rerank narrow" discipline. Activate when a calling agent owns a retrieval pipeline whose answers have plateaued: top-k contains the right document but it is buried below noise, or the context window is under pressure from too many marginal chunks. Encodes the one non- negotiable insight — a cheap bi-encoder retrieves *wide* for recall, then a more expensive cross-encoder (which reads query + document *together*) reranks *narrow* for precision; keep top-N=20-50, rerank to top-k=3-5. Covers when to add a reranker (and when not to), N-vs-k tuning, model choice (Cohere/Voyage API vs bge-reranker local vs SentenceTransformer cross-encoder), latency/cost budgeting, and the cross-framework mapping (LlamaIndex node postprocessors, LangChain ContextualCompressionRetriever, Cohere/Voyage rerank APIs, local cross-encoders). This is an ENHANCE overlay over the per- framework skills — cross-link `[[llamaindex]]` and `[[agentsop-hybrid-retrieval]]` for the deep API. Search keywords: cross-encoder, Cohere rerank, bge reranker, rerank RAG, ColBERT, retrieval reranking, improve RAG precision, retrieve wide rerank narrow.trigger_keywords: - "reranker" - "rerank" - "cross-encoder" - "CohereRerank" - "bge-reranker" - "SentenceTransformerRerank" - "node postprocessor" - "ContextualCompressionRetriever" - "voyage rerank" - "top_n after retrieval" - "retrieve wide rerank narrow"
Skill
Agent infrastructure and automation
35 agents
512 stars
MIT
This entry comes from the GitSkills open dataset (CC-BY-4.0). ANG did not run or audit this skill; check the source before installing.
AiderNo SKILL.md support documented for Aider.Source
PlandexNo SKILL.md support documented for Plandex.Source
CodeGPTNo SKILL.md support documented for CodeGPT.Source
SWE-agentNo SKILL.md support documented for SWE-agent.Source
mini-SWE-agentNo SKILL.md support documented for mini-SWE-agent.Source
JulesNo SKILL.md support documented for Jules.Source
Open SWENo SKILL.md support documented for Open SWE.Source
GitLab DuoNo SKILL.md support documented for GitLab Duo.Source
Support comes from each agent’s official docs on SKILL.md and MCP; ANG has not run this entry on every agent.
In plain words
No tech background needed.
What is it?
A skill is a pack of instructions you load into your agent (like Claude Code or Codex). It is like installing an app on your phone: install it once and the agent knows how to do that job.
What is it for?
Used for “Agent infrastructure and automation” work. In the publisher’s words: Enhancement-overlay SOP for the reranker stage of a RAG pipeline — the "retrieve wide, rerank narrow" discipline.
Example request
“Automate this job step by step.”
Agents
Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Can I trust it?
512 GitHub stars · MIT. Check the source before installing.
Usage
Last 30 days, on the site and in agents.
0on shelves
0views
0commands copied
0site downloads
0installed from the app
0installed by the agent
0active users
A field score needs at least 20 users and 50 tasks from the ANG app; now 0 users, 0 tasks. Until then the power score is estimated from listing data.