An eval is a set of test cases that checks how an AI system behaves. Each case gives the AI an input and checks the output against what we expect. Because AI replies can change from run to run, evals help us measure quality instead of guessing.

GitHub Copilot Evals brings evals to Copilot skills, agents and MCP tools. You can use it from:

  • VS Code, as an extension
  • Copilot CLI, as a plugin
  • GitHub Copilot App, as a plugin

In this article, lets use Copilot CLI to create, run, review and improve an eval for a skill.

What is GitHub Copilot Evals?

  • A plugin that adds eval skills to Copilot: create, run, review, improve, compare and setup.
  • Copilot suggests the test cases and checks by reading your skill.

Lets start by installing the Evals plugin.

Prerequisites

  • Node.js 24 or later.
  • Copilot CLI 1.0.85 or later.
  • Git 2.28 or later.
  • A skill to test. Use any skill you have.

Install the Evals plugin

  • Open a terminal and add the marketplace with copilot plugin marketplace add github/evals.
  • Install the plugin with copilot plugin install eval@github-copilot-evals.
  • Run copilot plugin list and check that eval is installed and enabled.
  • Start copilot in your project folder.
  • Turn on experimental mode with /settings experimental on, then start a fresh session. This enables the /eval commands.
  • Run /eval help to see the available commands.

Install the eval runner

Evals uses the Vally CLI to run the test cases.

  • Run npm install -g @microsoft/vally-cli.

Now we have Evals ready. Lets look at the skill we are going to test.

The skill under test

  • I am using a skill named meeting-actions to test. It pulls action items from meeting notes.
  • You can follow the same steps with any skill in your project.
  • Run /skills list to confirm Copilot sees the skill.

Create an eval

  • Run /eval create meeting-actions.
  • Copilot reads the skill and suggests test cases. Pick the ones you want.
  • Copilot shows what each case covers and the checks it will use.
  • After approval, Copilot validates the eval and saves it under the evals folder with sample files.

The eval is saved. Lets run it.

Run the eval

  • Run /eval run and pick the eval.
  • Before it starts, Copilot shows the number of cases, the model, the timeout and the cost note. Approve to start.
  • When the run finishes, the report opens in Evals Canvas. It shows each case, its checks and the result.
  • In our run, 2 checks passed and 2 showed errors. The errors came from one case, so lets ask Copilot to explain it.

Note: Each run uses AI credits.

Review and improve the eval

  • Run /eval review. Copilot reads the results and explains each failure in plain words.
  • It also points out weak checks. In our case, one check allowed a two-sentence reply when we expected one sentence.

  • /eval improve works in two ways, depending on what we point it at.
  • In this example, we improved an ‘eval’.
  • Run /eval improve and describe what to fix.
  • Copilot saves an improved copy as meeting-actions.candidate.eval.yaml. The original eval and the skill file are not changed.

Improve a skill. This also works for agents and MCP servers.

  • Run /eval improve with the skill name, or ask Copilot to “improve my meeting-actions skill”.
  • Copilot reads the skill, its evals and saved runs, then suggests areas to improve.
  • It runs the eval first to get a baseline result.
  • Then it makes one focused edit to the skill and keeps the eval unchanged.
  • It runs the same eval again and compares the two results.
  • Finally, it asks whether to keep or undo the edit.

Note: Each run in this loop asks for approval and uses AI credits.

Summary

  • Evals turns manual skill testing into saved test cases we can run again.
  • The loop is simple: create, run, review and improve.
  • As a next step, run the improved eval and use /eval compare to compare the two runs.

Useful links:

🙂

Leave a Reply