compliance-governance-audit

compliance-governance-audit is a skill for Claude Code, Codex from ricmmartins/azure-sre-agent-skills. It costs 51 tokens per session (2,299 once invoked), scanned A, original, MIT.

A procedure for reviewing an Azure environment's compliance and governance, including policies, access permissions, tags, resource locks, naming, and regulatory alignment. Azure is Microsoft's cloud platform.

In plain words
What is it for?
Use it for compliance reviews, audit preparation, governance checks, and assessing alignment with frameworks such as SOC 2, ISO 27001, HIPAA, PCI-DSS, or CIS.
Why use it?
It helps identify policy violations, weak access controls, missing metadata, and other issues that can complicate audits or increase operational risk.

Skill for Claude CodeCodex

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

Good fit Use it for compliance reviews, audit preparation, governance checks, and assessing alignment with frameworks such as SOC 2, ISO 27001, HIPAA, PCI-DSS, or CIS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance
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.

Any agent
npx skills add ricmmartins/azure-sre-agent-skills --skill 02-compliance-governance
Clone the repo
git clone --depth 1 https://github.com/ricmmartins/azure-sre-agent-skills

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 compliance-governance-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance/github.svg)](https://agentmods.dev/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance)
Your own site
<a href="https://agentmods.dev/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance"><img src="https://agentmods.dev/badge/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance/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 compliance-governance-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance"><img src="https://agentmods.dev/badge/skills/ricmmartins/azure-sre-agent-skills/02-compliance-governance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,299 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00051 $0.02299
Opus 5 $0.00026 $0.01149
Sonnet 5 $0.00010 $0.00460
Haiku 4.5 $0.00005 $0.00230

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

Security

Grade A, and why

compliance-governance-audit 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 12d 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.

skills/02-compliance-governance/SKILL.md · 239 lines

How it starts

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

Compliance & Governance Audit

Purpose

Assess the governance posture of Azure subscriptions by auditing policies, RBAC assignments, tagging standards, resource locks, and regulatory alignment. Produce a compliance scorecard with remediation steps.

CRITICAL formatting rule

Use Unicode emoji characters directly (🟢 🟡 🔴) in ALL output — headers, tables, findings, bullet points, everywhere. NEVER use emoji shortcodes like :red_circle:, :yellow_circle:, :green_circle:, or any :name: syntax. This applies to every section of the report without exception.

When to use this skill

  • User asks "are we compliant?"
  • User asks about governance, policy violations, or audit readiness
  • Pre-audit preparation (SOC2, ISO 27001, HIPAA, etc.)
  • Monthly governance review

Pre-check

Confirm with the user:

  • Scope: which subscriptions/management groups
  • Compliance framework (if any): SOC2, ISO 27001, HIPAA, PCI-DSS, CIS Benchmarks, or general best practices
  • Any known exceptions or waivers

Audit procedure

Step 1: Azure Policy compliance

Check overall policy compliance state.

az policy state summarize --query "value[].{policy:policyDefinitionName, nonCompliant:nonCompliantResources}" -o table
  1. List all non-compliant resources grouped by policy
  2. Identify policies in "audit" mode that should be "deny"
  3. Check for orphaned policy assignments (assigned but no effect)
  4. Verify initiative assignments for regulatory frameworks (CIS, NIST, etc.)

Report:

  • Total policies assigned
  • % compliant
  • Top 5 violated policies with resource count

Step 2: RBAC review

Audit role assignments for least-privilege violations.

az role assignment list --all --query "[].{principal:principalName, role:roleDefinitionName, scope:scope}" -o table
  1. Owner count: Flag if > 3 Owners at subscription level
  2. Contributor sprawl: List all Contributor assignments — flag service principals with Contributor when a custom role would suffice
  3. Classic admins: Check for legacy co-administrators
    az role assignment list --include-classic-administrators -o table
    
  4. Guest users with privileged roles: Flag external identities with Owner/Contributor
  5. Stale assignments: Cross-reference with sign-in logs — flag principals that haven't signed in for 90+ days
  6. Custom roles: Review custom role definitions for overly broad permissions (e.g., * actions)

Read the full file on GitHub · 239 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. 12d ago First seen · 239 lines · 51 tokens per session scan A e770b5e46678

Subscribe to this mod's changes

compliance-governance-audit is a skill published in the GitHub repository ricmmartins/azure-sre-agent-skills (70 stars, last pushed 18d ago), licensed MIT. It adds 51 tokens to every session and 2,299 once invoked, about $0.0003 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-08-30.