mejbaurbahar/awesome-qa-agent-skills/ai-agent-evaluation
Claude Code and agent skill by mejbaurbahar/awesome-qa-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when testing and evaluating AI agents and tool-using LLM systems — task-success and trajectory evaluation, tool-call correctness, LLM-as-judge calibration, regression datasets, non-determinism (pass@k), cost/latency budgets, and CI evals with DeepEval, promptfoo, LangSmith, Inspect or MLflow.
Install
npx vskill@latest install mejbaurbahar/awesome-qa-agent-skills/ai-agent-evaluationSKILL.md
The same SKILL.md was published earlier as mejbaurbahar/software-tester-skills/ai-agent-evaluation.
AI Agent Evaluation & Testing
Agents are non-deterministic, multi-step and act on the world. Test outcomes, trajectories, policy adherence and cost with datasets, not vibes.
What to measure
| Level | Metric | How | |
|---|---|---|---|
| Task outcome | Success rate | Check the end state programmatically (DB row, file, API effect) before using a judge | |
| Trajectory | Steps, loops, redundant calls, error recovery | Assert on the recorded trace (must search before answering) | |
| Tool use | Right tool, schema-valid args, no invented tools | Assert on tool-call log | |
| Response quality | Faithfulness, relevance, completeness, format | LLM-as-judge with rubric + human spot-check | |
| Policy | Respects permissions, asks confirmation for irreversible actions | Scenario set with must-not rules | |
| Robustness | Paraphrase, typos, other languages, long context | Perturbation suites | |
| Efficiency | Tokens, latency p95, tool calls, cost per task | Budget assertions | |
| Consistency | pass@k / pass^k over N runs | Run each case 5–10× |
Build the dataset
Start with 20–50 real or synthetic tasks from logs and tickets; grow to 200+. Tag by capability, difficulty and risk. Each case: input/context, expected outcome (assertion), optional reference trajectory, must-not rules. Include ambiguous asks (should it clarify?), tool failures (timeouts, 500s, empty results) and untrusted text inside tool outputs.
Tooling
Also: LangSmith / Langfuse datasets and traces, UK AISI Inspect, OpenAI Evals, MLflow evaluate, Ragas (rag-evaluation-testing). Emit OpenTelemetry GenAI traces so any failure can be replayed.
Make LLM-as-judge trustworthy
Explicit scoring anchors · judge model different from the agent · randomise order in pairwise comparisons · structured output · calibrate against ~50 human labels (agreement ≥ 80%) · version judge prompts · never expose the rubric to the agent.
Test the harness, not just the model
Mock tools for deterministic unit tests (record/replay) · sandbox real tools · least-privilege tool scopes · human approval for irreversible actions · max-step, budget and timeout limits · resume after crash · concurrent tasks · context-window overflow handling.
Regression workflow
- Every production failure becomes a dataset case.
- PRs run a fast subset (~30 cases, <5 min); nightly runs the full set.
- Gate on success ≥ baseline − ε (statistical test over N runs), policy adherence = 100%, cost ≤ budget.
- Compare model/prompt versions side by side and keep an eval changelog.
- Online: shadow or canary rollout, user feedback, guardrail monitors.
Pitfalls
Single-run pass/fail on a stochastic system · the judge grading its own output · test set leaked into the prompt · optimising to the eval · happy-path-only tasks · ignoring cost/latency · unlogged seeds and versions.
Related
llm-testing, rag-evaluation-testing, mcp-testing, chatbot-voice-agent-testing, llm-security-audit
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ai-agent-evaluation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mejbaurbahar/awesome-qa-agent-skills/ai-agent-evaluation)