azure-policy

azure-policy is a skill for Claude Code from MicrosoftDocs/Agent-Skills. It costs 118 tokens per session (7,495 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 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,495 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.00118 $0.07495
Opus 5.5 $0.00047 $0.02998
Sonnet 5.5 $0.00024 $0.01499
Haiku 4.5 $0.00012 $0.00749

Measured 14d ago against content hash f5428444aa1c, 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 14d 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 · 251 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. 14d ago Changed · +2 lines · +4 tokens per session f5428444aa1c
  2. 21d ago Changed · +11 tokens per session 70d81412c36b
  3. 1mo ago Changed c20a1f356540
  4. 1mo ago Changed · -4 tokens per session c82a05639713
  5. 1mo 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 (787 stars, last pushed yesterday), licensed CC-BY-4.0. It adds 118 tokens to every session and 7,495 once invoked, about $0.0005 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

Other skills, from other repositories

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

devops-pipeline

Configure pre-commit hooks and lean GitHub Actions for shift-left quality assurance. Use when adding or auditing CI/CD to maximize local test coverage and minimize CI cost. Skip for Terraform/K8s, deployment pipelines, or non-GitHub CI providers.

luongnv89/skills · 56 tokens

security-setup

Install local-first security hardening: pre-commit secret detection, offline dependency scans, static analysis, reports, and gated free CI. Use when hardening repos or adding security hooks. Don't use for incident response or cloud security reviews.

luongnv89/skills · 51 tokens

github-pages-publish

Publish or update a static site (gh-pages) on GitHub Pages via GitHub Actions in any repo: text or pre-built HTML in, workflow set up, live URL verified. Don't use for CI test pipelines, framework/SSG builds, or Netlify/Vercel hosting.

luongnv89/skills · 63 tokens

nx-ci-monitor

Monitor Nx Cloud CI pipeline status and handle self-healing fixes automatically. Use when user says "watch CI", "monitor pipeline", "check CI status", "fix CI failures", or "self-heal CI". Requires Nx Cloud connection. Do NOT use for local task execution (use nx-run-tasks) or general CI debugging outside Nx Cloud.

tech-leads-club/agent-skills · 74 tokens

perf-lighthouse

Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, and set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance…

tech-leads-club/agent-skills · 92 tokens