eval-faq

A reference guide for answering questions about evaluating AI agents. It covers test cases, graders, multi-turn conversations, tool calls, inconsistent outputs, and interpreting results, mainly using Microsoft's agent-evaluation guidance.

In plain words
What is it for?
Use it to get practical advice on evaluation methods, dataset design, scoring criteria, regression tests, tool-use checks, and improving an agent after failures.
Why use it?
AI agents can produce different answers to the same request, so ordinary pass-or-fail testing is often insufficient. The guide helps choose suitable tests and understand what evaluation results mean.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/microsoft/eval-guide/eval-faq
Any agent
npx skills add microsoft/eval-guide --skill eval-faq
Clone the repo
git clone --depth 1 https://github.com/microsoft/eval-guide

Made for: Claude Code, Codex.

Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,002 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00048 $0.09002
Opus 5 $0.00024 $0.04501
Sonnet 5 $0.00010 $0.01800
Haiku 4.5 $0.00005 $0.00900

Measured 2d ago against content hash c65950dd6da3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eval-faq scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/eval-faq/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Answer any question about eval methodology, grader types, dataset design, criteria writing, non-determinism, tool-call evaluation, multi-turn agent evaluation, eval tooling, capability vs. regression evals, and interpreting results — specifically in the context of AI agent evaluation. The primary methodology is skills/eval-guide/playbook.md: Practical Guidance on Agent Evaluation: a 10-step playbook. Microsoft's agent evaluation documentation (MS Learn pages, the Eval Scenario Library, the Triage & Improvement Playbook, and the Eval Guidance Kit) remains the authoritative supporting source set for Copilot Studio mechanics and reference patterns, supplemented by select industry sources for topics Microsoft does not cover deeply.

Instructions

When invoked as /eval-faq <question>, follow this process exactly:

Step 1 — Fetch authoritative context before answering

Use this topic-to-URL routing table to decide what to fetch. Fetch FIRST, then answer. Fetch only the URL(s) that match the question topic — do not fetch all URLs every time.

