microsoft/azure-skills · Official

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\", \"cost spike\", \"reduce storage costs\", \"AKS cost\". DO NOT USE FOR: deploying resources, provisioning, diagnostics, or security audits.

All-time #132 Trending #188 First seen Apr 2, 2026
8-week activity · all time api

Installation

$ npx skills add microsoft/azure-skills --skill azure-cost

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

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Apr 23, 2026

This skill provides a comprehensive and secure suite of tools for managing Azure costs, including querying historical data, forecasting future spend, and identifying optimization opportunities. It leverages official Microsoft APIs and adheres to established security best practices for identity and resource management.

snyk LOW

Analyzed Apr 23, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Apr 23, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from microsoft/azure-skills · top by installs.

npx skills add microsoft/azure-skills

Browse all from microsoft/azure-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1.5K
License MIT
Default branch main
Open issues 9
Last push Sep 10, 2026
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.3.1
LicenseMIT
More metadata
author
Microsoft
version
1.3.1

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,886 B
  • docs SUMMARY.md 432 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 372,100 installs

SKILL.md

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)