mcpField
A
azure-cost

azure-cost

Official
github.com/microsoftSecurity1.6k362.6k installsUpdated today
Repository

About azure-cost

azure-cost is a skill for querying historical Azure costs, forecasting future spending, and finding ways to reduce waste. It organizes work into cost queries, optimization, and forecasts, with specific optimization areas for Redis and Storage.

Key features

  1. 01Query historical costs
  2. 02Forecast future spending
  3. 03Identify cost waste
  4. 04Optimize Redis and Storage

Use cases

  1. 01Review current Azure costs
  2. 02Find resources to reduce spending
  3. 03Project future Azure expenses

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/microsoft/azure-skills --skill azure-cost

After installing, type/azure-costin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

cost-forecast/
error-handling.md
examples.md
guardrails.md
request-body-schema.md
workflow.md
cost-optimization/
auth-best-practices.md
azure-aks-anomalies.md
azure-aks-cost-addon.md
azure-quick-review.md
azure-resource-graph.md
report-template.md
workflow.md
cost-optimization/sdk/
azure-resource-manager-redis-dotnet.md
cost-optimization/services/redis/
azure-cache-for-redis.md
cost-optimization/services/storage/
azure-storage.md
cost-query/
dimensions-by-scope.md
error-handling.md
examples.md
guardrails.md
request-body-schema.md
workflow.md
references/
tools-and-best-practices.md

Details

From the project README

Azure Cost Management Skill

Query historical costs, forecast future spending, optimize to reduce waste.

Routing

User IntentWorkflow
Understand current costsCost Query
Reduce costs / find wasteCost Optimization
Project future costsCost Forecast

Quick Reference

PropertyValue
Query APIPOST {scope}/providers/Microsoft.CostManagement/query?api-version=2023-11-01
Forecast APIPOST {scope}/providers/Microsoft.CostManagement/forecast?api-version=2023-11-01
Required RoleCost 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

References

Comments

Markdown supported