Azure Cost Calculator AI capability (Plugin) to provide deterministic and accurate estimations of Azure services costs
npx skills add https://github.com/ahmadabdalla/azure-cost-calculator-skill --skill azure-cost-calculatorCLI를 사용하여 이 스킬을 설치하고 작업 공간에서 SKILL.md 워크플로 사용을 시작하세요.
Real-time Azure cost estimation using the public Azure Retail Prices API. Works with any agent in the skills.sh ecosystem. All prices come from live API lookups. No Azure subscription required.
Run inside a Copilot CLI or Claude Code session.
/plugin marketplace add ahmadabdalla/plugins
/plugin install azure-cost-calculator@ahmadabdalla-plugins
Plugin install pulls from versioned releases with changelog tracking and update control. For the full plugin install/uninstall/update guide, see Plugin Management.
npx (works with any agent):
npx skills add ahmadabdalla/azure-cost-calculator-skill
Don't have
npx? Install Node.js (which includesnpmandnpx), or runnpm install -g skillsfirst then useskills add ahmadabdalla/azure-cost-calculator-skill.
The npx method pulls the latest from the
mainbranch directly; it always gets the current stable content but without version pinning or rollback.
Ask about Azure costs in natural language. The skill activates automatically.
How much does a D4s v5 VM cost per month in East US?
Compare App Service pricing tiers for a production web app
Estimate a Standard_B2s VM with a P30 managed disk in Australia East in AUD
What's the cost of a General Purpose SQL Database with 4 vCores in West Europe in EUR?
How much would Azure Cosmos DB with 1000 RU/s and 100 GB storage cost?
Planning a larger architecture? Start with:
I'd like to perform a cost analysis on an Azure architecture. What do I need to consider to get consistent results?
The agent will walk you through the key parameters that affect pricing accuracy. For the full guide on writing prompts that produce deterministic estimates, see the Usage Guide.
The skill uses service reference files as an index. Each file contains exact API filter values as declarative Key: Value parameters, cost formulas, and traps. The agent reads the matching file, translates the parameters to the detected runtime (Bash or PowerShell), runs the pricing script against the live API, and presents a structured estimate.
The skill optimises for two goals:
Other design goals:
Note: Targets measured via A/B testing with clean-context sessions against complex Azure architectures. Tested with Claude Opus 4.6 and Gemini Pro 3. Results with other models may vary.
References load on demand, keeping token usage low even for 10+ service estimates.
210+ Azure services are mapped across 18 categories (Compute, Databases, Networking, Storage, Security, Monitoring, Integration, AI + ML, and more). 110+ services have full reference files with documented query patterns. For services without a reference file, the skill includes an exploration script that searches the live API to find the right filters automatically.
If you query a service and the skill falls back to discovery mode, that's a signal we're missing a reference file. Please open an issue with the service name rather than accepting the best-effort result. Even if the estimate looked correct this time, the next user (or the next API change) may not get the same result. Issues help us prioritise which reference files to add next.
curl and jq (macOS/Linux, preferred), or PowerShell 7+ (pwsh); install on Windows/macOS/Linux. Windows ships with PowerShell 5.1 (powershell.exe) which is not the same as pwsh; you must install PowerShell 7 separately.https://prices.azure.comEach service reference file you add improves accuracy for everyone. See CONTRIBUTING.md for the full guide, including a ready-to-use prompt that walks your AI through generating a complete reference file.
Without a reference file the agent still works, but it has to discover API filter values on the fly, using more tokens and risking inconsistent results. A reference file provides pre-verified query patterns, documented traps, and correct cost formulas, so every user gets consistent results.
| With reference file | Without (discovery mode) | |
|---|---|---|
| API query | Pre-verified filters | Agent discovers filters from the live API |
| Known gotchas | Documented - the agent avoids common pricing quirks automatically | Agent still works, but may not catch edge cases like $0.00 rounding or RI math |
| Multi-part costs | Each component (compute, storage, IP, etc.) has its own query | Agent queries the main component; secondary costs may need a follow-up |
| Cost formula | Correct multipliers, free-tier deductions, tiered pricing | Uses the API's unit of measure - usually right, occasionally off for unusual meters |
| Speed | Fast - fewer tokens | Slower - requires a discovery step first |
| Accuracy | High - patterns tested against the live API | Depends on model quality - may vary without pre-verified patterns |
Global installs the skill once and makes it available across all your projects without duplicating files. Project-scoped installs it inside a single project. Use global if you estimate Azure costs regularly; use project if you only need it for a specific repo.
This project is licensed under the MIT License.
If you find this skill useful, consider buying me a coffee: