tenant-health

tenant-health is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 23 tokens per session (427 once invoked), scanned A, original, Apache-2.0.

A health report for one Microsoft 365 customer account. It checks outdated data, security-policy gaps, missing multi-factor authentication, email-authentication issues, and baseline compliance.

In plain words
What is it for?
Use it for customer check-ins, checking work after onboarding, preparing business reviews, or investigating a suspected account problem.
Why use it?
It brings several separate checks into one view, so you can quickly see whether something is wrong with an account.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the cipp plugin — 7 skills, 4 commands, 2 agents shipped together

Good fit Use it for customer check-ins, checking work after onboarding, preparing business reviews, or investigating a suspected account problem.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/tenant-health
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 cipp, the plugin that ships this one along with the rest of its 7 skills, 4 commands, 2 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 tenant-health

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/tenant-health/github.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/tenant-health)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/tenant-health"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/tenant-health/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 tenant-health

Your own site · 80×15
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/tenant-health"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/tenant-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 427 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.00023 $0.00427
Opus 5 $0.00012 $0.00214
Sonnet 5 $0.00005 $0.00085
Haiku 4.5 $0.00002 $0.00043

Measured 7d ago against content hash 5ce5c00de76e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tenant-health 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 7d 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/cipp/cipp/commands/tenant-health.md · 34 lines

What it actually says

CIPP Tenant Health Snapshot

Pulls a focused health picture for one tenant. Suitable for client check-ins, post-onboarding validation, pre-QBR prep, or "is something off with [tenant]?" investigations.

Arguments

  • tenant (required) — Tenant default domain, display name, or GUID
  • detail (optional) — summary (default), full, or executive — controls report depth

What it checks

  1. Tenant freshnesscipp_get_tenant_details to confirm lastRefresh is current
  2. BPA failurescipp_list_bpa grouped by category, sorted by severity
  3. Conditional Accesscipp_list_conditional_access_policies filtered to state='enabled'; flags if MFA-for-all-apps baseline is missing
  4. MFA gapscipp_list_mfa_users with count of users without registered strong auth methods
  5. Domain healthcipp_list_domain_health flagging any DMARC p=none, missing SPF, or unconfigured DKIM
  6. Standardscipp_list_standards showing baseline standards present, mode (Report/Alert/Remediate), and last check status

Detail levels

  • summary (default): Pass/fail per category, top 5 findings, one-line health verdict
  • full: Every BPA result, every CA policy, all MFA gap users, all domain results
  • executive: Plain-language posture summary suitable for a client-facing email

When to use this vs. the agent

Use this command for routine snapshots and quick lookups. Delegate to security-posture-reviewer when you need cross-tenant comparison, drift detection, or a structured remediation plan.

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. 7d ago First seen · 34 lines · 23 tokens per session scan A 5ce5c00de76e

Subscribe to this mod's changes

tenant-health is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 8d ago), licensed Apache-2.0. It adds 23 tokens to every session and 427 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.