az-cost-optimize

Analyze Azure resources and IaC files to identify cost optimization opportunities.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/pczhao1210/reuseable-agents-and-skills --skill az-cost-optimize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: az-cost-optimize
Source: https://github.com/pczhao1210/reuseable-agents-and-skills/tree/main/.agents/skills/az-cost-optimize
Command: npx skills add https://github.com/pczhao1210/reuseable-agents-and-skills --skill az-cost-optimize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the identification of Azure cost savings by analyzing deployed resources and optional IaC files, validating usage and pricing, and producing prioritized, evidence-backed optimization recommendations ready for tracking.

Core Features & Use Cases

  • Resource Discovery & IaC Analysis: Discover subscriptions, resource groups, resources, and detect IaC templates to compare intended vs. deployed configurations.
  • Usage and Cost Validation: Collect monitoring and usage metrics, validate SKUs and tiers, and estimate current vs. target monthly costs using Azure pricing references.
  • Actionable Issue Creation: Create individual GitHub issues for each optimization and a coordinating EPIC with priority scoring, implementation steps, risks, and validation checklists.
  • Use Case: FinOps or cloud engineering teams running periodic cost reviews to convert findings into tracked remediation work and realize measurable savings.

Quick Start

Ask the skill to analyze a specific Azure resource group (and detected IaC files if available) and create GitHub issues for each cost optimization opportunity.

Frequently Asked Questions about az-cost-optimize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify Azure cost optimization opportunities across my subscriptions?

Azure cost optimization discovers resources and IaC templates, validates usage metrics and SKUs, then generates evidence-backed recommendations with estimated monthly savings. It compares intended configurations against deployed resources to pinpoint specific optimization targets.

Can I create GitHub issues automatically for Azure FinOps findings?

Yes, Azure cost optimization creates individual GitHub issues for each finding and a coordinating EPIC. Each issue includes priority scoring, implementation steps, risk assessments, and validation checklists to track remediation work directly.

Do I need IaC files to analyze Azure resource costs?

IaC files are optional but recommended. The analysis detects IaC templates to compare intended versus deployed configurations, validating SKU and tier choices. Without IaC, it still analyzes deployed resources using monitoring data and Azure pricing references.

What's the best way to validate Azure SKU pricing against actual usage?

Azure cost optimization collects monitoring and usage metrics, validates current SKUs and tiers, and estimates target monthly costs using Azure pricing references. This evidence-based approach ensures recommendations reflect actual consumption patterns and accurate pricing.

What Azure permissions are required to run cost optimization analysis?

You need authenticated Azure MCP servers or CLI access to discover subscriptions, resource groups, and resources. Access to usage and monitoring metrics is required to validate consumption, and GitHub MCP servers are needed for issue creation.

Does Azure cost optimization work with resource groups or only full subscriptions?

Azure cost optimization works at both resource group and subscription levels. You can target specific resource groups for focused analysis or scan entire subscriptions to identify all cost optimization opportunities across your Azure environment.