Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

eval-triage-and-improvement评估分类和改进

Agent Skill

eval-triage-and-improvement 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

528

周安装

22

GitHub Stars

6

下载量

176
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:eval-triage-and-improvement(评估分类和改进)
来源仓库:https://github.com/microsoft/eval-guide
仓库路径:skills/eval-triage-and-improvement
安装命令:
npx skills add https://github.com/microsoft/eval-guide --skill eval-triage-and-improvement
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/microsoft/eval-guide --skill eval-triage-and-improvement

简介

eval-triage-and-improvement 帮助用户解释代理评估结果并找出可操作的改进步骤。

  • 采用混合工作流程:先收集结果,再生成包含根本原因、负责人和建议修复的结构化报告。
  • 服务于评估框架的第二到第四阶段,支持迭代优化和 CI/CD 回归检测。
  • 安装前需确认权限范围、维护状态及是否涉及文件读写或外部调用。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Eval Triage & Improvement

You help users interpret their agent evaluation results and find actionable next steps to improve. Follow the hybrid workflow: gather eval results first, then generate a structured triage report with root causes, owners, and recommended fixes.

This skill serves Stages 2-4 of the MS Learn 4-stage evaluation framework — the iterative loop of running evals, diagnosing failures, applying fixes, and re-running. In Stage 4 (Operationalize), this skill helps triage regressions caught by CI/CD eval runs after agent updates. Use the evaluation checklist template to track your position in the lifecycle.

When to use this skill vs. eval-result-interpreter

These two skills share the same triage framework but serve different modes of work:

Use eval-triage-and-improvement when…Use eval-result-interpreter when…
You want interactive guidance walking through diagnosis step by stepYou have a CSV file or concrete results and want a one-shot structured report
You are in an ongoing improvement loop — fixing, re-running, and re-triagingThis is your first look at results — you need a verdict and top actions fast
You need detailed remediation help for specific quality signals (e.g., "wrong tool fires — now what?")You want a customer-deliverable artifact (the.docx triage report)
You have many failures (15+) and need help prioritizing which to investigateThe eval run is relatively straightforward (<20 failures)
You need the playbook worked examples and deeper diagnostic walkthroughsYou need the activity map / result comparison tool recommendations inline

If in doubt: Start with eval-result-interpreter to get the structured report, then switch to eval-triage-and-improvement if you need interactive help implementing the fixes.

Workflow

Step 1: Gather Eval Results

Ask the user to share:

  1. Which eval sets ran and their pass rates (e.g., "Knowledge Grounding: 71%, Safety: 95%")
  2. Specific failing test cases — the test case ID, sample input, expected value, actual agent response, and eval method
  3. How many times they've run — is this the first run or have they run multiple times?
  4. What they've already tried — any fixes attempted so far?

If they don't have structured results, help them organize what they have. If they just have a general complaint ("my agent isn't working well"), guide them to run an eval first using the scenario library.

Step 2: Score Interpretation

Use these thresholds to assess readiness:

READINESS ASSESSMENT

Safety/Compliance < 95%  → BLOCK (fix before anything else)
Core business < 80%      → ITERATE (focus here)
Capabilities < threshold → CONDITIONAL SHIP (document gaps)
All above threshold      → SHIP

Setting thresholds — don't apply fixed numbers. Derive from risk profile:

FactorHigher Threshold When...
Consequence of failureFinancial loss, safety risk, legal exposure
Frequency of query typeUsers trigger this quality signal often
Fallback availabilityNo human backup, or slow backup
AudienceExternal customers, regulated industry

Step 3: Pre-Triage Infrastructure Check

Before diagnosing individual failures, verify infrastructure was healthy during the eval run:

  • All knowledge sources accessible and fully indexed?
  • API backends and connectors returned no errors/timeouts?
  • Authentication tokens valid throughout the run?
  • Correct agent version was published and evaluated?

If any dependency was unhealthy, recommend re-running after fixing infrastructure before triaging.

Step 4: Prioritize Failures

If the user has many failures, recommend this triage order:

PriorityTriage FirstRationale
1Safety & compliance failuresHighest consequence; blocks ship
2Core business failures (high-priority tests)Direct impact on agent value
3Lowest-scoring eval set failuresLikely systemic — fixing root cause resolves multiple
4Recurring failures (same test case across runs)Most diagnosable
5Capability scenario failuresImportant but lower blast radius

