az-cost-optimize
Installation
Summary
Analyze Azure resources and IaC files to identify cost optimizations, creating tracked GitHub issues for implementation.
- Discovers Azure resources across subscriptions and resource groups, analyzes IaC files (Bicep, Terraform, ARM templates), and collects usage metrics from Log Analytics to validate current costs
- Generates evidence-based optimization recommendations with priority scoring based on monthly savings, implementation effort, and risk assessment
- Creates individual GitHub issues for each optimization opportunity plus one EPIC issue for coordinated tracking, with specific Azure CLI commands and implementation steps
- Supports both IaC-based and direct Azure CLI modifications, with clear guidance on which approach to use based on detected infrastructure files
SKILL.md
Azure Cost Optimize
This workflow analyzes Infrastructure-as-Code (IaC) files and Azure resources to generate cost optimization recommendations. It creates individual GitHub issues for each optimization opportunity plus one EPIC issue to coordinate implementation, enabling efficient tracking and execution of cost savings initiatives.
Prerequisites
- Azure MCP server configured and authenticated
- GitHub MCP server configured and authenticated
- Target GitHub repository identified
- Azure resources deployed (IaC files optional but helpful)
- Prefer Azure MCP tools (
azmcp-*) over direct Azure CLI when available