Context Ranking · seb1n/awesome-ai-agent-skills

Rerank retrieved chunks by relevance and diversity

Rescoring and reordering retrieved candidate chunks with a cross-encoder reranker plus diversity selection, so the final list balances relevance, freshness, and topic coverage. Useful when initial search results feel redundant or narrowly focused.

Good for

  • Rerank search candidates with a cross-encoder
  • Add diversity so results aren't redundant
  • Select the final chunks to inject
Category
Coding

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Rerank these retrieved candidate chunks for relevance and diversity, then pick the top 5 for my prompt.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.