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.
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-evaluatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/work-iq /tmp/work-iq && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/work-iq/plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator ~/.gemini/antigravity-cli/skills/m365-agent-evaluatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install m365-agent-evaluator in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
