Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/AgentEvalHQ/AgentEvalnpx agentmods add skills/agentevalhq/agenteval/m365-demo-setupWrote 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/skills/agentevalhq/agenteval/m365-demo-setup)<a href="https://agentmods.dev/skills/agentevalhq/agenteval/m365-demo-setup"><img src="https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-demo-setup/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/skills/agentevalhq/agenteval/m365-demo-setup"><img src="https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-demo-setup.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.00147 | $0.01763 |
| Opus 5.5 | $0.00059 | $0.00705 |
| Sonnet 5.5 | $0.00029 | $0.00353 |
| Haiku 4.5 | $0.00015 | $0.00176 |
Grade A, and why
m365-demo-setup 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
m365-demo-setup
Follow the steps in order. Steps 1 to 4 send no prompt to the agent. Step 5 acts as the signed-in user, so the rules
in .github/copilot-instructions.md matter most there.
Run every command from this folder, as dotnet run -- …. The README's quick start puts workiq.json at the
repository root, so add --config ../../workiq.json to every command. The run folders then land in this folder's
m365-demo-runs/. The demo's own messages print the repository-root form,
dotnet run --project samples/AgentEval.Microsoft365Demo -- ….
Step 1: Prerequisites
Connect to a Microsoft 365 tenant (from this folder: ../../docs/microsoft365-tenant-setup.md) gives
each step, who does it, and what a failure means. Copilot may ask before it reads a file outside the workspace. Check
each item with the user, in this order:
- A Global Administrator enabled Work IQ in the tenant (guide step 1).
- The test user is in a usage-based billing plan (step 2). A new assignment can take up to 30 minutes to apply.
- The app registration is a public client: Allow public client flows = Yes (steps 3 and 4).
- It has the delegated permission
WorkIQAgent.Ask, with admin consent granted (step 5). - Conditional Access allows device-code sign-in for the test user (step 6). The demo signs in with a device code only.
The tenant and the test user must be non-production. Check that dotnet --version starts with 10..
The document titled "Demo Q3 Planning" matters. Without it the grounding case can still PASS on a plain "not found", and then it measures nothing about grounding.
Step 2: The config file
Use ../../workiq.json if it exists. Otherwise create it there from the template:
cp ../datasets/m365-config.template.json ../../workiq.json
Set tenantId to the Directory (tenant) ID and appClientId to the Application (client) ID. Set timeZone to
the tester's IANA zone, such as Europe/Zurich, and leave the rest. A value still reading REPLACE-WITH-… is refused
before anything is sent. workiq.json holds no secret but names the tenant: check git status before any commit.
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 · 113 lines · 147 tokens per session scan A fa5c2400476a
m365-demo-setup is a skill published in the GitHub repository AgentEvalHQ/AgentEval (164 stars, last pushed 6d ago), licensed MIT. It adds 147 tokens to every session and 1,763 once invoked, about $0.0006 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.
m365-demo-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| m365-demo-setupAgentEvalHQ/AgentEval | Skill | 164 | 6d ago | MIT | A | 147 | Claude Code, Codex |
| podcast-generationbytedance/deer-flow | Skill | 86k | today | MIT | A | 38 | Claude Code, Codex |
| skill-reviewerbytedance/deer-flow | Skill | 86k | today | MIT | A | 38 | Claude Code |
| surprise-mebytedance/deer-flow | Skill | 86k | today | MIT | A | 67 | Claude Code, Codex |
| zeroclaw-docszeroclaw-labs/zeroclaw | Skill | 34k | today | Apache-2.0 | A | 80 | Claude Code, Codex |
| sanity-best-practicesvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 153 | Claude Code, Codex |
| email-adaptationvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 37 | Claude Code, Codex |