From llm-observability
Guides adding offline and online evaluation to LLM/agent apps using frameworks like promptfoo, DeepEval, or Ragas. Covers reference-based and LLM-as-a-judge scoring for correctness, faithfulness, relevance, and safety.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-observability:add-llm-evalsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Observability tells you *what happened*; evaluation tells you *whether it was good*. Add both an offline suite (runs in CI on a fixed dataset) and, optionally, online scoring (grades production traffic).
Observability tells you what happened; evaluation tells you whether it was good. Add both an offline suite (runs in CI on a fixed dataset) and, optionally, online scoring (grades production traffic).
Two families, use both where relevant:
For RAG specifically, use the standard quartet: faithfulness, answer relevance, context precision, context recall (Ragas implements these).
promptfoo (YAML, great for prompt/RAG + CI), DeepEval (pytest-style, 40+ metrics), or Ragas (RAG metrics). Pick one; don't hand-roll.See references/frameworks.md for a minimal promptfoo config and a DeepEval test example.
Sample production traffic and score it with LLM-as-a-judge (most observability platforms - Langfuse, Phoenix, Opik, Braintrust - run these on live traces). Alert when a quality score drops. This catches drift the offline suite can't (real inputs shift over time).
LLM-as-a-judge: Zheng et al. 2023 (MT-Bench/Chatbot Arena). Reference-free hallucination detection: SelfCheckGPT (Manakul et al. 2023). See this repo's README → Research & Benchmarks.
npx claudepluginhub contextjet-ai/awesome-llm-observabilityImplements LLM evaluation strategies: automated metrics, LLM-as-judge, human feedback, and benchmarking for RAG pipelines, agentic tasks, and structured outputs.
Implements evaluation strategies and quality gates for LLM outputs: structural validation, semantic checks, LLM-as-judge with bias mitigations, prompt testing, and guardrails. Use for evals, CI gates, quality measurement, regressions.