Skip to content
Back to skills

Retrieval Evaluation

ASecurity

"Run BEIR retrieval backends and metric evaluation for dense,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill retrieval-evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Retrieval Evaluation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Retrieval Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-retrieval-evaluation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-retrieval-evaluation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: retrieval-evaluation
description: "Run BEIR retrieval backends and metric evaluation for dense,
  sparse, lexical, API-backed, FAISS, and custom models."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Retrieval Evaluation

Use this sub-skill when the task is to retrieve BEIR results, evaluate metrics, choose a first-stage backend, validate a custom retriever model, persist embeddings, or diagnose optional retrieval backends.

## Route

- Start with [references/workflows.md](references/workflows.md) for end-to-end exact dense, FAISS, sparse, BM25, API-backed, custom-model, metric, and export workflows.
- Use [references/api-reference.md](references/api-reference.md) for `EvaluateRetrieval`, backend classes, model protocols, metric names, and result/runfile APIs.
- Use [references/model-and-backend-guide.md](references/model-and-backend-guide.md) to choose exact vs FAISS vs sparse vs BM25/API backends and inspect optional dependency readiness.
- Use [references/troubleshooting.md](references/troubleshooting.md) for score-function errors, qrels/results mismatches, identical IDs, missing FAISS, Elasticsearch service failures, API credentials, embedding cache issues, and scale limits.

## Bundled Helpers

- Offline retrieval smoke test: `python scripts/retrieval_smoke.py`
- Save smoke-test runfile/results: `python scripts/retrieval_smoke.py --output-dir beir-retrieval-smoke-output`
- Optional backend inventory without service calls: `python scripts/inspect_optional_backends.py --json`

## Boundaries

- This sub-skill owns `EvaluateRetrieval`, dense exact search, dense FAISS search, sparse search, BM25/Elasticsearch lexical search, retrieval model wrappers, API-backed embedding wrappers, custom retrieval model protocols, metric evaluation, embedding persistence, and retrieval result export.
- Route dataset file schemas, `GenericDataLoader`, `HFDataLoader`, and BEIR JSONL/TSV validation to [../data-loading/SKILL.md](../data-loading/SKILL.md).
- Route second-stage reranking with cross-encoders, MonoT5, or reranker classes to [../reranking/SKILL.md](../reranking/SKILL.md).
- Route model training, query generation, passage expansion, and answer generation to their own sibling sub-skills when present.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md10.6 KB
  • references/model-and-backend-guide.md10.3 KB
  • references/troubleshooting.md11.4 KB
  • references/workflows.md10.3 KB
  • scripts/inspect_optional_backends.py4.7 KB
  • scripts/retrieval_smoke.py7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.