/azure:azure-costfrom azure
Queries historical Azure costs by service/resource/tag, forecasts spending, and suggests optimizations like rightsizing VMs or finding unused resources.
Ships in azure. 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.
Read when SKILL.md points to them.
Unified skill for all Azure cost management tasks: querying historical costs, forecasting future spending, and optimizing to reduce waste.
Activate this skill when user wants to:
| Property | Value |
|---|---|
| Query API Endpoint | POST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01 |
| Forecast API Endpoint | POST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01 |
| MCP Tools | azure__documentation, azure__extension_cli_generate, azure__get_azure_bestpractices |
| CLI | az rest, az monitor metrics list, az resource list |
| Required Role | Cost Management Reader + Monitoring Reader + Reader on scope |
| Tool | Description | Parameters | When to Use |
|---|---|---|---|
azure__documentation | Search Azure documentation | query (Required): search terms | Research Cost Management API parameters and options |
azure__extension_cli_generate | Generate Azure CLI commands | intent (Required): task description, cli-type (Required): "az" | Construct az rest commands for cost queries |
azure__get_azure_bestpractices | Get Azure best practices | intent (Required): optimization context | Inform query design with cost management best practices |
azure__extension_azqr | Run Azure Quick Review compliance scan | subscription (Required): subscription ID, resource-group (Optional): resource group name | Find orphaned resources and cost optimization opportunities |
azure__aks | Azure Kubernetes Service operations | varies by sub-command | AKS cost analysis: list clusters, get node pools, inspect configuration |
💡 Tip: Prefer MCP tools over direct CLI commands. Use
az restonly when MCP tools don't cover the specific operation.
Read the user's request and follow the appropriate workflow below.
| User Intent | Workflow | Example Prompts |
|---|---|---|
| Understand current costs | Cost Query Workflow | "how much am I spending", "cost by service", "show my bill" |
| Reduce costs / find waste | Cost Optimization Workflow | "optimize costs", "find orphaned resources", "reduce spending" |
| Project future costs | Cost Forecast Workflow | "forecast costs", "end of month estimate", "how much will I spend" |
| Full cost picture | All three workflows combined | "give me the full picture of my Azure costs" |
Important: When optimizing costs, always present the total bill and cost breakdown alongside optimization recommendations.
| Scope | URL Pattern |
|---|---|
| Subscription | /subscriptions/<subscription-id> |
| Resource Group | /subscriptions/<subscription-id>/resourceGroups/<resource-group-name> |
| Management Group | /providers/Microsoft.Management/managementGroups/<management-group-id> |
| Billing Account | /providers/Microsoft.Billing/billingAccounts/<billing-account-id> |
| Billing Profile | /providers/Microsoft.Billing/billingAccounts/<billing-account-id>/billingProfiles/<billing-profile-id> |
💡 Tip: These are scope paths only — not complete URLs. Combine with the API endpoint and version.
For the full cost query workflow (scope selection, report types, timeframes, dataset configuration, API calls, pagination, guardrails, examples, and error handling), see:
For the full cost optimization workflow (prerequisites, best practices, Redis/AKS-specific analysis, Azure Quick Review, resource discovery, cost queries, pricing validation, utilization metrics, and report generation), see:
For the full cost forecast workflow (scope selection, time period rules, dataset configuration, forecast-specific options, API calls, response interpretation, guardrails, and error handling), see:
az costmanagement query)az rest with JSON body, not az costmanagement querycost-forecast/error-handling.md (opens in a new tab)cost-forecast/examples.md (opens in a new tab)cost-forecast/guardrails.md (opens in a new tab)cost-forecast/request-body-schema.md (opens in a new tab)cost-forecast/workflow.md (opens in a new tab)cost-optimization/auth-best-practices.md (opens in a new tab)cost-optimization/azure-aks-anomalies.md (opens in a new tab)cost-optimization/azure-aks-cost-addon.md (opens in a new tab)cost-optimization/azure-quick-review.md (opens in a new tab)cost-optimization/azure-resource-graph.md (opens in a new tab)cost-optimization/report-template.md (opens in a new tab)cost-optimization/sdk/azure-resource-manager-redis-dotnet.md (opens in a new tab)cost-optimization/services/redis/azure-cache-for-redis.md (opens in a new tab)cost-optimization/workflow.md (opens in a new tab)cost-query/dimensions-by-scope.md (opens in a new tab)cost-query/error-handling.md (opens in a new tab)cost-query/examples.md (opens in a new tab)cost-query/guardrails.md (opens in a new tab)cost-query/request-body-schema.md (opens in a new tab)cost-query/workflow.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (attentiondotnet/azure-skills) — no native marketplace selected
npx claudepluginhub p/attentiondotnet-azure24 skills in this plugin
/appinsights-instrumentationGuidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices./azure-aiUse for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech./azure-aigatewayConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.Other plugins' skills for the same job