azure-cost-optimization

Identify Azure cost savings from usage and spending data.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-cost-optimization-davidrrowley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-cost-optimization
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-cost-optimization
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-cost-optimization-davidrrowley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces Azure spending by automating the discovery of orphaned resources, rightsizing opportunities, and pricing validation so teams can prioritize safe, high-impact cost reductions without manual, error-prone analysis.

Core Features & Use Cases

  • Orphaned resource detection: Finds unattached disks, idle NICs, unused IPs, and other immediately deletable resources for fast savings.
  • Rightsizing and utilization analysis: Correlates Azure Monitor metrics with cost data to recommend VM, App Service, and storage tier changes.
  • Redis-specific rules and templates: Provides targeted Redis checks, downgrade/delete recommendations, and pre-built report templates for cache inventories.
  • Report generation & audit trail: Produces timestamped Markdown reports and saves raw cost-query JSON for validation and governance.
  • Use case example: Run a tenant-wide scan to identify idle VMs and unattached disks, validate pricing, and produce a prioritized list of recommended deletions and sku changes with estimated monthly savings.

Quick Start

Analyze subscription <SUBSCRIPTION_ID> for the last 30 days, find orphaned resources and rightsizing candidates, and generate a cost optimization report with estimated monthly savings and an audit trail.

Frequently Asked Questions about azure-cost-optimization

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

FAQPage Schema
How do I find orphaned resources in Azure to reduce cloud spending?

Azure cost optimization identifies orphaned resources like unattached disks, idle NICs, and unused IPs by analyzing usage data, enabling fast deletions for immediate cost savings.

How do I rightsize Azure VMs and storage using cost and utilization data?

Rightsizing Azure VMs and storage involves correlating Azure Monitor metrics with spending data to recommend tier changes and generate estimated monthly savings.

What Azure roles and CLI extensions are needed for tenant-wide cost analysis?

Tenant-wide cost analysis requires Azure CLI with azqr and costmanagement extensions, plus Cost Management Reader, Monitoring Reader, and Reader roles on target subscriptions.

Can I analyze Redis cache inefficiencies and get downgrade recommendations in Azure?

Azure Redis cache analysis provides targeted checks, downgrade and delete recommendations, and pre-built report templates to resolve cache-specific pricing and utilization inefficiencies.

Does Azure cost optimization generate audit trails for resource deletion recommendations?

Azure cost optimization generates timestamped Markdown reports and saves raw cost-query JSON, providing a validation audit trail for governance of recommended deletions and SKU changes.