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

Workflow Steps

Step 1: Get Azure Best Practices

Action: Retrieve cost optimization best practices before analysis Tools: Azure MCP best practices tool Process:

  1. Load Best Practices:
    • Execute azmcp-bestpractices-get to get some of the latest Azure optimization guidelines. This may not cover all scenarios but provides a foundation.
Related skills

More from github/awesome-copilot

Installs
8.3K
GitHub Stars
32.8K
First Seen
Feb 25, 2026