azure-priceslisted
Install: claude install-skill Code-and-Sorts/awesome-copilot-agents
# Azure Prices
Fetch and compare live Azure service pricing using the bundled scripts that call the Azure Retail Prices API.
## Execution Rules
Always use the bundled npm script for price lookups and comparisons when terminal execution is available.
**DO NOT** call the Azure Retail Prices API directly. You can only use the script to call the API.
## Scripts
All scripts live in `./scripts/` and run via npm:
```bash
# List sample service names (discover what's available)
npm run --prefix ./scripts get-prices
# Get prices for a service in a region (default region: eastus)
npm run --prefix ./scripts get-prices -- "Virtual Machines" eastus
```
The script accepts two positional arguments:
1. **Service name** (required for price lookup) — e.g. `"Virtual Machines"`, `"SQL Database"`, `"Storage"`, `"Azure Cosmos DB"`
2. **Region** (optional, defaults to `eastus`) — e.g. `eastus`, `westus2`, `westeurope`, `southeastasia`
When called with no arguments, it prints a sample of available service names.
## How to Use
The npm commands below are the preferred execution path for this skill and should be used instead of direct API calls whenever command execution is available.
### Single region lookup
Run the script with the service name and region. Present results in a readable table.
### Cross-region comparison
To compare prices across regions, run the script multiple times — once per region — then combine the results into a comparison table. For example, to compare Virtual Ma