What problem does it solve?
Teams running LLM features in production need automated scoring of AI outputs to catch real failure modes, but manually configuring evaluations risks wrong scope, wasted LLM-judge cost, and evals that never fire. This Skill turns observed production failures into scoped, verified, continuously-running evaluations in PostHog AI observability.
Core Features & Use Cases
- Failure-driven eval proposals: Converts ranked failure modes from production traces into a plain-language candidate set and lets the user pick which evals to create.
- Full eval lifecycle: Chooses eval type (hog, llm_judge, sentiment), target (generation, trace, session), provider keys, and conditions, then creates disabled, verifies scope with SQL volume checks, and enables.
- Safe fallbacks: Proposes a sentiment eval when no failure mode is found, and redirects to instrumentation when no $ai_generation events exist.
- Use Case: After discovering that support replies drift off topic ~40 times per day, use this Skill to propose and create an llm_judge evaluation that scores each matching generation, verify its event volume, and enable it with a UI link for review.
Quick Start
Create an online evaluation in PostHog that continuously checks whether my AI agent's replies stay on the user's topic.