m365-demo-setup

m365-demo-setup is a skill for Claude Code, Codex from AgentEvalHQ/AgentEval. It costs 147 tokens per session (1,763 once invoked), scanned A, original, MIT.

A setup procedure for running the AgentEval Microsoft 365 demo from an empty environment to its first saved test run. It guides the Microsoft 365 tenant, app, configuration, and initial run requirements.

In plain words
What is it for?
It helps check Work IQ access, configure the test agent, prepare the required app permissions, and create the first run archive.
Why use it?
It makes the service permissions and local configuration explicit before a test sends a prompt as a signed-in user.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cp ../datasets/m365-config.template.json ../../workiq.json.

Good fit It helps check Work IQ access, configure the test agent, prepare the required app permissions, and create the first run archive.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/AgentEvalHQ/AgentEval
agentmods
npx agentmods add skills/agentevalhq/agenteval/m365-demo-setup

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-demo-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentevalhq/agenteval/m365-demo-setup/github.svg)](https://agentmods.dev/skills/agentevalhq/agenteval/m365-demo-setup)
Your own site
<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.

agentmods 80×15 button for m365-demo-setup

Your own site · 80×15
<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>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,763 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.00147 $0.01763
Opus 5.5 $0.00059 $0.00705
Sonnet 5.5 $0.00029 $0.00353
Haiku 4.5 $0.00015 $0.00176

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

Security

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.

samples/AgentEval.Microsoft365Demo/.github/skills/m365-demo-setup/SKILL.md · 113 lines

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:

  1. A Global Administrator enabled Work IQ in the tenant (guide step 1).
  2. The test user is in a usage-based billing plan (step 2). A new assignment can take up to 30 minutes to apply.
  3. The app registration is a public client: Allow public client flows = Yes (steps 3 and 4).
  4. It has the delegated permission WorkIQAgent.Ask, with admin consent granted (step 5).
  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.

Read the full file on GitHub · 113 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 · 113 lines · 147 tokens per session scan A fa5c2400476a

Subscribe to this mod's changes

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.

Related

m365-demo-setup compared with skills from other repositories

m365-demo-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
m365-demo-setupAgentEvalHQ/AgentEvalSkill1646d agoMITA147Claude 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