Skip to content
Development
Skill

/azure-cost

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\",

From plugin
github-copilot-for-azure
24238 skills1 MCP
Install
$ npx -y skills add microsoft/GitHub-Copilot-for-Azure --skill azure-cost --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/azure-cost

Context preview

The summary Claude sees to decide when to auto-load this skill.

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\",

SKILL.md

azure-cost.SKILL.md
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: "0.0.0-placeholder"

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)
Read more
Ships withgithub-copilot-for-azure

GitHub Copilot for Azure is a set of extensions for Visual Studio, VS Code, and Claude Code designed to streamline the process of developing for Azure.

Get the whole plugin

Other skills on github-copilot-for-azure.