Home / microsoft / github-copilot-for-azure · plugins/azure-cost/skills/cost-optimization/SKILL.md · GitHub

cost-optimization skillA

cost-optimization is agent-read markdown (skill) from microsoft/github-copilot-for-azure: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Azure Cost Optimization

## Quick Reference

| Intent | Workflow | Primary tools |
|--------|----------|---------------|
| Reduce waste or rightsize | [Optimization](references/optimization.md) | Cost and Resource Graph tools |
| Review commitments | [Commitments](references/commitments.md) | `list_benefit_utilization`, `list_reservation_transactions`, `get_benefit_recommendations` |

## When to Use This Skill

Use for waste, rightsizing, and commitments.

## MCP Tools

Use cost and Resource Graph tools for optimization and benefit tools for
commitments. Validate queries. Fallback: [API mappings](references/tool-fallback.md).

## Workflow

1. Confirm scope, period, currency, and commitment intent.
2. Load only the matching workflow above.
3. Never transform MCP results in a shell or interpreter; request validated
   server-side projection, aggregation, or bounded follow-up queries.
4. Separate measured cost, reported savings, and qualitative opportunities.
5. Recommend changes only; do not delete, resize, purchase, or deploy resources.

## Error Handling

| Error | Action |
|-------|--------|
| Access denied | Name the scope and permission. |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add microsoft/github-copilot-for-azure/cost-optimization@v0.0.0-placeholder
Exact content
mdr add microsoft/github-copilot-for-azure/cost-optimization@sha256:8749fb34a82ac928

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sidvhkbjfkgs7j2b.svg)](https://markdownregistry.com/a/art_sidvhkbjfkgs7j2b)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v0.0.0-placeholder latest2026-09-22 cda1f27 1,946 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1946 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

microsoft/github-copilot-for-azure · 252 stars · license NOASSERTION · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sidvhkbjfkgs7j2b
GET https://markdownregistry.com/api/v1/resolve?ref=microsoft/github-copilot-for-azure/cost-optimization
GET https://markdownregistry.com/api/v1/blob/8749fb34a82ac928b87699479fb3d2edf2b7ae7667053386f5f3620c757fe633

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from microsoft/github-copilot-for-azure

analyze-comparison-tests skill
microsoft/github-copilot-for-azure · .github/skills/analyze-comparison-tests/SKILL.md · Collects comparison test run artifacts and answers the user's questions based on the trajectories of each run. WHEN TO…
v1.0.0 · audit A · 252 stars
analyze-skill-issues skill
microsoft/github-copilot-for-azure · .github/skills/analyze-skill-issues/SKILL.md · Query the integration-test storage account to find why a specific skill's tests are failing. Reads blob-stored test…
v1.0.1 · audit A · 252 stars
analyze-test-run skill
microsoft/github-copilot-for-azure · .github/skills/analyze-test-run/SKILL.md · Analyze a GitHub Actions integration test run and produce a skill invocation report with failure root-cause issues…
v1.0.6 · audit A · 252 stars
file-test-bug skill
microsoft/github-copilot-for-azure · .github/skills/file-test-bug/SKILL.md · File a GitHub issue for local integration test failures. TRIGGERS: file test bug, report test failure, create bug for…
v1.0.0 · audit A · 252 stars
investigate-integration-test skill
microsoft/github-copilot-for-azure · .github/skills/investigate-integration-test/SKILL.md · Investigate a failing integration test from a GitHub issue. Downloads logs/artifacts, analyzes the failure, examines…
v1.0.0 · audit A · 252 stars
markdown-token-optimizer skill
microsoft/github-copilot-for-azure · .github/skills/markdown-token-optimizer/SKILL.md · Analyzes markdown files for token efficiency. TRIGGERS: optimize markdown, reduce tokens, token count, token bloat, too…
v1.0.0 · audit A · 252 stars
onboard-plugin skill
microsoft/github-copilot-for-azure · .github/skills/onboard-plugin/SKILL.md · Scaffold a new plugin and prepare it for distribution. WHEN: 'create a new plugin', 'scaffold a new plugin'
v1.0.0 · audit A · 252 stars
sensei skill
microsoft/github-copilot-for-azure · .github/skills/sensei/SKILL.md · Iteratively improve skill frontmatter to achieve good routing test coverage. WHEN: run sensei, sensei help, improve…
v1.0.6 · audit A · 252 stars
skill-authoring skill
microsoft/github-copilot-for-azure · .github/skills/skill-authoring/SKILL.md · Guidelines for writing Agent Skills that comply with the agentskills.io specification. WHEN: "create a skill", "new…
v1.0.1 · audit A · 252 stars
skill-reviewer skill
microsoft/github-copilot-for-azure · .github/skills/skill-reviewer/SKILL.md · Review skill PRs with structured severity-rated feedback covering token budgets, routing conflicts, and repo…
v1.0.3 · audit A · 252 stars
vally-eval skill
microsoft/github-copilot-for-azure · .github/skills/vally-eval/SKILL.md · Author, validate, and run Vally evaluation suites for agent skills. TRIGGERS: create eval, write eval, add eval, run…
v1.0.0 · audit A · 252 stars
cost-analysis skill
microsoft/github-copilot-for-azure · plugins/azure-cost/skills/cost-analysis/SKILL.md · Analyze actual Azure spend, bill changes, and AKS or AI costs. WHEN: "Azure cost breakdown", "most expensive…
v0.0.0-placeholder · audit A · 252 stars

Every file in microsoft/github-copilot-for-azure

Other files named cost-optimization

cost-optimization skill
wshobson/agents · plugins/cloud-infrastructure/skills/cost-optimization/SKILL.md · Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved…
git:20260316.24df162 · audit A · 39,929 stars
cost-optimization skill
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/agents-wshobson/cloud-infrastructure/skills/cost-optimization/SKILL.md · Optimize cloud costs through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use…
git:20260205.788be98 · audit A · 1,776 stars
cost-optimization skill
rampstackco/claude-skills · skills/cost-optimization/SKILL.md · Audit and reduce infrastructure and tooling costs without sacrificing reliability or velocity. Use this skill when…
git:20260810.e5bc675 · audit A · 898 stars
cost-optimization skill
rudycity/superagent · .agents/skills/cost-optimization/SKILL.md · Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved…
git:20260626.019dba9 · audit A · 23 stars

Browse by kind, by grade A, or by owner.