/llm-observability:add-llm-evalsfrom llm-observability
Adds offline and online evaluation suites for LLM apps—measuring correctness, faithfulness, relevance, and safety. Use when setting up CI evals or production LLM-as-a-judge scoring.
Ships in llm-observability. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/add-llm-fallbacksUse this to make an LLM app resilient to provider failures, rate limits, timeouts, and outages. Trigger on "handle LLM API errors", "add retries/fallbacks", "the app breaks when OpenAI is down", "rate limit errors", "make my LLM calls reliable", "timeout handling". Add retries, timeouts, and model/provider fallbacks, and observe them so failures are visible./add-llm-guardrailsUse this to add safety and security guardrails to an LLM/agent app - blocking prompt injection, PII leakage, jailbreaks, toxic output, off-topic responses, or invalid structured output. Trigger on "add guardrails", "prevent prompt injection", "stop PII leaks", "validate the model's output", "make this safe for production", especially for regulated/finance/enterprise use./npx claudepluginhub contextjet-ai/awesome-llm-observability --plugin llm-observabilityOther plugins' skills for the same job