From llm-observability
Measures and monitors RAG pipeline quality using the RAG quartet metrics (context precision, context recall, faithfulness, answer relevance). Diagnoses whether failures are in retrieval or generation. Helpful when a RAG system gives wrong answers or hallucinates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-observability:monitor-rag-qualityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Most "the LLM is wrong" bugs in a RAG app are actually **retrieval** bugs - the model was handed the wrong context and did its best. Measure both halves separately.
Most "the LLM is wrong" bugs in a RAG app are actually retrieval bugs - the model was handed the wrong context and did its best. Measure both halves separately.
| Metric | Question | Which half |
|---|---|---|
| Context precision | Are the retrieved chunks relevant (not noise)? | Retrieval |
| Context recall | Did retrieval find all the needed info? | Retrieval |
| Faithfulness | Is the answer grounded in the retrieved context (no made-up facts)? | Generation |
| Answer relevance | Does the answer actually address the question? | Generation |
Ragas implements all four; DeepEval and most observability platforms (Langfuse, Phoenix, Opik) have RAG evaluators too.
Read a failing trace (see debug-agent-from-traces):
npx claudepluginhub contextjet-ai/awesome-llm-observability --plugin llm-observabilityEvaluates RAG pipeline quality across retrieval (precision, recall, MRR) and generation (groundedness, hallucination rate). Diagnoses component-level failures and recommends improvements.
Guides evaluating RAG pipeline retrieval and generation quality: measuring retrieval quality, assessing generation faithfulness, generating synthetic QA pairs, and optimizing chunking strategies.
Evaluates LLM outputs for factual accuracy, relevance, safety, and alignment using RAGAS metrics and LLM-as-judge patterns. Useful for auditing responses or improving quality assurance pipelines.