Robertjam954/multimodal_rag_application / .claude/skills/azure-cost
azure-cost
VerifiedAzure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE FOR: deploying resources, provisioning, diagnostics, or security audits.
cost-optimization/azure-aks-cost-addon.md
View on GitHub# AKS Cost Analysis Add-on
Enable namespace-level cost visibility using the built-in AKS cost monitoring add-on.
## Check Status
```bash
# Check if add-on is enabled
az aks show \
--name "<cluster-name>" --resource-group "<resource-group>" \
--query "addonProfiles.costAnalysis" -o json
# Check cluster tier (add-on requires Standard or Premium)
az aks show \
--name "<cluster-name>" --resource-group "<resource-group>" \
--query "{tier:sku.tier, name:name}" -o table
```
## Enable Add-on
```bash
# Requires Standard or Premium tier
az aks update \
--name "<cluster-name>" --resource-group "<resource-group>" \
--enable-cost-analysis
```
## If Cluster is Free Tier
Warn user that upgrading from Free to Standard introduces an ongoing cluster management fee. Use the official AKS pricing page or this skill’s pricing validation step to confirm the current cost with the user and obtain explicit approval before proceeding. After user approval:
```bash
az aks update \
--name "<cluster-name>" --resource-group "<resource-group>" \
--tier standard
az aks update \
--name "<cluster-name>" --resource-group "<resource-group>" \
--enable-cost-analysis
```
## After Enabling
Namespace-level cost data is available in:
- Azure Portal: AKS cluster -> Cost Analysis blade
- Azure Cost Management: filter by cluster resource ID + `kubernetes namespace` dimension
> Risk: Low for enabling the add-on. Upgrading tier (Free -> Standard) has a cost — always confirm with user first.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |