Cost Estimation
MicrosoftOfficialCreated by Microsoft
- Skill
- Tool integration
- Cloud and DevOps
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Azure Cost Estimation skill provides a structured approach to projecting future cloud expenditures and pricing hypothetical workloads. It enables users to perform cost forecasting on existing scopes and retrieve pricing data for specific resources, including public retail rates and negotiated Enterprise Agreement (EA) or Microsoft Customer Agreement (MCA) prices. The skill emphasizes accurate scope definition and parameter handling to ensure reliable financial projections.
What it does
- Forecasts costs for specific Azure scopes based on historical data.
- Retrieves public retail pricing for Azure services.
- Downloads and processes negotiated pricesheets for EA or MCA agreements.
- Supports filtering by service name and metric types like PreTaxCost or AmortizedCost.
- Provides structured error handling for common API and configuration issues.
- Facilitates comparison of different storage tiers and regions.
When to use it
- When you need to project Azure spending for the upcoming month.
- When planning new infrastructure and requiring cost estimates for specific resources.
- When comparing costs across different Azure regions or storage configurations.
- When you need to access negotiated pricing via an Enterprise Agreement.
- When you need to validate planned resource costs against a specific budget target.
Advantages
- Direct integration with Azure pricing and forecast tools.
- Supports both public retail and negotiated contract pricing.
- Standardized workflow for distinguishing between forecasts and hypothetical pricing.
- Clear error handling guidance for common API and scope-related issues.
- Reduces manual effort in calculating complex cloud resource costs.
Usage examples
- “Forecast the costs for my resource group for the next 30 days.”
- The agent uses the forecast_costs tool to project spending for the specified resource group scope over the requested period.
- “What is the estimated cost for a standard VM in the East US region?”
- The agent utilizes pricing tools to retrieve the current retail price for the specified VM configuration in the requested region.
- “Download my current EA pricesheet.”
- The agent initiates the pricesheet download process and monitors the status until the data is ready for review.
- “Compare the cost of storage tier A versus tier B.”
- The agent retrieves pricing data for both storage tiers to provide a side-by-side cost comparison for the user.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/microsoft/cost-estimation/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip cost-estimation.zip -d .agents/skills
Documentation by Microsoft
Azure Cost Estimation
Quick Reference
| Intent | Workflow | Primary tools |
|---|---|---|
| Forecast existing spend | Cost forecast | forecast_costs |
| Price planned resources | Pricing estimate | Pricing tools |
When to Use This Skill
Use for forecasts, pricing, and planning targets.
MCP Tools
| Tool | Use |
|---|---|
forecast_costs | Forecast a scope. |
get_retail_prices | Get public prices. |
start_pricesheet_download, get_pricesheet_status | Get Enterprise Agreement (EA) or Microsoft Customer Agreement (MCA) prices. |
Fallback: API mappings.
Workflow
Distinguish forecasts from hypothetical pricing.
Confirm scope, assumptions, period, region, OS, and currency.
Load the matching workflow and label every value type.
Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.
Error Handling
| Error | Action |
|---|---|
| Ambiguous meter | Ask for OS, term, tier, or usage. |
| Forecast unavailable | Explain the history requirement. |
| Pricesheet pending | Honor the returned polling interval. |
| Multiple currencies | Never combine currencies. |
| Server error | Retry once; then report the trace ID. |
Files
- ATTRIBUTION.mdAdded by AutoGineer971 B
- LICENSELicence file added by AutoGineer1.1 KiB
- SKILL.md1.9 KiB
- references/cost-forecast/error-handling.md1.3 KiB
- references/cost-forecast/examples.md772 B
- references/cost-forecast/guardrails.md884 B
- references/cost-forecast/request-body-schema.md1018 B
- references/cost-forecast/workflow.md1.9 KiB
- references/pricing-estimate.md2.0 KiB
- references/tool-fallback.md1.1 KiB
references/tool-fallback.md
Estimation Tool Fallback
Use ARM MCP first. If the required operation is unavailable, name the API and use an already authenticated Azure CLI, Azure PowerShell, or REST client.
| Workflow | Fallback API |
|---|---|
| Existing-scope forecast | Cost Management Forecast API |
| Public SKU or meter price | Azure Retail Prices API |
| Negotiated rates | Cost Management Price Sheet API |
Prefer native commands when they expose the required fields; otherwise use
az rest, Invoke-AzRestMethod, or authenticated REST. Preserve scope, period,
filters, pagination, currency, price type, and meter disambiguation. State which
fallback was used and never expose access tokens or pricesheet URLs.
Do not invoke Bash, PowerShell, Python, or another local interpreter merely to parse or aggregate an MCP response. Request server-side filtering or issue smaller bounded MCP queries. Use shell clients only for an approved API fallback when the required MCP operation is unavailable.
Do not fall back for invalid input, denied access, throttling, or empty data. Fallback does not relax the 92-day forecast guardrail or make retail prices customer-specific.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Microsoft
- Publisher
- Microsoft (Official)
- Source
- microsoft/skills · .github/plugins/azure-cost/skills/cost-estimation · commit 0696600
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from .github/plugins/azure-cost/LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Microsoft or Microsoft.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download cost-estimation.zip