azure-cost

Query historical and forecast Azure cost data across subscriptions and resource groups.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill azure-cost-p-potvin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-cost
Source: https://github.com/p-potvin/vaultwares-pipelines/tree/main/.github/agents/agents/azure-cost
Command: npx skills add https://github.com/p-potvin/vaultwares-pipelines --skill azure-cost-p-potvin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill centralizes Azure cost management tasks so users can query historical spending, forecast future bills, and identify savings opportunities without manually assembling Cost Management API calls or cross-referencing multiple data sources.

Core Features & Use Cases

  • Cost Querying & Reporting: Retrieve historical costs and break down spend by subscription, resource group, service, tag, or resource to produce detailed billing reports.
  • Forecasting & Trends: Project end-of-month and future spending using Cost Management forecast APIs and surface trend analysis and anomalies.
  • Optimization & Rightsizing: Detect orphaned or underutilized resources, run AKS/Redis-specific checks, and produce actionable rightsizing and cost-reduction recommendations; for example, generate a report that highlights top cost drivers and suggested VM size changes to save monthly costs.

Quick Start

Show me the last 30 days of Azure costs for subscription 12345678-1234-1234-1234-123456789012 broken down by service and resource group.

Frequently Asked Questions about azure-cost

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I forecast Azure spending for my subscriptions?

Azure cost forecasting projects end-of-month and future bills using Cost Management forecast APIs. You can analyze trends and surface spending anomalies across subscriptions and resource groups.

What's the best way to get a billing breakdown by resource group and service?

Azure cost querying retrieves historical costs to produce detailed billing reports. You can break down spend by subscription, resource group, service, tag, or resource across management group and billing account scopes.

How do I find rightsizing recommendations for Azure VMs?

Azure cost optimization detects orphaned and underutilized resources to produce rightsizing recommendations. It runs AKS and Redis checks and suggests VM size changes to reduce monthly costs.

Do I need specific roles to query Azure Cost Management APIs?

Azure Cost Management requires Cost Management Reader and Monitoring Reader roles. You use these with Azure Cost Management REST APIs, az rest, and MCP tools to construct queries and optimization reports.

Can I detect cost anomalies across my Azure billing account?

Azure cost querying supports anomaly detection across billing account and management group scopes. You can surface trend analysis to identify unexpected spending spikes in your historical cost data.