OpenParable
Skip to content
← Back to skills

Evalyn Analyze

Agent Building
evalyn-analyze

Evalyn Analyze is an Agent Skill for agent building published in the shihongDev/evalyn repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when analyzing evalyn evaluation results, investigating failures, comparing runs, or understanding agent performance

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/shihongDev/evalyn/blob/HEAD/sdk/skills/evalyn-analyze/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/evalyn-analyze, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

evalyn-analyze

Overview

Analyze evaluation results progressively: summary, insights, failure clustering, and trend analysis. Interpret findings and recommend next actions based on pass rates.

Pre-flight

Verify evaluation runs exist:

evalyn list-runs --limit 3

If no runs: "You need to run an evaluation first. Invoke evalyn-eval."

Identify the latest run ID from the output.

Step 1: Metric Summary

evalyn analyze --run <run-id>

This shows:

  • Per-metric pass rates and average scores
  • Key findings (highest/lowest performing metrics)
  • Overall health rating (GOOD/MODERATE/POOR)

You can also use short IDs (first 8 characters of run ID).

Step 2: Deep Insights

evalyn insights --run <run-id>

Provides diagnostic and prescriptive analysis:

  • Metric correlations (which metrics move together)
  • Anomaly detection
  • Actionable recommendations

Step 3: Compare and Trend

If multiple runs exist (check evalyn list-runs output):

evalyn compare --run1 <previous-run-id> --run2 <latest-run-id>

For longer history across all runs in a dataset:

evalyn trend --project <project-name>

Note: use --run1 and --run2 flags for compare, not positional arguments.

Step 4: Investigate Failures

If any metric has pass rate below 90%:

evalyn cluster-failures --run-id <run-id>

This clusters failed items by failure reason, revealing patterns (e.g., "all failures involve long inputs" or "failures cluster around a specific topic").

Step 5: Interpret and Recommend

Based on the results, recommend next action:

Overall Pass RateInterpretationRecommendation
Above 95%Agent performing wellConsider evalyn simulate --dataset <path> --modes similar,outlier for edge case testing. Export report: evalyn export --run <id> --format html
80-95%Moderate issuesReview failing items. Could be agent issues OR judge misalignment. Consider invoking evalyn-calibrate to verify judges are accurate.
Below 80%Significant issuesInvoke evalyn-calibrate to annotate items and check if judges agree with human expectations. Fix agent if judges are correct.

Key distinction to communicate: low pass rates can mean either (a) the agent is actually performing poorly, or (b) the LLM judges are too strict or misaligned. Calibration determines which.

Export

Offer a shareable report:

evalyn export --run <run-id> --format html

Other formats: json, csv, markdown.

Hand-off

If calibration recommended: "Invoke evalyn-calibrate to annotate results and align LLM judges with your expectations."

If agent is performing well: "Your agent looks good. To strengthen confidence, run it on more varied inputs and re-evaluate, or use evalyn simulate --dataset <path> --modes similar,outlier to generate edge cases."