Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

m365-agent-evaluator

Skill by microsoft

Creates, runs, and analyzes evaluation suites for Microsoft 365 Copilot declarative agents. It is for developers who test these agents with the public @microsoft/m365-copilot-eval CLI.

  • Score 75
  • 1.1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install m365-agent-evaluator

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/work-iq /tmp/work-iq && mkdir -p ~/.claude/skills && cp -r /tmp/work-iq/plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator ~/.claude/skills/m365-agent-evaluator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install m365-agent-evaluator in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill helps users create, run, and analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI. It designs eval datasets in schema version 1.2.0, runs the CLI, analyzes results, and recommends targeted fixes. It defaults to Microsoft 365 Agents Toolkit projects but can also evaluate deployed agents when an explicit agent ID is given.

The skill checks prerequisites such as Node.js, a Microsoft 365 Copilot license, tenant consent, and Azure OpenAI settings. It uses public evaluators including Relevance, Coherence, Groundedness, Similarity, Citations, ExactMatch, and PartialMatch. Results can be exported as JSON, HTML, or CSV. It is intended for teams testing Microsoft 365 Copilot declarative agents.

Written from the project's SKILL.md and checked against it.

What it can do

  • Eval dataset authoringCreates schema-compatible eval datasets with single-turn and multi-turn prompts.
  • Run evaluationsRuns batch evals from a dataset, inline prompts, or interactive mode via the CLI.
  • Result analysisAnalyzes JSON, CSV, or HTML results and groups failures by likely root cause.
  • Evaluator threshold tuningHelps tune evaluator thresholds for an eval suite.
  • Environment setupGuides setup of environment variables and env files without exposing secret values.
  • CLI path troubleshootingChecks for stale global installs that shadow the current CLI version.

What you need

  • Node.js 24.12.0 or newer
  • Microsoft 365 Copilot license
  • A deployed Microsoft 365 Copilot agent
  • Tenant admin consent for the WorkIQ Client App
  • Azure OpenAI in Foundry Models endpoint and key, with a gpt-4o-mini deployment recommended

Try asking

  • Create an eval suite for my Microsoft 365 Copilot agent
  • Why is my agent failing these evals?
  • Add multi-turn tests to my evals.json file

Good to know

  • The CLI is described as a public preview.
  • Tenant-dependent evals are not run without approved tenant, agent, and Azure OpenAI configuration.
  • Concurrency values must be between 1 and 5.
  • The legacy ToolCallAccuracy evaluator is not added to generated datasets.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to m365-agent-evaluator

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

m365-agent-evaluator: common questions

What does the m365-agent-evaluator skill evaluate?

It evaluates Microsoft 365 Copilot declarative agents using the public @microsoft/m365-copilot-eval CLI. It can work with Agents Toolkit projects or deployed agents with an explicit agent ID.

Which evaluators does it use?

It uses case-sensitive public evaluators: Relevance, Coherence, Groundedness, Similarity, Citations, ExactMatch, and PartialMatch. Each has a defined scoring type and default threshold in the source.

Will it overwrite my existing eval dataset?

No. The skill asks before overwriting an existing dataset and writes generated evals to a temporary file before renaming on success.

How do I install m365-agent-evaluator?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is m365-agent-evaluator free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is m365-agent-evaluator safe to use?

It scores 75 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to m365-agent-evaluator?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

m365-agent-evaluator Install

Add to stack

Loading.