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.
git clone --depth 1 https://github.com/AgentEvalHQ/AgentEvalWrote 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.
[](https://agentmods.dev/instructions/agentevalhq/agenteval/m365-demo)<a href="https://agentmods.dev/instructions/agentevalhq/agenteval/m365-demo"><img src="https://agentmods.dev/badge/instructions/agentevalhq/agenteval/m365-demo/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.
<a href="https://agentmods.dev/instructions/agentevalhq/agenteval/m365-demo"><img src="https://agentmods.dev/badge/instructions/agentevalhq/agenteval/m365-demo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00563 | $0.00563 |
| Opus 5.5 | $0.00225 | $0.00225 |
| Sonnet 5.5 | $0.00113 | $0.00113 |
| Haiku 4.5 | $0.00056 | $0.00056 |
Grade A, and why
AgentEval m365-demo.instructions.md 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft 365 demo: code rules
For every .cs file of the demo and its tests. The rules in .github/copilot-instructions.md apply too.
Conventions
-
The SPDX header comes first:
// SPDX-License-Identifier: MIT // Copyright (c) 2026 AgentEval Contributors // Licensed under the MIT License. -
File-scoped namespaces, nullable enabled, XML docs on every public member. Types are
sealedandinternalunless a host or test needs more; the tests see internals throughInternalsVisibleTo. -
Async all the way, with a
CancellationTokenpassed on. -
Use the provider's public API only, and read each type before you call it. The project already suppresses
AGENTEVAL_M365_PREVIEW001, the provider's experimental diagnostic.
Behaviours every change keeps
- No mock fallback. A stand-in agent exists only in the tests, through
DemoHostOverrides. - A non-completed turn is never an answer.
WorkIqTurnNotCompletedExceptionbecomes anERRORrow with the outcome, the ids and the issue. It is never aFAILand never partial text. - Nothing unmeasured becomes a value. A check whose input is absent is
NotMeasured. So is a check that reads the answer whenMicrosoft365Evidence.IsAnswerMeasured(turn)is false. Read a channel'sAvailabilitybefore itsItems. - No secret anywhere. Tokens, auth codes and the
Authorizationheader never reach the screen, a file or an exception message. Route new output through the existing writers; they redact. - The run folder is always written, on a failure too, at every verbosity.
console.loghas no colours. - Exit codes keep their meaning.
ExitPolicy.Decideis the one place that decides them.
Alongside a change
- A new or changed option, run-folder file, verdict or exit code: update
README.mdand.github/skills/in the same change. - A new check or behaviour: an offline test in
../AgentEval.Microsoft365Demo.Tests, namedMethod_State_Expected, that fails without the change. Tests use a fakeHttpMessageHandlerand a fakeIWorkIqTokenProvider, and never a real judge.
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.
- 23d ago First seen · 46 lines · 563 tokens per session scan A dfbc363d95aa
AgentEval m365-demo.instructions.md is an instructions file published in the GitHub repository AgentEvalHQ/AgentEval (164 stars, last pushed 5d ago), licensed MIT. It adds 563 tokens to every session, about $0.0023 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.
AgentEval m365-demo.instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| AgentEval m365-demo.instructions.mdAgentEvalHQ/AgentEval | Instructions file | 164 | 5d ago | MIT | A | 563 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |