Agent skill · data analytics · github

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.

Why this skill is useful

Adds specific Azure MCP commands and workflows for cost optimization that the AI wouldn't reliably generate on its own.

What it needs

Requires azure-cli installed locally. Requires azure, github account access. About 7k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.

What this skill does

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 Step 2: Discover Azure Infrastructure Action: Dynamically discover and analyze Azure resources and configurations Tools: Azure MCP tools + Azure CLI fallback + Local file system access Process: 1. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills github/az-cost-optimize

View the source on GitHub

Browse the @skills marketplace