AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cost-optimization

Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: "optimize Azure costs", "reduce cloud spending", "rightsize resources", "find idle resources", "orphaned disk", "deleted VM still charged", "public IP still charging", "reservation utilization", "Savings Plan coverage", "commitment recommendation", "why is pay-as-you-go still charged". DO NOT USE FOR: cost spikes, forecasts, pricing estimates, budgets, or governance.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read microsoft--cost-optimization at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 9

references/tool-fallback.md

Optimization Tool Fallback

Use ARM MCP first. If the required operation is unavailable, name the API and use an already authenticated Azure CLI, Azure PowerShell, or REST client.

| Workflow | Fallback API | |---|---| | Cost baseline | Cost Management Query API | | Inventory or configuration | Azure Resource Graph Resources API | | Optimization recommendations | Azure Advisor Recommendations API | | Utilization evidence | Azure Monitor Metrics API | | Commitment recommendations | Cost Management Benefit Recommendations API | | Commitment utilization | Cost Management Benefit Utilization Summaries API | | Reservation history | Reservations Transactions API |

Prefer native commands when they expose the required fields; otherwise use az rest, Invoke-AzRestMethod, or authenticated REST. Preserve scope, currency, period, pagination, recommendation text, savings period, and utilization semantics. State which fallback was used and never expose tokens.

Do not invoke Bash, PowerShell, Python, or another local interpreter merely to parse or aggregate an MCP response. Request server-side grouping or sorting, or issue smaller bounded MCP queries. Use shell clients only for an approved API fallback when the required MCP operation is unavailable.

Do not fall back for denied access, invalid input, throttling, or empty data. Require explicit approval before any resize, delete, purchase, exchange, refund, policy, or configuration write.