15+ failures? Don't triage every one. Review 3-5 from the lowest-scoring eval set. If they share a root cause, fix that and re-run.

Step 5: Classify Root Cause

For each failure, work through the diagnostic questions in order:

TRIAGE DECISION TREE (for each failing test case)

1. Is the agent's response actually acceptable, even though it failed?
   → YES = Eval Setup Issue (grader or expected value is wrong)

2. Is the expected answer still current against the actual source?
   → NO = Eval Setup Issue (expected answer outdated)

3. Does the test case represent a realistic user input?
   → NO = Eval Setup Issue (unrealistic test case)

4. Could a valid alternative response also be correct, but grader rejects it?
   → YES = Eval Setup Issue (grader too rigid)

5. Is the eval method appropriate for what you're testing?
   → NO = Eval Setup Issue (wrong method for this quality signal)

ALL PASS → The eval is valid. Proceed to agent diagnosis:

6. Can you identify a specific config to change?
   → YES = Agent Configuration Issue

7. Does the fix persist after config change + re-run?
   → NO = Platform Limitation

Step 5b: Conversation (Multi-Turn) Triage

For conversation eval failures, the standard decision tree still applies but you must first identify the critical turn — the earliest turn where the agent went wrong. Everything after a bad turn is a cascade, not independent failures.

Critical turn identification:

  1. Walk the conversation turn by turn
  2. Find the first turn where the agent response diverges from expected behavior
  3. Classify that turn using the decision tree above
  4. Mark downstream turns as "cascade — blocked by Turn N fix"

Conversation-specific failure patterns and remediations:

PatternHow to spot itRoot cause areaRemediation
Context loss — Turn 1 fine, Turn 3+ forgetsAgent re-asks or contradicts earlier turnsAgent ConfigReview topic management; ensure conversation context is preserved across topic switches
State loop — Agent repeats the same responseIdentical or near-identical agent turns in sequenceAgent ConfigCheck topic routing for circular references; add explicit exit conditions
Clarification failure — Agent can't handle follow-upsTurn 2 fails when user provides clarification or correctionAgent ConfigAdd follow-up handling instructions; check that topics accept partial/corrective inputs
Last-mile failure — Understands but can't resolveEarly turns diagnose correctly, final resolution turn failsAgent Config or PlatformCheck action/connector configuration; verify the resolution path is wired correctly
Eval rigidity — Conversation is acceptable but grader rejectsReading the full conversation, the outcome is reasonableEval SetupConversation grading is limited (AI Generated or Approval Rating only); adjust rubric or expected values

Key difference from single-response triage: Do NOT triage each turn independently. Triage the critical turn, apply the fix, re-run, and then see which downstream turns self-resolve. Expect 40-60% of downstream failures to clear after fixing the critical turn.

Three Root Cause Types

Root CauseWho ActsWhat It Means
Eval Setup IssueEval authorThe test/grader is wrong. The agent may be fine.
Agent Configuration IssueAgent builderAgent genuinely produced a bad response. Fixable through config.
Platform LimitationPlatform teamCaused by platform behavior. Cannot fix through config.

Step 6: Map to Remediation

For detailed remediation steps by root cause type and quality signal, read the playbook files:

  • Full triage decision tree: Read triage-and-improvement-playbook/triage-decision-tree.md
  • Remediation mapping: Read triage-and-improvement-playbook/remediation-mapping.md
  • Pattern analysis: Read triage-and-improvement-playbook/pattern-analysis.md
  • Worked examples: Read triage-and-improvement-playbook/worked-examples.md

Quick Remediation Reference

Eval Setup Fixes:

Sub-TypeFix
Outdated expected answerUpdate expected value to match current source content
Overly rigid graderSwitch to Compare Meaning, or broaden keyword set
Unrealistic test caseRewrite input using actual user language
Wrong eval methodChange method to match quality signal (see scenario library)
Grader error/biasReview rubric, add examples, consider deterministic method

Agent Configuration Fixes:

Quality SignalCommon Fix
Factual accuracy (wrong source)Review knowledge source config, verify indexing, check vocabulary match
Factual accuracy (wrong extraction)Add extraction guidance to system prompt
HallucinationAdd instruction: "Only answer from knowledge sources. If unavailable, say so."
Wrong tool firesRewrite tool descriptions to differentiate; add negative examples
Tool doesn't fireReview trigger conditions; check if tool is enabled and accessible
Wrong topic firesReview trigger phrase overlap; adjust priority ordering
Lacks empathyAdd context-specific tone instructions to system prompt
Scope violationAdd explicit out-of-scope instruction
PII leakageAdd PII protection instruction; review authentication scope

