DevOps & CloudOfficial · microsoft

Azure Advisor Cost Optimization skill for Claude

Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.

Azure Advisor Cost Optimization SKILL.md

The full skill file from microsoft/skills (MIT).

Azure Advisor Cost Optimization

Use existing Advisor tools only with category=Cost and sub-category=IdleResources. Never substitute billing, inventory or runtime KQL. Preserve selected scope, type and tenant; pass supplied identities unchanged.

Shared rules

Use only returned structured retail savings; MCP owns calculations. Never annualize, reconstruct amounts from dates, or fall back to legacy annualSavingsAmount/savingsAmount or raw pricing. Cost is accumulated Advisor cost, not monthly spend or yearly savings. Completed reports use Realized savings. Every monetary answer or proposal visibly shows Currency and Pricing basis: <basis> from the calculated measure or its documented source. Missing amounts are Unavailable, not zero; numeric zero stays zero. Preserve a known basis even when amounts are missing. Potential savings depend on validating and deleting eligible resources. Estimates do not establish inactivity or safe deletion and never authorize remediation.

Workflow

Before each flow, read its matching references below, including when using supplied results. Before scoped calls, read Scope resolution. Reuse already loaded references. If a required file is unavailable, report it and stop the affected flow.

Use the matching scenario guidance; Reference index.

Quick reference

FlowRequired reference
Discovery and type expansionWorkflow
Counts, savings field mapping and pricing-source interpretationOutput and savings
Tables and selected resourcesTable format
Completed/historical reportsLifecycle
State changesState updates
Selection/remediation handoffSelection
Explicit prevalidation/safety checksSelection
Filters/errorsTools and recovery
Routing examplesExamples

Response guidance

Use shared headings and column order across models, with documented scope/lifecycle variations. Visibly show results/proposals before dependent questions; reasoning, tool output or text inside ask_user does not count. Ask directly for missing input.

How to install Azure Advisor Cost Optimization

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit microsoft/skills/.github/plugins/azure-advisor/skills/azure-advisor-cost-optimization#main ~/.claude/skills/azure-advisor-cost-optimization

Codex

npx degit microsoft/skills/.github/plugins/azure-advisor/skills/azure-advisor-cost-optimization#main ~/.codex/skills/azure-advisor-cost-optimization

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Azure Advisor Cost Optimization skill do?

Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.

+How do I install Azure Advisor Cost Optimization in Claude Code?

Copy the skill folder into ~/.claude/skills/azure-advisor-cost-optimization, for example with "npx degit microsoft/skills/.github/plugins/azure-advisor/skills/azure-advisor-cost-optimization#main ~/.claude/skills/azure-advisor-cost-optimization". Claude Code loads it automatically and uses it when a task matches.

+Does Azure Advisor Cost Optimization work with ChatGPT or Codex?

Yes. Azure Advisor Cost Optimization uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/azure-advisor-cost-optimization. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Azure Advisor Cost Optimization free?

Azure Advisor Cost Optimization is published on GitHub by microsoft under the MIT license, which allows free use.

Related devops & cloud skills

  1. Supabase

    Official

    Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron,…

    supabase/agent-skills★ 3.1k
  2. Senior Architect

    System architecture decisions with a written rationale: monolith vs microservices, database choice, scaling limits, ADRs, Mermaid diagrams.

    alirezarezvani/claude-skills★ 30k
  3. Vercel Deploy

    Official

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the…

    openai/skills★ 29k
  4. Azure Ai

    Official

    Build and troubleshoot Azure AI Search, Speech, OpenAI, and Document Intelligence apps.

    microsoft/skills★ 3.2k
  5. Azure Ai Agents Persistent Dotnet

    Official

    Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools.

    microsoft/skills★ 3.2k
  6. Azure Ai Contentsafety Py

    Official

    Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification.

    microsoft/skills★ 3.2k
  7. Azure Ai Contentsafety Ts

    Official

    Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest/ai-content-safety).

    microsoft/skills★ 3.2k
  8. Azure Ai Contentunderstanding Py

    Official

    Azure AI Content Understanding SDK for Python. Use for multimodal content extraction from documents, images, audio, and video.

    microsoft/skills★ 3.2k
  9. Azure Ai Document Intelligence Dotnet

    Official

    Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models.

    microsoft/skills★ 3.2k

See all devops & cloud skills →

More skills from microsoft

  1. Azure Ai Agents Persistent Java

    Official

    Azure AI Agents Persistent SDK for Java. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools.

    microsoft/skills★ 3.2k

All skills by microsoft →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.