m365-eval

m365-eval is a skill for Claude Code, Codex from AgentEvalHQ/AgentEval. It costs 117 tokens per session (2,865 once invoked), scanned A, original, MIT.

A set of instructions for evaluating a Microsoft 365 agent with the AgentEval command-line tool or code. It covers configuration, connection checks, custom benchmarks, standard test groups, evidence, and failures.

In plain words
What is it for?
Checking a tenant connection, running benchmarks, testing GDPR or OWASP behaviours, reviewing traces, and handling incomplete or action-requiring turns.
Why use it?
It provides an ordered process for testing an agent against Microsoft 365 while distinguishing missing evidence from observed evidence and avoiding unsafe or repeated requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking a tenant connection, running benchmarks, testing GDPR or OWASP behaviours, reviewing traces, and handling incomplete or action-requiring turns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentevalhq/agenteval/m365-eval
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AgentEvalHQ/AgentEval --skill m365-eval
Clone the repo
git clone --depth 1 https://github.com/AgentEvalHQ/AgentEval

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for m365-eval

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-eval/github.svg)](https://agentmods.dev/skills/agentevalhq/agenteval/m365-eval)
Your own site
<a href="https://agentmods.dev/skills/agentevalhq/agenteval/m365-eval"><img src="https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-eval/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for m365-eval

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentevalhq/agenteval/m365-eval"><img src="https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.02865
Opus 5.5 $0.00047 $0.01146
Sonnet 5.5 $0.00023 $0.00573
Haiku 4.5 $0.00012 $0.00286

Measured 23d ago against content hash cc4d176c7850, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

m365-eval scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/m365-eval/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

m365-eval

Evaluate a Microsoft 365 agent through the AgentEval.Microsoft365 provider. The provider is experimental, and nobody has run it against a live tenant yet. docs/microsoft365.md is the reference; this skill gives the order and the commands.

Rules

  1. Non-production identity only. The WorkIQAgent.Ask permission reads and writes the signed-in user's data, and a prompt can make the agent propose a real action.
  2. Consent is the user's. Add --i-understand-live-side-effects only after the user says yes to that run. The CLI reads only the flag. The samples and the demo also read M365_I_UNDERSTAND_LIVE_SIDE_EFFECTS=true.
  3. Ask before you spend. Before a judged run, say how many agent turns and judge calls it makes and which model. Wait for a yes.
  4. Never resend a prompt. An Indeterminate turn may have reached the service. Read its task id in the trace (turn.outcome) first.
  5. Never approve an action. InputRequired and AuthRequired turns did not complete. Write no code that answers a confirmation card.
  6. Read evidence by availability. NotRequested: not asked for. NotProvided: asked for, nothing came back. Only Provided carries observations. Not observed never means it did not happen.
  7. No tenant data in git. Never commit workiq.json, a raw capture (--m365-capture-raw) or an AEF run written with --aef-content on.
  8. Say "experimental" for native118. That profile requests diagnostic modes observed in Microsoft's native evaluator 1.18.0, not a documented contract.

Decision tree

  • Reach the tenant: steps 1 to 3.
  • Write a benchmark: step 4. Run it: step 5.
  • GDPR, EU AI Act, OWASP, MITRE or NIST: step 6.
  • In code: step 7.
  • Read a result: step 8. Something failed: step 9.
  • An external tester with a tenant: the demo project samples/AgentEval.Microsoft365Demo, then the tester guide.

From a clone, agenteval … means dotnet run --project src/AgentEval.Cli --framework net10.0 -- …. Run agenteval init-workspace once in the repository root, so traces, issue files and doctor reports land in .agenteval/m365/.

Read the full file on GitHub · 211 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago First seen · 211 lines · 117 tokens per session scan A cc4d176c7850

Subscribe to this mod's changes

m365-eval is a skill published in the GitHub repository AgentEvalHQ/AgentEval (164 stars, last pushed 6d ago), licensed MIT. It adds 117 tokens to every session and 2,865 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

m365-eval compared with skills from other repositories

m365-eval next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
m365-evalAgentEvalHQ/AgentEvalSkill1646d agoMITA117Claude Code, Codex
podcast-generationbytedance/deer-flowSkill86ktodayMITA38Claude Code, Codex
skill-reviewerbytedance/deer-flowSkill86ktodayMITA38Claude Code
surprise-mebytedance/deer-flowSkill86ktodayMITA67Claude Code, Codex
zeroclaw-docszeroclaw-labs/zeroclawSkill34ktodayApache-2.0A80Claude Code, Codex
sanity-best-practicesvercel/eveSkill6.1ktodayApache-2.0A153Claude Code, Codex
email-adaptationvercel/eveSkill6.1ktodayApache-2.0A37Claude Code, Codex