Skills for Real Engineers. Straight from my .agents directory.
rag-observability-evals
Agent skill fromBagelHole/DevOps-Security-Agent-Skills
Monitor and evaluate RAG systems with retrieval quality metrics, groundedness checks, hallucination detection, and continuous regression testing.
How to install rag-observability-evals
npx skills add BagelHole/DevOps-Security-Agent-Skills# or add only this skill to Claude Code: copy the folder
devops/ai/rag-observability-evals/
# into
~/.claude/skills/rag-observability-evals/ (all projects)
.claude/skills/rag-observability-evals/ (one project)
1# RAG Observability and Evaluations23Run retrieval-augmented generation like a measurable production system, not a black box.45## When to Use This Skill67- Deploying a RAG system to production and need quality monitoring8- Setting up automated evaluation pipelines for retrieval and generation9- Debugging hallucination or relevance regressions10- Building dashboards for RAG-specific golden signals11- Establishing quality gates for RAG pipeline changes1213## Prerequisites1415- RAG pipeline with instrumented retrieval and generation stages16- Python 3.10+ with evaluation libraries (ragas, langchain, openai)17- Prometheus endpoint for custom metrics export18- Benchmark dataset with gold-standard question/answer/source triples19- OpenTelemetry SDK integrated into the RAG service2021## What to Measure2223### Retrieval Quality24- Recall@k and MRR for top-k chunks25- Citation coverage and source freshness26- Embedding drift and index staleness2728### Generation Quality29- Groundedness score (answer supported by retrieved context)30- Hallucination rate by route/use case31- Instruction adherence and format validity3233### Reliability and Cost34- p50/p95 latency split by retrieval vs generation35- Token usage per stage36- Cache hit rate and cost per successful answer3738## RAGAS Evaluation Script3940```python41# rag_eval.py42"""Evaluate RAG pipeline quality using RAGAS metrics."""43from ragas import evaluate44from ragas.metrics import (45 faithfulness,46 answer_relevancy,47 context_precision,48 context_recall,49…
Excerpt shown under the repository's MIT license.
More skills in DevOps-Security-Agent-Skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