Platform Limitation Response:

  • Document the limitation with evidence
  • Implement workaround where possible
  • Adjust eval thresholds to account for known platform behavior
  • File with platform team with reproduction steps

Step 7: Triage Rationale (teach the WHY)

Before generating the report, add rationale that teaches the customer the reasoning behind triage decisions — not just the conclusions. For each of these, use the actual eval data from this triage:

  1. Why each failure got its root cause classification — Walk through the decision tree for at least one example per root cause type. E.g., "Test case KB-014 was classified as an Eval Setup Issue because the agent response is factually correct per the current knowledge source, but the expected value still references the old 14-day policy. The agent is right; the eval is stale."
  2. Why the remediation targets config vs. content vs. eval — Explain the logic: "We recommended updating the knowledge source rather than changing the prompt because the agent retrieval worked correctly — it found the right document — but the document itself contains outdated information. A prompt change would mask the real problem."
  3. Why the priority order is what it is — Connect to blast radius and dependency chains: "Safety failures are first not just because they are severe, but because safety prompt instructions can conflict with other behaviors. Fix safety, re-run, then triage the rest — otherwise you are diagnosing failures that might disappear once the safety instructions are in place."
  4. What this triage does NOT tell you — Name the limits explicitly: "This triage analyzed [N] failures from a single eval run. It cannot detect issues in scenarios you have not written test cases for, and it cannot distinguish between a flaky failure (non-determinism) and a real failure from a single data point. If a failure is borderline, re-run before investing in a fix."

Include this rationale in the triage report (see Triage Rationale section in the report template below).

Step 8: Generate Triage Report

Output a structured triage report:

# Triage Report: [Agent Name] — [Date]

## Score Summary
| Eval Set | Pass Rate | Threshold | Status |
|----------|-----------|-----------|--------|
| ... | ... | ... | PASS/BLOCK/ITERATE |

## Readiness Assessment
[SHIP / SHIP WITH KNOWN GAPS / ITERATE / BLOCK]
[Rationale]

## Failure Analysis
### Failure 1: [Test Case ID]
- **Quality Signal:** ...
- **Sample Input:** ...
- **Expected:** ...
- **Actual:** ...
- **Root Cause:** [Eval Setup / Agent Config / Platform Limitation]
- **Diagnosis:** [specific diagnosis]
- **Owner:** [who needs to act]
- **Remediation:** [specific action]
- **Verification:** [how to verify the fix worked]

[Repeat for each triaged failure]

## Triage Rationale
### Why these root cause classifications
[Walk through the decision tree for representative examples — show the reasoning, not just the label]

### Why these remediations
[Explain the logic connecting root cause to fix — why this fix and not an alternative]

### Why this priority order
[Connect priority to blast radius and dependency chains]

### What this triage does NOT tell you
[Name the limits: coverage gaps, single-run non-determinism, untested scenarios]

## Systemic Patterns
[If 80%+ of failures share a root cause, call it out]

## Action Items
| # | Action | Owner | Priority | Verification |
|---|--------|-------|----------|-------------|
| 1 | ... | ... | ... | Re-run [eval set] |

## Post-Triage Checklist
- [ ] All safety/compliance failures addressed
- [ ] Root causes verified (re-run after fixes)
- [ ] Known gaps documented with owners
- [ ] Platform limitations filed if applicable

## Human Review Required
[Include human review checkpoints table — see Human Review Checkpoints section below]

Post-Triage Verification

After fixes are applied:

  • Scores flat after fix? → Wrong root cause, re-triage
  • One score up, another down? → Instruction conflict — the fix improved one behavior but degraded another
  • 80%+ of failures share root cause? → Systemic issue — fix the category, not individual test cases

Non-Determinism Handling

LLM-based agents and graders produce variable outputs:

  • Establish baselines: Run 3+ times before treating any score as baseline. Use the average.
  • Normal variance: +/-5% between runs is expected. Investigate if >10%.
  • Flaky test cases (pass sometimes, fail others): Agent may produce two valid responses but eval is too rigid. Investigate whether to broaden the expected value.
  • Small eval sets (<30 test cases): A single test case flip changes the score by 3%+. Don't over-interpret.

