Official agent skill

M365 Agent Evaluator

by microsoft in microsoft/work-iq

A skill your agent uses when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI.

OfficialCustom licenceAuto-check: notesDocuments & Office

Install M365 Agent Evaluator

skills CLI
$ npx skills add microsoft/work-iq --skill m365-agent-evaluator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/work-iq m365-agent-evaluator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/work-iq.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator .claude/skills/m365-agent-evaluator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
m365-agent-evaluator
GitHub stars
1k
Token cost
~2k tokens
SKILL.md length
708 words
Files
17 (incl. references)
Skills in repo
18
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI.

  • Works in 5 steps: Identify the user goal: setup, dataset… → Load only the reference needed for the… → Detect project shape → …
  • A user wants to create
  • SKILL.md covers Always use this CLI invocation, Activation workflow, Current dataset contract and Public evaluator names, plus 5 more sections
  • Calls npx and npm

What it does

M365 Agent Evaluator is an agent skill from microsoft/work-iq, published by the product's own GitHub organization. Use this skill when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI. Trigger on intents such as "evaluate my agent", "test my agent", "run my evals", "create eval prompts", "add multi-turn tests", "tune evaluator thresholds", "why is my agent failing", or "set up eval environment variables".

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including reference files (for example `examples/analyze-failures.md`, `examples/basic-generation.md` and `examples/iterate-on-changes.md`).

It sits in Documents & Office, covering Cloud office suites, LLM evaluation and Agent evaluation and testing. It works with Microsoft 365 and Microsoft Azure. The repository describes itself as: MCP Server and CLI for accessing Work IQ.

When your agent uses it

  • A user wants to create
  • Analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI
  • Intents such as evaluate my agent
  • Create eval prompts

Example prompts

  • “evaluate my agent”
  • “test my agent”
  • “run my evals”
  • “/m365-agent-evaluator”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the user goal: setup, dataset authoring, running evals, analyzing results, or updating an existing eval suite.
  2. Load only the reference needed for the current goal
  3. Detect project shape
  4. Verify prerequisites without exposing values
  5. Choose the workflow

What it can do on your machine

Read from SKILL.md and the folder at commit 1060873. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

