github avatar

Az Cost Optimize

This workflow scans your Azure infrastructure through IaC files and live resources, then creates individual GitHub issues for each cost optimization opportunity it finds. It pulls real usage metrics from Log Analytics, validates current pricing against Azure's rates, and generates evidence-based recommendations like right-sizing App Service plans or switching Cosmos DB from provisioned to serverless. The output is actionable: each issue includes specific Azure CLI commands, risk assessments, and calculated monthly savings. It's thorough but requires proper Azure and GitHub MCP setup, and it won't run without finding IaC files first, which might limit its usefulness for purely portal-managed environments.

skills.sh installs
8.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill az-cost-optimize --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure

More from github/awesome-copilot

All 318
1github avatarupdate-avm-modules-in-bicepgithub/awesome-copilotUpdate Azure Verified Modules (AVM) to latest versions in Bicep files.8.6Kskills.sh installs
2superagent-ai avatarci-cd-securitysuperagent-ai/skillsScan GitHub Actions workflow files for security vulnerabilities by reading the YAML and reporting findings directly — no external tools, no installation, no she8.6Kskills.sh installs
3getsentry avatarfind-bugsgetsentry/skillsFind bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit cod7.3Kskills.sh installs
4wshobson avatarblock-no-verify-hookwshobson/agentsConfigure a PreToolUse hook to prevent AI agents from skipping git pre-commit hooks with --no-verify and other bypass flags. Use when setting up Claude Code pro6.9Kskills.sh installs
5mvanhorn avatarprinting-press-retromvanhorn/cli-printing-pressRun a retrospective after generating a CLI. Identifies systemic improvements to the Printing Press — templates, Go binary, skill instructions, and workflow docs6.7Kskills.sh installs
6forcedotcom avatardx-code-analyzer-runforcedotcom/sf-skillsRun Salesforce Code Analyzer to scan code for security, performance, best practice, and code style violations. Supports all engines (PMD, ESLint, CPD, RetireJS,6.7Kskills.sh installs