About azure-cost-management
azure-cost-management is an Agent skill for Azure cost management users. It combines local quick references with remote documentation for billing, cost optimization, account configuration, troubleshooting, and automation.
Key features
- 01Billing and subscription troubleshooting
- 02Cost analysis and optimization guidance
- 03Reservations and savings plan guidance
- 04Permissions, budgets, and export configuration
- 05API and script automation patterns
Use cases
- 01Investigate billing or subscription access issues
- 02Plan reservations and savings plans
- 03Configure budgets and cost data exports
- 04Automate cost analysis and billing data retrieval
MCP support
The skill can fetch remote documentation with mcp_microsoftdocs:microsoft_docs_fetch, with fetch_webpage as a fallback.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ microsoftdocs/ agent-skills --skill azure-cost-managementAfter installing, type/azure-cost-managementin Claude Code to confirm it loaded.
Details
From the project READMECost Management Skill
This skill provides expert guidance for Cost Management. Covers troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
How to Use This Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,
L35-L120), useread_filewith the specified lines. For categories with file links (e.g.,[security.md](security.md)), useread_fileon the linked reference file
IMPORTANT for Agent: If
metadata.generated_atis more than 3 months old, suggest the user pull the latest version from the repository. Ifmcp_microsoftdocstools are not available, suggest the user install it: Installation Guide
This skill requires network access to fetch documentation content:
- Preferred: Use
mcp_microsoftdocs:microsoft_docs_fetchwith query stringfrom=learn-agent-skill. Returns Markdown. - Fallback: Use
fetch_webpagewith query stringfrom=learn-agent-skill&accept=text/markdown. Returns Markdown.
Category Index
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L36-L65 | Diagnosing and fixing Azure billing, subscription, and reservation issues (sign-up, access, payments, invoices, utilization, and error codes) including EA, MCA, CSP, and student accounts. |
| Best Practices | L66-L78 | Best practices for analyzing and optimizing Azure costs, using Advisor, managing subscriptions and agreements, leveraging savings plans and SQL licensing, and setting up cost governance processes. |
| Decision Making | L79-L116 | Guides for choosing and configuring Azure billing, cost allocation, reservations, savings plans, EA/MCA/CSP transitions, and subscription/account transfers to optimize and govern cloud spend. |
| Limits & Quotas | L117-L129 | Limits, quotas, and timing for Cost Management data; free account and credit limits; subscription spending limits; savings plan exclusions/utilization; multi-sub limits; dormant billing accounts. |
| Security | L130-L152 | Managing secure access, roles, and permissions for Azure billing, subscriptions, EA/MCA accounts, reservations, savings plans, tax docs, and checking credit balances via portal/APIs. |
| Configuration | L153-L175 | Configuring Cost Management: tags, views, filters, exports, budgets, alerts, reservations/savings plans, SQL licensing, and subscription/billing ownership and policies. |
| Integrations & Coding Patterns | L176-L193 | APIs, scripts, and PowerShell patterns to automate cost analysis, billing data retrieval, and programmatic creation/migration of Azure subscriptions and reservations. |
| Deployment | L194-L197 | Configuring automated, large-scale exports of Azure cost and usage data to storage (like Azure Storage), including setup, scheduling, and management for ongoing cost analysis. |
Troubleshooting
Best Practices
Decision Making
Limits & Quotas
Security
Configuration
Integrations & Coding Patterns
Deployment
| Topic | URL |
|---|---|
| Set up recurring large-scale cost data exports | https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/ingest-azure-usage-at-scale |