azure-cost-governance

Query Azure Cost Management APIs for cost analysis, budgets, and idle-resource detection.

12|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/markus41/Claude-m --skill azure-cost-governance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-cost-governance
Source: https://github.com/markus41/Claude-m/tree/main/azure-cost-governance/skills/azure-cost-governance
Command: npx skills add https://github.com/markus41/Claude-m --skill azure-cost-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure cost governance and FinOps are essential to controlling cloud spend, ensuring budget adherence, and preventing waste across subscriptions. This skill provides a structured approach to cost queries, budgets, idle-resource detection, forecasts, and actionable savings recommendations via the Azure Cost Management and Consumption REST APIs.

Core Features & Use Cases

  • Cost queries and budgeting: Retrieve cost data, set budgets, and monitor spend against plans.
  • Forecasts and idle-resource detection: Project future spend and identify underutilized or idle resources for potential savings.
  • Policy-driven recommendations: Generate risk-ranked actions and rollback notes to optimize cost governance across environments.
  • Use case: A cloud owner runs monthly cost analysis to highlight top spenders and automatically surface optimization recommendations for the next quarter.

Quick Start

Configure the Azure Cost Governance skill to begin cost analysis for your subscription.

Frequently Asked Questions about azure-cost-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Azure costs and detect idle resources across multiple subscriptions?

Azure cost analysis across multiple subscriptions is handled by querying the Microsoft.CostManagement and Consumption REST APIs to retrieve spend data and identify underutilized resources. This approach enables cost queries, budgeting, and policy-driven savings recommendations across your tenant.

Can I forecast future Azure spend and set budgets using Azure Cost Management APIs?

Yes, you can forecast future Azure spend and set budgets using the Azure Cost Management and Consumption REST APIs. The skill projects future costs and monitors spend against predefined plans to ensure budget adherence across multi-subscription environments.

What do I need to configure before querying Azure cost data for FinOps?

You need canonical context such as your tenantId and subscriptionId to query Azure cost data for FinOps. Providing these identifiers allows the deterministic routing via shared workflow specs to access the Microsoft.CostManagement REST endpoints successfully.

What is the best way to generate cost optimization recommendations for Azure workloads?

The best way to generate cost optimization recommendations is by applying policy-driven analysis to your Azure Cost Management data. This method surfaces risk-ranked actions and rollback notes, identifying top spenders and idle resources for potential savings.

Are there limitations when performing Azure cost governance across multi-subscription environments?

Azure cost governance requires canonical context like tenantId and subscriptionId for deterministic routing, meaning you must explicitly provide these identifiers. Without proper configuration of the Microsoft.CostManagement and Consumption REST endpoints, multi-subscription budgeting and forecasting will not execute.