drift-report

drift-report is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 18 tokens per session (982 once invoked), scanned A, original, Apache-2.0.

A command that compares a client's current settings with a previously approved compliance baseline and reports the differences. It can also check all clients in a portfolio.

In plain words
What is it for?
Use it to detect configuration drift in Microsoft 365 environments and infrastructure, either for one client or across multiple clients.
Why use it?
It removes the need to manually check several management systems for unauthorized or security-weakening changes. It shows which changes matter most.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the compliance-pack plugin — 3 skills, 3 commands, 3 agents shipped together

Good fit Use it to detect configuration drift in Microsoft 365 environments and infrastructure, either for one client or across multiple clients.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/drift-report
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.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install compliance-pack, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 3 agents.

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 drift-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/drift-report.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/drift-report)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/drift-report"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/drift-report.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 982 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.00018 $0.00982
Opus 5 $0.00009 $0.00491
Sonnet 5 $0.00004 $0.00196
Haiku 4.5 $0.00002 $0.00098

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

Security

Grade A, and why

drift-report 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 3d 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.

msp-claude-plugins/compliance-pack/commands/drift-report.md · 115 lines

How it starts

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

Drift Report

Compare a client's current configuration against the last known-good compliance baseline and report what changed, prioritized by how much each change matters. Omit client to run across the whole portfolio.

Prerequisites

  • Conduit MCP Gateway connected (conduit)
  • CIPP and/or Liongard connected for the target client(s) — at least one is required to have anything to diff
  • A prior baseline is helpful but not required; if none exists, this run establishes one

Steps

  1. Discover available tools. Call conduit__search_tools to confirm which of CIPP, Liongard, and (optionally) a connected PSA are available — drift detection degrades per plane based on what's connected.
  2. Scope the run. If client is given, resolve it to its M365 tenant (CIPP) and/or Liongard environment. If omitted, enumerate all clients with at least one compliance-relevant connector (e.g. via cipp__list_tenants and liongard__environments_list) and run the report for each.
  3. Invoke the control-drift-reporter agent for the resolved scope. The agent retrieves the last accepted baseline, re-runs live checks (cipp__run_standards_check, liongard__timeline_list / liongard__detections_list), diffs against baseline, and attempts to correlate each change with a PSA ticket if one is connected.
  4. Present the report, prioritized findings first (security-weakening and unauthorized/unconfirmed at the top), followed by lower-priority administrative and tightening drift.
  5. If portfolio-wide, close with a rollup table ranking clients by number of high-priority findings.

Arguments

Argument Required Default Description
client No — (portfolio-wide) The client/organization name to check for drift. Omit to run across every client with a compliance-relevant connector.

Examples

Single client drift check

/compliance-pack:drift-report "Acme Corp"

Portfolio-wide drift sweep

/compliance-pack:drift-report

Read the full file on GitHub · 115 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. 3d ago First seen · 115 lines · 18 tokens per session scan A e3321bdaef3c

Subscribe to this mod's changes

drift-report is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 5d ago), licensed Apache-2.0. It adds 18 tokens to every session and 982 once invoked, about $0.0001 per session on Opus 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-09-04.