Azure Guardrails

Azure Guardrails is a skill for Claude Code, Codex from niels-emmer/myace. It costs 34 tokens per session (615 once invoked), scanned A, original, MIT.

A checklist for applying Azure Policy rules at management-group level. Azure Policy checks or changes cloud resources, while management groups organise subscriptions so rules can apply to many of them.

In plain words
What is it for?
Use it when creating or reviewing Azure policies, policy initiatives, assignments, exemptions, or resource locks, and when rolling governance out safely.
Why use it?
It helps enforce standards such as allowed locations, required tags, private access, and diagnostic logging without disrupting existing workloads. It also supports testing, remediation, and time-limited exceptions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it when creating or reviewing Azure policies, policy initiatives, assignments, exemptions, or resource locks, and when rolling governance out safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/azure-guardrails
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 niels-emmer/myace --skill azure-guardrails
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

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 Azure Guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/azure-guardrails/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/azure-guardrails)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/azure-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/azure-guardrails/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 Azure Guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/azure-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/azure-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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.00034 $0.00615
Opus 5.5 $0.00014 $0.00246
Sonnet 5.5 $0.00007 $0.00123
Haiku 4.5 $0.00003 $0.00061

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

Security

Grade A, and why

Azure Guardrails 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 yesterday.

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.

collections/additional/azure/skills/azure-guardrails/SKILL.md · 32 lines

How it starts

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

Purpose

Enforce governance invariants with Azure Policy in a way that is testable, exempt-able with an expiry and safe to roll out.

When to use it

When creating or changing Azure Policy definitions, initiatives, assignments or exemptions, or when deciding between policy, RBAC and locks.

Checklist

  • Assign high: assign initiatives at the management group that should inherit them, and group related definitions into initiatives instead of many separate assignments.
  • Effects: use Audit to measure, Deny for hard invariants, Modify and DeployIfNotExists to remediate (for example to add tags, since tags do not inherit by themselves), and Disabled to switch a definition off without deleting it.
  • Typical guardrails: allowed locations, required tags, deny public network access on storage and databases, require TLS and minimum TLS version, deny unmanaged disks and public IPs where private networking is the standard, require diagnostic settings to a central workspace.
  • Roll out safely: assign with enforcementMode set to DoNotEnforce first so you can see compliance without blocking, review results, then switch to Default. Note that in DoNotEnforce mode noncompliant creations may not generate activity-log events, so rely on compliance data. Remediation tasks for DeployIfNotExists can still run in that mode.
  • Exemptions: create them as policy exemptions with a category (waiver or mitigated), a reason and an expiresOn date; an expired exemption is no longer honoured but the object remains for the record. For initiatives, match the policy definition reference IDs.
  • Locks: use CanNotDelete locks on critical resources such as the central workspace, key vaults and the hub network; know that a ReadOnly lock can break operations that look like reads.
  • Policy versus RBAC: policy controls what can be configured; RBAC controls who can act. Do not use policy as a substitute for least-privilege roles.
  • As code: keep definitions, initiatives and assignments in version control and deploy through the pipeline; limit who can edit assignments and exemptions.
  • Record: each guardrail has an owner, the invariant it enforces and its exception process.

Read the full file on GitHub · 32 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. yesterday First seen · 32 lines · 34 tokens per session scan A c1b54f8cbc4f

Subscribe to this mod's changes

Azure Guardrails is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 615 once invoked, about $0.0001 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-29.

Related

Azure Guardrails compared with skills from other repositories

Azure Guardrails next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Azure Guardrailsniels-emmer/myaceSkill1yesterdayMITA34Claude Code, Codex
loom-kubernetescosmix/loomSkill66todayMITA35Claude Code
loom-prometheuscosmix/loomSkill66todayMITA35Claude Code
ai-foundry-posture-checkricmmartins/azure-sre-agent-skillsSkill7020d agoMITA142Claude Code, Codex
digital-native-governance-checkricmmartins/azure-sre-agent-skillsSkill7020d agoMITA129Claude Code, Codex
well-architected-reviewricmmartins/azure-sre-agent-skillsSkill7020d agoMITA55Claude Code, Codex
compliance-governance-auditricmmartins/azure-sre-agent-skillsSkill7020d agoMITA51Claude Code, Codex