Question topic Fetch this URL Section to extract Notes
Scenario types, business-problem vs capability scenarios, what cases to write, dataset structure https://github.com/microsoft/ai-agent-eval-scenario-library Business-Problem scenarios, Capability scenarios, eval-set-template 5 business-problem + 9 capability scenario types
Quality signals, policy accuracy, source attribution, personalization, action enablement, privacy https://github.com/microsoft/ai-agent-eval-scenario-library Quality signals section and method mapping tables Quality signal to evaluation method mapping
Red-teaming, adversarial testing, attack surface reduction, XPIA, encoding attacks, ASR metrics https://github.com/microsoft/ai-agent-eval-scenario-library Red-teaming section: Probe-Measure-Harden framework Red-team ASR thresholds: <2% harmful, <1% PII, <5% jailbreak
Evaluation method selection, keyword match vs compare meaning vs general quality https://github.com/microsoft/ai-agent-eval-scenario-library resources/evaluation-method-selection-guide.md 4 evaluation methods with selection criteria
Eval generation, writing eval cases from a prompt template, synthesizing test sets https://github.com/microsoft/ai-agent-eval-scenario-library resources/eval-generation-prompt.md Template for generating eval cases
Agent profile template, defining agent scope for eval https://github.com/microsoft/ai-agent-eval-scenario-library resources/agent-profile-template.yaml Agent profile definition for scoping evals
Score interpretation, what scores mean, risk tier-based thresholds, hard/soft gates, readiness decisions, SHIP/ITERATE/BLOCK https://github.com/microsoft/triage-and-improvement-playbook Layer 1: Score Interpretation, readiness decision tree Supporting source for Step 4/6/7 readiness decisions
Failure triage, debugging eval failures, root cause analysis, diagnostic questions https://github.com/microsoft/triage-and-improvement-playbook Layer 2: Failure Triage, 26 diagnostic questions 5-question eval verification, 7 eval setup failure sub-types
Remediation, fixing failures, instruction budget, actions per failure pattern https://github.com/microsoft/triage-and-improvement-playbook Layer 3: Remediation Mapping Actions mapped to failure patterns
Pattern analysis, cross-signal patterns, trend analysis, concentration analysis https://github.com/microsoft/triage-and-improvement-playbook Layer 4: Pattern Analysis 7 cross-signal patterns, trend analysis
Root cause types, eval-setup problem vs agent-quality problem, eval setup issue vs agent config vs platform limitation https://github.com/microsoft/triage-and-improvement-playbook Root Cause Types section Supporting taxonomy mapped to Step 7's two root buckets
Non-determinism handling, run variance, flaky results https://github.com/microsoft/triage-and-improvement-playbook Non-determinism section 3 runs minimum, +/-5% normal, +/-10% investigate
4-stage iterative framework, Define, Set Baseline & Iterate, Systematic Expansion, Operationalize https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/evaluation-iterative-framework Full framework — all 4 stages Supporting MS Learn lifecycle/cadence source under the 10-step playbook
Eval checklist, readiness checklist, pre-launch verification https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/evaluation-checklist Full checklist Maps to Eval Guidance Kit documents
Grader types, code-based vs LLM-judge vs human graders, common evaluation approaches https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/architecture/common-evaluation-approaches Echo, Historical Replay, Synthesized Personas; grader types 3 approaches + 3 grader categories
7 test methods, General Quality, Compare Meaning, Capability Use, Keyword Match, Text Similarity, Exact Match, Custom https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-agent-evaluation-overview 7 test methods section General Quality sub-dimensions: Relevance, Groundedness, Completeness, Abstention
Test set creation, building eval datasets in Copilot Studio https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-agent-evaluation-create Test set creation methods Generate, import, or manually write test cases
Test set editing, user profiles, connections, modifying test methods https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-agent-evaluation-edit Manage user profiles and connections, edit test methods Multi-profile eval for simulating different users; GCC limitations
Running evals, viewing results, test results interpretation https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-agent-evaluation-results Run tests and view results 89-day result retention; export results immediately
Agent evaluation overview, why use automated testing, test chat vs eval https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-agent-evaluation-intro About agent evaluation GCC limitations: no user profiles, no Text similarity method
Rubric refinement workflow, aligning AI grading with human judgment https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/kit-rubrics-refinement-workflow 8-step workflow: Run, Review, Grade, Refine, Save, Re-run, Repeat Alignment matrix, Standard vs Full refinement views, example marking
Rubric best practices, tips for rubric refinement https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/kit-rubrics-best-practices Best practices for refinement Quality over quantity for examples; don't chase 100% alignment
Rubric reference guide, grade definitions, rubric structure https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/kit-rubrics-reference Rubrics reference Grade scale definitions, rubric components
Copilot Studio Kit overview, kit capabilities https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/kit-overview Kit overview Parent page for all Kit features including rubrics
11 scenario validation themes, evaluation frameworks https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/architecture/evaluation-frameworks 11 scenario validation themes
Defining eval purpose, what to evaluate, scoping eval https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/evaluation-define-purpose Full page
Eval Guidance Kit, checklist documents, framework PowerPoint https://aka.ms/EvalGuidanceKit Checklist, Framework, failure-log-template Resolves to GitHub PowerPnPGuidanceHub
pass@k vs pass^k metrics, non-determinism statistics, 0% pass@100 interpretation https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents pass@k, pass^k, capability evals sections Supplementary: Microsoft non-determinism guidance is primary
Capability vs regression evals, eval-driven development https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents Capability evals, regression evals sections Supplementary industry context under the 10-step playbook
LLM-as-judge calibration, position bias, verbosity bias, self-enhancement bias https://eugeneyan.com/writing/llm-evaluators/ Biases and calibration sections Supplementary: bias percentages not in Microsoft sources
Critique shadowing, judge prompt design, error analysis methodology https://hamel.dev/blog/posts/llm-judge/ Judge prompt design, calibration Supplementary: deep LLM judge methodology
Eval platforms, tooling comparison, Braintrust, LangSmith https://www.braintrust.dev/articles/top-5-platforms-agent-evals-2025 Platform comparison Supplementary: lightweight tooling reference
Any question not clearly matching above Fetch https://learn.microsoft.com/en-us/microsoft-copilot-studio/guidance/evaluation-overview as primary source, supplement with relevant knowledge base section Default fallback is MS Learn

Read the full file on GitHub · 433 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 433 lines · 48 tokens per session scan A c65950dd6da3

Subscribe to this mod's changes

eval-faq is a skill published in the GitHub repository microsoft/eval-guide (127 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 9,002 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens