/microsoft-finops-toolkit:azure-policy-governancefrom microsoft-finops-toolkit
Enforces cost governance with Azure Policy: requires/inherits tags, restricts regions/SKUs/resource types, audits untagged resources, and generates Bicep/ARM policy assignments.
Ships in microsoft-finops-toolkit. 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.
Enforce the guardrails that make FinOps allocation and waste-control durable: tag requirements, tag inheritance, region/SKU restrictions, and audit policies. This skill turns governance gaps into deployable policy for the user to review and apply. Don't assign policy or start remediation yourself; the FinOps skills are read-only.
Use it when the user wants to enforce or audit tagging, restrict what can be deployed, or asks for "a policy" to back up a FinOps recommendation. Run policy inventory and policy recommendations from the finops-multitool skill first to see what's already assigned and where the gaps are, then generate policy here.
Audit/AuditIfNotExists first, review compliance, then move to Deny/Modify. Never lead with Deny on an existing environment.| Goal | Built-in policy (verify ID before use) | Effect |
|---|---|---|
| Require a tag on resource groups | "Require a tag on resource groups" | Deny |
| Require a tag on resources | "Require a tag on resources" | Deny |
| Inherit a tag from the resource group | "Inherit a tag from the resource group" | Modify |
| Audit missing tag | "Require a tag and its value on resources" (audit variant) | Audit |
| Allowed locations | "Allowed locations" | Deny |
| Allowed resource types | "Allowed resource types" | Deny |
| Allowed VM SKUs | "Allowed virtual machine size SKUs" | Deny |
Modify and DeployIfNotExists policies require a managed identity on the assignment with rights to remediate. Tell the user to create a remediation task after they assign the policy, so existing resources are brought into compliance, not just new ones.
Audit → review compliance → Modify/Append (auto-fix) → remediate existing → Deny (block new violations)
Apply the same tag key across all three layers (require on RG, inherit to resources, deny new untagged) so the allocation model from the cost-allocation skill is enforced end to end.
When asked for Bicep:
enforcementMode to DoNotEnforce for a dry run when the user wants to preview impact.Microsoft.Authorization/policyAssignments schema and run diagnostics before presenting the file.cost-allocation skill.finops-multitool policy scans.power-bi-finops (governance report) or azure-workbooks-finops.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
azure-policy, cost-governance, finops, tag-enforcement, bicep, arm
npx claudepluginhub microsoft/finops-toolkit --plugin microsoft-finops-toolkit14 skills in this plugin
/anomaly-investigationUse when a cost spike, anomaly alert, or unexpected charge needs root-cause analysis — drilling from a total-cost jump down to the specific service, resource, region, or change that caused it. Picks up after detection (the "what") to deliver the "why" and the fix./azure-workbooks-finopsUse when the user wants to deploy, interpret, or customize the FinOps toolkit Azure Monitor workbooks (Governance and Optimization), build a workbook from cost/resource data, or troubleshoot a workbook that shows no data. For Azure Monitor workbooks specifically — not Power BI./cost-allocationUse when the user wants to design showback or chargeback, allocate shared costs, build a tagging strategy for cost accountability, map spend to teams/products/cost centers, split shared platform costs, or model a financial hierarchy from billing and tag data./cost-data-sourceThis skill should be used before any spend question that would call the FinOps multitool cost tools — "what's my cost", "current spend", "top resources by cost", "cost by tag", "this month's bill", "where is the money going", or any "cost scan". It decides whether to read from a FinOps Hub (its Kusto database or storage export) or the live Cost Management API, warns the user before a slow API scan, and supports chunking large tenants for incremental progress. Use it to keep cost scans fast and the session engaging instead of blocking on long API runs./finops-multitoolThis skill should be used when the user asks to "scan for cost savings", "find orphaned resources", "find idle VMs", "check Azure Hybrid Benefit", "review tags", "tag coverage", "tag recommendations", "policy coverage", "cost by tag", "cost trend", "top resources by cost", "reservation recommendations", "commitment utilization", "realized savings", "budget status", "cost anomaly alerts", "Advisor cost recommendations", "billing structure", "contract info", or run a "FinOps assessment", "FinOps scan", or "cost optimization scan". Also use it proactively whenever the conversation turns to Azure cost, waste, savings, governance, or FinOps health and live data would answer the question better than a general explanation./finops-reportingUse when the user wants to turn cost data, scan output, or KQL results into an audience-ready narrative — executive summaries, monthly cost reviews, QBR decks, variance write-ups, or savings/optimization status reports. Converts numbers into decisions and recommendations.Other plugins' skills for the same job