azure-cost-calculator
Installation
SKILL.md
Azure Cost Calculator
Deterministic Azure cost estimation using the public Retail Prices API. Never guess prices; always query the live API via the scripts.
Runtime Detection
Choose the script runtime based on what is available:
| Runtime | Condition | Pricing script | Explore script |
|---|---|---|---|
| Bash (preferred) | curl and jq available |
scripts/get-azure-pricing.sh |
scripts/explore-azure-pricing.sh |
| PowerShell 7+ | pwsh available |
scripts/Get-AzurePricing.ps1 |
scripts/Explore-AzurePricing.ps1 |
| Windows PowerShell 5.1 | powershell.exe available (Windows only). Add -ExecutionPolicy RemoteSigned before -File to avoid silent failures from default policy restrictions. |
scripts/Get-AzurePricing.ps1 |
scripts/Explore-AzurePricing.ps1 |
Both produce identical JSON output. Bash flags use --kebab-case equivalents of PowerShell -PascalCase parameters (e.g., -ServiceName → --service-name).
Declarative Parameters
Service reference files specify query parameters as Key: Value pairs. Translate to Bash --kebab-case or PowerShell -PascalCase flags; quote string values with spaces. See workflow.md for the full parameter table, translation examples, and output formats.
Related skills