mcpbeat Sign in

Create Eval Set Agent Skill

> Create a test set CSV file for import into Copilot Studio's in-product Evaluate tab. Reads the agent's topics, instructions, and knowledge sources to generate meaningful test cases with appropriate graders (General quality, Compare meaning, Exact match, etc.). Use when the user asks to create, prepare, or generate evaluation test cases for their agent.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
386
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/skills-for-copilot-studio --skill create-eval-set

What it tells the agent to use

found in the instruction text
Write writes files

The instruction itself

10 sections, as written by the author

Create Evaluation Test Set

Create a test set CSV file that can be imported into Copilot Studio's Evaluate tab for in-product agent evaluation.

Phase 1: Understand the Agent

Read the agent's YAML files to understand what it does:

  • Glob: **/agent.mcs.yml — find the agent
  • Read agent.mcs.yml — get the agent's instructions, description, and capabilities
  • Read settings.mcs.yml — check orchestration mode (generative vs classic)
  • Glob: **/topics/*.mcs.yml — list all topics
  • Read key topics (especially non-system ones) — understand trigger phrases, conversation flows, expected behaviors
  • Check for knowledge sources, actions, and connected tools

Phase 2: Design Test Cases

Create test cases that cover:

| Category | What to test | Example |

|----------|-------------|---------|

| Core functionality | Main topics and capabilities | Questions matching trigger phrases |

| Knowledge/generative | Knowledge source responses | Questions the agent should answer from its knowledge |

| System topics | Greeting, Escalation, Goodbye, Thank You, Fallback | "Hi", "I want to speak to a person", "Goodbye" |

| Edge cases | Out-of-scope, ambiguous, off-topic | "Tell me a joke", "Book a flight for me" |

| Boundary testing | Things the agent should NOT do | Actions beyond its capabilities |

Aim for 10–25 test cases with good coverage across categories.

Phase 3: Write the Expected Responses

The CSV import only supports two columns: question and expectedResponse. Test methods cannot be set via CSV import — they are configured in the UI after import. The default test method (General quality) is applied to all imported test cases.

Write expected responses with this in mind:

  • For questions where you want General quality grading: write behavioral descriptions ("The response should recommend hotels in Paris with relevant details")
  • For questions where you'll later switch to Compare meaning or Exact match in the UI: write realistic agent replies that the grader can compare against
  • Leave expectedResponse empty for questions that only need General quality (it works without expected responses)

Available test methods (configured in UI after import)

| Test method | What it measures | Requires expected response? |

|-------------|-----------------|---------------------------|

| General quality (default) | AI-graded quality: relevance, completeness, groundedness, abstention | No (but recommended as a rubric) |

| Compare meaning | Semantic similarity — compares meaning/intent | Yes |

| Text similarity | Cosine similarity of text | Yes, configurable pass threshold |

| Exact match | Character-for-character match | Yes |

| Keyword match | Response contains expected keywords/phrases | Yes (keywords added in UI) |

| Capability use | Agent called expected tools/topics | Configured in UI |

| Custom | Custom grader with your own instructions and labels | Configured in UI |

Phase 4: Write the CSV

Write the CSV file using the Write tool. The format must be:

"question","expectedResponse"
"User question here","Expected agent response or behavioral rubric"
"Question without expected response",

Column specification

| Column | Required | Description |

|--------|----------|-------------|

| question | Yes | The user message to send to the agent. Max 1,000 characters. |

| expectedResponse | No | The expected response or behavioral rubric. Leave empty if not needed. |

Important: The Testing method column is not supported on import — it is ignored. All imported test cases get the default test method (General quality). Configure other test methods in the UI after import.

Rules

  • Max 100 questions per test set
  • Max 1,000 characters per question (including spaces)
  • File must be .csv format
  • Use double quotes around all values
  • For questions that will use General quality: write expected responses as behavioral descriptions
  • For questions that will use Compare meaning or Exact match: write expected responses as realistic agent replies

Expected response examples

Behavioral rubric (for General quality):

"Find me a hotel in Paris","The response should include hotel recommendations in Paris with relevant details like names, locations, or prices."

Realistic reply (for Compare meaning — set method in UI after import):

"Hi there","Hello! How can I help you today?"

Exact expected text (for Exact match — set method in UI after import):

"What is 2+2?","4"

Phase 5: Instruct the User

After writing the CSV, tell the user:

> To import into Copilot Studio:

> 1. Open your agent in Copilot Studio

> 2. Go to the Evaluate tab

> 3. Click New evaluation > Single response

> 4. Drag or browse for the CSV file

> 5. Review the imported test cases and adjust if needed

> 6. Optionally add more test methods (Capability use, Custom) in the UI

> 7. Click Evaluate to run, or Save to run later

After import, some things can only be configured in the UI:

  • Pass thresholds for Compare meaning and Text similarity
  • Keywords for Keyword match test cases
  • Expected capabilities for Capability use test cases
  • Custom grader instructions and labels

Other skills for the same job

different authors, same section of the catalogue
Seaborn
by ComeOnOliver
×3

Statistical visualization. Scatter, box, violin, heatmaps, pair plots, regression, correlation matrices, KDE, faceted plots, for exploratory analysis and publication figures.

57k tokens
Ab Test Setup
by lingxling
×1

Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.

2k tokens
Dbt Transformation Patterns
by ComeOnOliver
×1

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

6k tokens
Dbt Transformation Patterns
by ComeOnOliver
×1

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

7k tokens
Keeper Stress Analysis
by ClickHouse
vendor

Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeper_stress_tests data warehouse. Use whenever the user asks about Keeper performance, validates Keeper PRs against stress dashboards, investigates regressions or improvements in Keeper nightlies, asks about specific date windows / SHAs / PR-sets in Keeper stress tests, wants per-PR or window-vs-window comparisons, asks "did this PR break Keeper", asks "what changed in Keeper between dates", or wants a summary report of Keeper stress runs. Triggers on terms like "keeper stress", "keeper PR", "keeper p99", "keeper memory", "keeper rps", "keeper nightly", "keeper-stress-tests", "keeper validation", "keeper regression", or any question referencing the keeper-stress Grafana dashboard. ALWAYS prefer this skill over re-deriving the workflow from scratch — it captures hard-learned lessons about cgroup-vs-Keeper memory, bench-harness confounds, noise floors, and per-PR attribution limits.

40k tokens scripts
Dbt Transformation Patterns
by wshobson

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

3k tokens
Canvas2d Data Visualization
by openai
vendor

Render data visualizations with Canvas2D. Use when the visualization needs high mark counts, fast redraws, immediate-mode rendering, custom hit testing, or a hybrid Canvas plus SVG or HTML architecture.

10k tokens
Analyze Test Report
by pytorch
vendor

Analyze torch-tensorrt local test results and drive failures to a fix. Use when the user pastes a test report / summary, asks why tests failed, asks to triage or fix failing tests, or mentions the JUnit/test-summary output from `just tests-report` / `just test-summary`. Covers where the JUnit XMLs live, how to read the consolidated report, how to reproduce a single failure, and how to categorize (real bug vs torch-API change vs OOM/skip vs flake).

1k tokens

How to use it

Copy the folder

Take microsoft/create-eval-set from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.