# RAG reranker tuning

> Adds and tunes a RAG reranker so the right document rises to the top instead of getting buried in noise.

- Page: https://youraiskill.com/skill/agentsope-agentsop-reranker-stage
- What it does: Adds and tunes a reranker stage for RAG using the retrieve-wide, rerank-narrow pattern. Use when relevant documents appear in the initial top-N but are buried by noise, top-1 precision or MRR is low despite adequate recall, or too many marginal chunks consume context. Covers cross-encoder, API, and local rerankers; N-to-k selection; and latency/cost tradeoffs. Do not use when retrieval recall itself is failing.
- Niches: ai-agents
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (4 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
