azure-cost
VercelAll-time installs
377.7K
Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE FOR: deploying resources, provisioning, diagnostics, or security audits.
Other options
Summary
Query historical Azure costs, forecast future spending, and identify optimization opportunities across subscriptions and resource groups.
- Supports three primary workflows: cost queries with breakdown by service/resource/tag, spending forecasts with configurable time periods, and cost optimization analysis including orphaned resources and VM rightsizing
- Integrates with Azure Cost Management API (query and forecast endpoints) and Azure Monitor for utilization metrics; includes MCP tools for documentation lookup, CLI command generation, and Azure Quick Review compliance scanning
- Handles subscription, resource group, management group, and billing account scopes; enforces Cost Management Reader role requirement and includes rate-limit handling (4 requests/minute per scope)
- Requires actual cost data validation before recommendations; always presents total bill alongside optimization suggestions and includes Azure Portal links for all resources
Raw SKILL.md
1,886 bytes---
name: azure-cost
description: "Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: \"Azure costs\", \"Azure bill\", \"cost breakdown\", \"how much am I spending\", \"forecast spending\", \"optimize costs\", \"reduce spending\", \"orphaned resources\", \"rightsize VMs\", \"cost spike\", \"reduce storage costs\", \"AKS cost\". DO NOT USE FOR: deploying resources, provisioning, diagnostics, or security audits."
license: MIT
metadata:
author: Microsoft
version: "1.3.1"
---
# Azure Cost Management Skill
Query historical costs, forecast future spending, optimize to reduce waste.
## Routing
| User Intent | Workflow |
|-------------|----------|
| Understand current costs | [Cost Query](cost-query/workflow.md) |
| Reduce costs / find waste | [Cost Optimization](cost-optimization/workflow.md) |
| Project future costs | [Cost Forecast](cost-forecast/workflow.md) |
## Quick Reference
| Property | Value |
|----------|-------|
| **Query API** | `POST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01` |
| **Forecast API** | `POST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01` |
| **Required Role** | Cost Management Reader + Monitoring Reader + Reader (on target scope) |
## Scope Patterns
- Subscription: `/subscriptions/<id>`
- Resource Group: `/subscriptions/<id>/resourceGroups/<name>`
- Management Group: `/providers/Microsoft.Management/managementGroups/<id>`
- Billing Account: `/providers/Microsoft.Billing/billingAccounts/<id>`
## Service-Specific Optimization
- [Redis](cost-optimization/services/redis/azure-cache-for-redis.md)
- [Storage](cost-optimization/services/storage/azure-storage.md)
## References
- [MCP Tools, Best Practices, Safety](references/tools-and-best-practices.md)
- [SDK: Redis .NET](cost-optimization/sdk/azure-resource-manager-redis-dotnet.md)
Security audits
SnykPASS
SocketPASS
Gen Agent Trust HubPASS

