# Azure Cost Optimizer

> Analyzes Azure costs and provides optimization recommendations including reserved instances, rightsizing, and unused resources. Use when optimizing Azure spending or analyzing Azure costs.

- **Type:** Skill
- **Install:** `agentstack add skill-armanzeroeight-fastagent-plugins-azure-cost-optimizer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [armanzeroeight](https://agentstack.voostack.com/s/armanzeroeight)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [armanzeroeight](https://github.com/armanzeroeight)
- **Source:** https://github.com/armanzeroeight/fastagent-plugins/tree/main/plugins/azure-toolkit/skills/azure-cost-optimizer

## Install

```sh
agentstack add skill-armanzeroeight-fastagent-plugins-azure-cost-optimizer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Azure Cost Optimizer

## Quick Start

Analyze Azure costs and implement optimization strategies to reduce spending while maintaining performance.

## Instructions

### Step 1: Analyze current costs

```bash
# View cost analysis
az cost-management query \
  --type Usage \
  --dataset-aggregation name="PreTaxCost" function="Sum" \
  --dataset-grouping name="ResourceGroup" type="Dimension"

# View costs by service
az cost-management query \
  --type Usage \
  --dataset-grouping name="ServiceName" type="Dimension"
```

### Step 2: Identify optimization opportunities

**Check for unused resources:**
- Unattached disks
- Idle virtual machines
- Unused public IPs
- Orphaned network interfaces

**Review resource utilization:**
- VM CPU and memory usage
- Database DTU utilization
- Storage account access patterns
- Network bandwidth usage

### Step 3: Implement cost-saving measures

**Reserved Instances:**
- 1-year or 3-year commitments
- Up to 72% savings vs pay-as-you-go
- Recommended for stable workloads

**Azure Hybrid Benefit:**
- Use existing Windows Server licenses
- Use existing SQL Server licenses
- Significant cost savings

**Rightsizing:**
- Downsize overprovisioned VMs
- Adjust database tiers
- Optimize storage tiers

**Spot VMs:**
- Up to 90% savings
- Suitable for interruptible workloads
- Batch processing, dev/test

## Advanced

For detailed information, see:
- [Pricing Models](reference/pricing-models.md) - Azure pricing tiers and models
- [Reserved Instances](reference/reserved-instances.md) - RI recommendations and strategies
- [Rightsizing](reference/rightsizing.md) - VM and resource sizing guidance

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [armanzeroeight](https://github.com/armanzeroeight)
- **Source:** [armanzeroeight/fastagent-plugins](https://github.com/armanzeroeight/fastagent-plugins)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-armanzeroeight-fastagent-plugins-azure-cost-optimizer
- Seller: https://agentstack.voostack.com/s/armanzeroeight
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
