/inforcer:compliance-reportingfrom inforcer
Generates Inforcer compliance and posture reports for Microsoft 365 tenants, combining secure scores with alignment scores and classifying tenants as aligned, semi-aligned, or drifted. Supports portfolio roll-ups for MSP QBRs.
Ships in inforcer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill turns Inforcer's raw signals — secure scores and alignment — into a posture report. The headline output is a per-tenant classification (aligned / semi-aligned / drifted) rolled up across the portfolio, suitable for monthly internal reviews and QBRs.
Read api-patterns for headers, region, the envelope, and pagination, and tenant-management for resolving tenants to integer Client Tenant IDs. Alignment mechanics live in baseline-alignment.
inforcer-baseline-alignment.cipp-standards. Do not blend CIPP and Inforcer scores into one
number.inforcer-assessments.inforcer_secure_scores_getRead the Microsoft 365 secure score for a tenant — Microsoft's own security posture measure for the M365 environment.
inforcer_secure_scores_get(tenant="Acme")
The tenant argument accepts a friendly name, a DNS name, an Azure AD
tenant GUID, or the numeric Client Tenant ID; the server resolves the
first three to the numeric id before calling Inforcer.
Secure score is complementary to alignment: alignment says "does this tenant match our baseline?", secure score says "what does Microsoft think of this tenant's posture overall?". A strong report uses both.
inforcer_alignment_scoresRead the tenant's alignment score against its assigned baseline (the other half of the posture picture). See baseline-alignment for details.
inforcer_alignment_scores(clientTenantId=1423)
Alignment classification is threshold-driven. Two configurable settings define the bands:
alignedThresholdsemiAlignedThresholdA tenant (or an individual policy) is classified by comparing its alignment value against those thresholds:
| Classification | Condition |
|---|---|
| aligned | value >= alignedThreshold |
| semi-aligned | value >= semiAlignedThreshold and < alignedThreshold |
| drifted | value < semiAlignedThreshold |
So the bands are: at or above alignedThreshold is aligned; in the
window [semiAlignedThreshold, alignedThreshold) is semi-aligned;
below semiAlignedThreshold is drifted. Always state the threshold
values you used in the report — a tenant's band is meaningless without
the thresholds that produced it, and changing the thresholds reclassifies
tenants without anything actually changing on the tenant.
def classify(value, aligned_threshold, semi_aligned_threshold):
if value >= aligned_threshold:
return "aligned"
if value >= semi_aligned_threshold:
return "semi-aligned"
return "drifted"
For a fleet report:
inforcer_tenants_list — enumerate managed tenants (page to completion).inforcer_alignment_scores and inforcer_secure_scores_get.alignedThreshold / semiAlignedThreshold classification
to the alignment value.| Column | Source |
|---|---|
| Alignment score + band | inforcer_alignment_scores + thresholds |
| Secure score | inforcer_secure_scores_get |
| Classification | computed (aligned / semi-aligned / drifted) |
royklo/InforcerCommunity.What SKILL.md sets; muted values are Claude Code's defaults
When producing Inforcer security posture or compliance reports for one tenant or the whole portfolio. Use when: inforcer secure score, compliance report, posture report, aligned threshold, semi-aligned, drifted classification, portfolio posture, or secure score per tenant.
Three short reads, in order
inforcer, m365-security, posture-reporting, compliance-reporting, msp
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin inforcer7 skills in this plugin
/api-patternsInforcer API PatternsInforcer MCP fundamentals: the gateway X-Inforcer-Region / X-Inforcer-Api-Key headers, the region-based base URL and upstream Inf-Api-Key header, the /beta/ route prefix, the {success,message,errors,data} response envelope, continuationToken pagination, and the integer Client Tenant ID vs Azure AD GUID gotcha. Every other Inforcer skill assumes these patterns.
/assessmentsInforcer AssessmentsInforcer assessments: listing a tenant's assessments (read-only) and triggering an assessment run — the one mutating action in the entire Inforcer surface. Covers what a run refreshes (the data behind alignment, secure score, and drift), its tenant-scoping, and the confirmation discipline it requires.
/audit-eventsInforcer Audit EventsOther plugins' skills for the same job