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.
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-evalsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install rag-observability-evals in Claude Code
git clone --depth 1 https://github.com/lingxling/awesome-skills-cn /tmp/awesome-skills-cn && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-skills-cn/antigravity-awesome-skills/skills/rag-observability-evals ~/.gemini/antigravity-cli/skills/rag-observability-evalsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install rag-observability-evals in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
