az-cost-optimize
Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
npx skills add github/awesome-copilot --skill az-cost-optimize --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. - Use these practices to inform subsequent analysis and recommendations as much as possible - Reference best practices in optimization recommendations, either from the MCP tool output or general Azure documentation #
- Prerequisites
- Workflow Steps
- Step 1: Get Azure Best Practices
- Step 2: Discover Azure Infrastructure
- Step 3: Collect Usage Metrics & Validate Current Costs
- Step 4: Generate Cost Optimization Recommendations
- Step 5: User Confirmation
- Step 6: Create Individual Optimization Issues
- Step 7: Create EPIC Coordinating Issue
- Error Handling
- Success Criteria
What does the az-cost-optimize skill do?
Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.
How do I install it?
Run `npx skills add github/awesome-copilot --skill az-cost-optimize --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.