Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

rag-observability-evals

Skill by lingxling

Explains how to monitor and evaluate retrieval-augmented generation (RAG) systems with RAGAS metrics, groundedness scoring, retrieval metrics and Prometheus export. Aimed at teams running RAG in production who need regression testing.

  • Score 69
  • 343 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install rag-observability-evals

Built from the published package, never by AI.

git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/rag-observability-evals ~/.claude/skills/rag-observability-evals

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install rag-observability-evals in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide with Python code samples for measuring RAG systems as production services. It covers retrieval metrics such as Recall@k, MRR and NDCG@k, a RAGAS evaluation script, and a groundedness scorer that labels each claim in an answer as supported, partially supported or not supported against the retrieved context. It also includes a Prometheus exporter for stage latency, quality, hallucination, token and index staleness metrics.

The source also describes a nightly Kubernetes CronJob that runs offline evals against a benchmark dataset and can fail on regression, along with advice on online shadow evals and release gates. It is aimed at teams deploying RAG systems to production who need quality monitoring. The skill is documentation only, and helper scripts and templates are not bundled.

Written from the project's SKILL.md and checked against it.

What it can do

  • RAGAS evaluationRuns faithfulness, answer relevancy, context precision and context recall metrics with the ragas library.
  • Groundedness scoringUses an OpenAI model to label each answer claim as supported, partially supported or not supported.
  • Retrieval metricsComputes Recall@k, MRR and NDCG@k for retrieved chunks.
  • Prometheus metrics exportExposes stage latency, groundedness, hallucination, token and index staleness metrics.
  • Nightly eval CronJobShows a Kubernetes CronJob that runs nightly evals and can fail on regression.
  • Release gatingDescribes gating releases on minimum quality, safety and latency thresholds.

What you need

  • Python 3.10+
  • ragas, langchain and openai Python libraries
  • OpenAI API access for the groundedness script
  • Prometheus endpoint
  • Benchmark dataset with question, answer and source triples
  • OpenTelemetry SDK in the RAG service

Try asking

  • Score my RAG answers for groundedness against their retrieved contexts
  • Compute Recall@5, MRR and NDCG for my retrieval results
  • Write a Prometheus exporter for my RAG latency and hallucination metrics

Good to know

  • Docs-only; helper scripts and templates are not bundled.
  • The groundedness script hardcodes the gpt-4o model.
  • Requires authorized access to the target environment.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: antigravity-awesome-skills/skills/rag-observability-evals/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to rag-observability-evals

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

rag-observability-evals: common questions

Does this skill include ready-to-run scripts?

No. The source says it is docs-only and that helper scripts and templates are not bundled, but code samples are shown inline in SKILL.md.

Which metrics does it cover?

It covers retrieval quality (Recall@k, MRR, NDCG), generation quality (groundedness, hallucination rate) and reliability and cost (latency, token usage, cache hit rate).

What does it need to run?

The source lists Python 3.10+ with ragas, langchain and openai, a Prometheus endpoint, a benchmark dataset and an OpenTelemetry SDK in the RAG service.

How do I install rag-observability-evals?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is rag-observability-evals free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is rag-observability-evals safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to rag-observability-evals?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

rag-observability-evals Install

Add to stack

Loading.