azure-policy

azure-policy is a skill for Claude Code from MicrosoftDocs/Agent-Skills. It costs 107 tokens per session (7,633 once invoked), scanned A, original, CC-BY-4.0.

A reference for creating and troubleshooting Azure Policy rules. Azure Policy is Microsoft's system for checking and enforcing how cloud resources are configured.

In plain words
What is it for?
Use it to write JSON policies, machine configuration rules, Terraform or Gatekeeper policies, and policy checks in CI/CD pipelines.
Why use it?
It helps express infrastructure and compliance requirements as rules that can be checked consistently. It also covers policy-as-code and related deployment workflows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the azure-agent-skills plugin — 199 skills shipped together , and of azure-agent-skills

Good fit Use it to write JSON policies, machine configuration rules, Terraform or Gatekeeper policies, and policy checks in CI/CD pipelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoftdocs/agent-skills/azure-policy
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 MicrosoftDocs/Agent-Skills --skill azure-policy
Clone the repo
git clone --depth 1 https://github.com/MicrosoftDocs/Agent-Skills

Made for: Claude Code.

Or install azure-agent-skills, the plugin that ships this one along with the rest of its 199 skills.

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-policy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoftdocs/agent-skills/azure-policy"><img src="https://agentmods.dev/badge/skills/microsoftdocs/agent-skills/azure-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,633 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 unknown 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.00107 $0.07633
Opus 5.5 $0.00043 $0.03053
Sonnet 5.5 $0.00021 $0.01527
Haiku 4.5 $0.00011 $0.00763

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

Security

Grade A, and why

azure-policy 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 24d 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/azure-policy/SKILL.md · 255 lines

The source is not reproduced here

Licensed CC-BY-4.0

The repository is licensed CC-BY-4.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 24d ago Changed · +2 lines · -5 tokens per session 3e7dff9e272f
  2. 1mo ago Changed · +2 lines · -6 tokens per session 8d0d9584c17b
  3. 1mo ago Changed · +2 lines · +4 tokens per session f5428444aa1c
  4. 2mo ago Changed · +11 tokens per session 70d81412c36b
  5. 2mo ago Changed c20a1f356540
  6. 2mo ago Changed · -4 tokens per session c82a05639713
  7. 3mo ago First seen · 249 lines · 107 tokens per session scan A 0e00bc1dfb84

Subscribe to this mod's changes

azure-policy is a skill published in the GitHub repository MicrosoftDocs/Agent-Skills (827 stars, last pushed 25d ago), licensed CC-BY-4.0. It adds 107 tokens to every session and 7,633 once invoked, about $0.0004 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-09-03.

Related

azure-policy compared with skills from other repositories

azure-policy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
azure-policyMicrosoftDocs/Agent-SkillsSkill82725d agoCC-BY-4.0A107Claude Code
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.7k3d agoMITA69Claude Code
devops-pipelineluongnv89/skillsSkill149todayMITA65Claude Code, Codex
security-setupluongnv89/skillsSkill149todayMITA59Claude Code
github-pages-publishluongnv89/skillsSkill149todayMITA63Claude Code
code-analysis-setupluongnv89/skillsSkill149todayMITA63Claude Code, Codex
automation-readyluongnv89/skillsSkill149todayMITA59Claude Code, Codex