M365 Agent Evaluator loads about 2k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 104 tokens; SKILL.md has 708 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:32
    - ATK: `.env.local`, `.env.local.user`, `env\.env.local.user`, `m365agents.yml`, or `appPackage\declarativeAgent.json
  • NoteMentions a .env fileSKILL.md:134
    | `.env.local` | Non-secret ATK config such as `M365_TITLE_ID`. |
  • NoteMentions a .env fileSKILL.md:135
    | `.env.local.user` or `env\.env.local.user` | Local secrets such as tenant ID and Azure OpenAI key. |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 708 words (~2,031 tokens).

“Use this skill to help users evaluate Microsoft 365 Copilot declarative agents with @microsoft/m365-copilot-eval. The skill designs schema-compatible eval datasets, runs the public preview CLI, analyzes results, and recommends targeted fixes.”

— opening of SKILL.md by microsoft, Custom licence
name
m365-agent-evaluator

Read the full SKILL.md on GitHub

Files

SKILL.md and 16 other files (references) in plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator of microsoft/work-iq.

  • SKILL.md
  • examples/analyze-failures.md
  • examples/basic-generation.md
  • examples/iterate-on-changes.md
  • examples/missing-instructions.md
  • examples/not-atk-project.md
  • examples/run-and-analyze.md
  • references/azure-setup.md
  • references/eval-templates.md
  • references/guardrails.md
  • references/output-schema.json
  • references/output-schema.md
  • references/pra-framework.md
  • references/prompts-schema.json
  • references/remediation-patterns.md
  • references/result-analysis.md
  • references/workflow.md

Open the folder on GitHubat commit 1060873

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in microsoft/work-iq, which our catalogue first saw on October 7, 2026.

Compare with similar skills

M365 Agent Evaluator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

M365 Agent Evaluator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
M365 Agent Evaluator this skillmicrosoft/work-iq1k—~2kAutomated safety check: NotesCustom licence
Teams App Developermicrosoft/skills3.1k—~1.9kAutomated safety check: NotesMIT
Entra Agent Usergithub/awesome-copilot40k1 repos~2.3kAutomated safety check: PassMIT
Defender For Storagevinayaklatthe/microsoft-security-skills175—~2kAutomated safety check: PassMIT
Typespec Create Agentgithub/awesome-copilot40k2 repos~737Automated safety check: PassMIT
Azure Role Selectorvinayaklatthe/microsoft-security-skills175—~2.2kAutomated safety check: PassMIT

Similar skills

  • Teams App Developer

    microsoft/skills

    Official

    Builds, tests, and deploys Microsoft 365 apps and agents for Teams and Copilot.

    3.1k GitHub stars~1.9k tokensUpdated 2 days ago
    Documents & OfficeAuto-check: notes
  • Entra Agent User

    github/awesome-copilot

    Official

    Create Agent Users in Microsoft Entra ID from Agent Identities, enabling AI agents to act as digital workers with user identity capabilities in Microsoft 365 and Azure environments.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Documents & OfficeAuto-check passed
  • Defender For Storage

    vinayaklatthe/microsoft-security-skills

    Guidance for Microsoft Defender for Storage — threat protection for Azure Storage accounts (Blob, Files, Data Lake Gen2).

    175 GitHub stars~2k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Typespec Create Agent

    github/awesome-copilot

    Official

    Generate a complete TypeSpec declarative agent with instructions, capabilities, and conversation starters for Microsoft 365 Copilot

    40k GitHub starsUsed in 2 repos~737 tokens
    Documents & OfficeAuto-check passed
  • Azure Role Selector

    vinayaklatthe/microsoft-security-skills

    Guidance for selecting the right Azure RBAC role with least privilege - mapping required actions to built-in roles, deciding when a custom role is needed, scoping assignments correctly, and choosing…

    175 GitHub stars~2.2k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Sentinel

    vinayaklatthe/microsoft-security-skills

    Guidance for designing and operating Microsoft Sentinel, the cloud-native SIEM and SOAR delivered through the Defender portal.

    175 GitHub stars~2.2k tokensUpdated 3 mo ago
    SecurityAuto-check passed

More from microsoft/work-iq

All 18 skills in this repo
  • Official

    Create, build, deploy, and localize declarative agents for M365 Copilot and Teams.

    1k GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • Install Atk

    microsoft/work-iq

    Official

    Install or update the M365 Agents Toolkit (ATK) CLI and VS Code extension.

    1k GitHub stars~668 tokensUpdated yesterday
    Auto-check passed
  • Teams App Developer

    microsoft/work-iq

    Official

    Build, test, and deploy code-based Teams apps using the M365 Agents Toolkit CLI.

    1k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • UI Widget Developer

    microsoft/work-iq

    Official

    Build MCP servers for Copilot Chat using the OpenAI Apps SDK or MCP Apps SDK widget rendering support (any language).

    1k GitHub stars~6.1k tokensUpdated yesterday
    Auto-check: notes
  • Workiq

    microsoft/work-iq

    Official

    WorkIQ tools for Microsoft 365 workplace data and actions. An agent skill from microsoft/work-iq.

    1k GitHub stars~15k tokensUpdated yesterday
    Auto-check passed
  • Slack To Teams

    microsoft/work-iq

    Official

    Sub-skill of microsoft-365-agents-toolkit. An agent skill from microsoft/work-iq.

    1k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed

Questions about M365 Agent Evaluator

What does M365 Agent Evaluator do?

A skill your agent uses when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI. M365 Agent Evaluator is an agent skill from microsoft/work-iq, published by the product's own GitHub organization. Use this skill when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI.

When should I use M365 Agent Evaluator?

M365 Agent Evaluator fits situations like: A user wants to create; analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI; intents such as evaluate my agent; create eval prompts.

How do I install M365 Agent Evaluator in Claude Code?

Run `npx skills add microsoft/work-iq --skill m365-agent-evaluator -a claude-code`. Or copy the skill folder (plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator in microsoft/work-iq) into .claude/skills/m365-agent-evaluator in your project. Claude Code loads it when a task matches its description.

How do I install M365 Agent Evaluator in Codex?

Run `npx skills add microsoft/work-iq --skill m365-agent-evaluator -a codex`. Or copy the skill folder (plugins/microsoft-365-agents-toolkit/skills/m365-agent-evaluator in microsoft/work-iq) into .agents/skills/m365-agent-evaluator in your project. Codex loads it when a task matches its description.

Can I use M365 Agent Evaluator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/work-iq --skill m365-agent-evaluator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/m365-agent-evaluator, .gemini/skills/m365-agent-evaluator, .github/skills/m365-agent-evaluator and .opencode/skills/m365-agent-evaluator in your project.

What does M365 Agent Evaluator need to run?

Going by SKILL.md and its folder, M365 Agent Evaluator needs the command-line tools its instructions call (npx and npm). Our summary lists: Node.js.

Does M365 Agent Evaluator access the network?

SKILL.md contains no URLs. Its commands use npx and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is M365 Agent Evaluator safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does M365 Agent Evaluator use?

M365 Agent Evaluator has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does M365 Agent Evaluator use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.

What are the alternatives to M365 Agent Evaluator?

Skills that share tags, products or a category with M365 Agent Evaluator: Teams App Developer (microsoft/skills, 3.1k stars), Entra Agent User (github/awesome-copilot, 40k stars), Defender For Storage (vinayaklatthe/microsoft-security-skills, 175 stars) and Typespec Create Agent (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains M365 Agent Evaluator?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/work-iq, which has 1,029 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 7, 2026.

Source: microsoft/work-iq on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.