Supplementary Signal: User Reactions

If the agent is deployed (even in preview), check user reactions (thumbs up/down) in Copilot Studio analytics alongside eval results. During an improvement loop, reactions help you prioritize:

  • High thumbs-down on a topic where eval passes: Your eval may not be testing what real users care about. Add test cases that reflect the actual user complaints.
  • Thumbs-down clustering after a config change: Your fix may have introduced a regression that the eval doesn’t catch yet. Investigate and expand test coverage.
  • Steady thumbs-up on a topic where eval fails: Consider whether the eval is too strict — real users may be satisfied with responses the grader rejects.

Reactions are noisy (biased toward engaged users, small sample) and cannot diagnose root causes. Use them as a prioritization signal, not a verdict.

Human Review Checkpoints

Before acting on the triage report, review these checkpoints. Triage decisions directly drive agent changes — a wrong diagnosis wastes an entire iteration cycle.

#CheckpointWhy it matters
1Verify root cause classifications yourself — For each failure classified as eval setup issue, read the agent actual response. Is it truly acceptable, or is the triage giving the agent the benefit of the doubt?Misclassifying agent failures as eval issues means real problems get ignored. The 20% baseline is a starting point, not a blanket excuse.
2Confirm systemic pattern diagnoses before applying systemic fixes — If the report says 80%+ failures share a root cause, verify by reading the actual responses. Similar symptoms can have different causes.A wrong systemic diagnosis means you apply one fix expecting to resolve many failures, but only fix some or none.
3Validate remediation feasibility and priority order — Can your team actually make the suggested changes? Is the priority order right for your timeline and constraints?The triage prioritizes by impact, but your team knows effort and dependencies. A knowledge source fix may take 2 weeks; a prompt tweak may unblock you now.
4Check that proposed fixes will not regress passing scenarios — Before making changes, consider which currently-passing test cases could be affected. Prompt changes especially have ripple effects.Fixing 3 failures while introducing 5 new ones is a net loss. Plan to re-run the full suite after any agent configuration change.
5Validate platform limitation classifications before escalating — If a failure is classified as a platform limitation, confirm the behavior persists across multiple prompt and config variations before filing with the platform team.Escalating a configuration issue as a platform bug wastes platform team time and delays your actual fix.
6Review threshold choices against your actual risk tolerance — The readiness thresholds are defaults. Does SHIP/ITERATE/BLOCK match what you would actually be comfortable deploying?Only your team knows your real risk tolerance. A SHIP at 82% may be fine for an internal tool but unacceptable for a customer-facing agent in a regulated industry.

Include this table in the triage report output. Add: This triage report accelerates diagnosis but does not replace human judgment. Review checkpoints 1 and 2 before acting on any remediation — the distinction between eval issues and agent issues requires reading the actual responses.

Data Retention Warning

Copilot Studio deletes test run results after 89 days. This means your baseline results from an initial eval may be gone before your next quarterly review. After every triage cycle:

  1. Export the results CSV immediately (Test set → Export results)
  2. Store alongside your triage report in SharePoint, a repo, or wherever your team keeps versioned artifacts
  3. Tag with agent version and date so future comparisons are possible

If your triage identified a fix-and-rerun cycle, export the pre-fix results *before* applying changes. You need the before/after comparison, and Copilot Studio won't keep the "before" forever.

Cross-Reference

This skill works alongside the AI Agent Evaluation Scenario Library (github.com/microsoft/ai-agent-eval-scenario-library), which defines the scenarios and quality signals that produce the eval results this triage skill helps interpret, and the Triage & Improvement Playbook (github.com/microsoft/triage-and-improvement-playbook), which provides the diagnostic frameworks used in this skill's triage steps.

Related eval skills

After triage, if you need to...Use this skill
Build or expand the eval plan with new scenarios identified during triage/eval-suite-planner
Generate new test cases for expanded or revised scenarios/eval-generator
Get a quick structured report from a new CSV (without interactive triage)/eval-result-interpreter
Answer a methodology question that came up during triage/eval-faq
Walk the customer through the full eval pipeline end-to-end/eval-guide

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.64%
按下载量换算61

Claude

30.75%
按下载量换算54

Cursor

20.26%
按下载量换算36

Gemini CLI

9.2%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills