WYRE-AI/msp-claude-plugins/msp-claude-plugins/cloudops-pack/skills/cloud-cost-management/SKILL.md
Cloud Cost Management
Cloud spend anomaly detection and reclaimable-spend hunting on whatever platforms (Azure, DigitalOcean) are connected: the signals that make a spend increase an anomaly rather than expected cost, the per-platform orphaned/idle resource catalog (unattached storage, idle load balancers, stopped-but-not-deallocated compute, idle managed databases, orphaned network resources), and how to build a monthly cost trend view — or a clearly labeled inventory-and-list-pricing estimate when a platform expose
- Source repository stars
- 42
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-08-28
- Source checked
- 2026-08-28
Decision brief
What it does: where it fits
Cloud spend anomaly detection and reclaimable-spend hunting on whatever platforms (Azure, DigitalOcean) are connected: the signals that make a spend increase an anomaly rather than expected cost, the per-platform orphaned/idle resource catalog (unattached storage, idle load balancers, stopped-but-not-deallocated compute, idle managed databases, orphaned net…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/WYRE-AI/msp-claude-plugins --skill "msp-claude-plugins/cloudops-pack/skills/cloud-cost-management"Inspect the Agent Skill "Cloud Cost Management" from https://github.com/WYRE-AI/msp-claude-plugins/blob/5005f73ba2f52cd299f58aa6bb79f4e70ae87103/msp-claude-plugins/cloudops-pack/skills/cloud-cost-management/SKILL.md at commit 5005f73ba2f52cd299f58aa6bb79f4e70ae87103. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Anti-triggers
Azure retail pricing and inventory lookups — meter rates, quota
Azure retail pricing and inventory lookups — meter rates, quotaThe raw metric or log query behind a spend signal — use- Azure retail pricing and inventory lookups — meter rates, quota headroom, and subscription/resource-group listings are the connector's own read-only surface; use azure-mcp-cost-and-capacity. This skill consumes those… - 02
Discovering available tools first
Never assume which cloud platform is connected:
Call conduitsearchtools with a query like "cost", "pricing",More than one cloud platform can be connected — cover all of them.Only call concrete tools that discovery actually returned. Not every - 03
Key Concepts
Apply the same discipline as capacity planning: a spend increase driven by a known, intentional change (a new resource provisioned, a planned scale-up) is not an anomaly — it's expected cost. Flag as an anomaly only spend growth that:
Doesn't correspond to a visible inventory change (resource count andExceeds a reasonable period-over-period threshold (in the absence of aIs concentrated in a single resource or service rather than spread evenly - 04
Cost spikes vs. normal variance
Apply the same discipline as capacity planning: a spend increase driven by a known, intentional change (a new resource provisioned, a planned scale-up) is not an anomaly — it's expected cost. Flag as an anomaly only spend growth that:
Doesn't correspond to a visible inventory change (resource count andExceeds a reasonable period-over-period threshold (in the absence of aIs concentrated in a single resource or service rather than spread evenly - 05
Orphaned and idle resources — the reclaimable-spend hunt
These are resources that cost money but provide no value, and they're the highest-confidence savings finding because reclaiming them has no functional downside (unlike right-sizing, which requires judgment about headroom). Check for, per platform:
These are resources that cost money but provide no value, and they're the highest-confidence savings finding because reclaiming them has no functional downside (unlike right-sizing, which requires judgment about headroo…For each candidate, distinguish "confirmed idle" (clear evidence of no use over a meaningful window) from "likely idle, needs confirmation" (e.g., a resource with sparse but non-zero activity, or a standby/DR resource t…
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 42 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- WYRE-AI/msp-claude-plugins
- Skill path
- msp-claude-plugins/cloudops-pack/skills/cloud-cost-management/SKILL.md
- Commit
- 5005f73ba2f52cd299f58aa6bb79f4e70ae87103
- License
- Apache-2.0
- Collected
- 2026-08-28
- Default branch
- main
View the original SKILL.md
Cloud Cost Management
Overview
Cloud cost management here means two things: catching spend that changed unexpectedly, and finding spend that shouldn't exist at all (a resource nobody is using but that's still billing). Both are about protecting margin on infrastructure that's easy to lose track of once it's provisioned — this skill treats "the bill went up" and "we're paying for something idle" as related but distinct findings, and reports them separately.
This is spend on the infrastructure substrate itself (compute, storage,
managed databases, networking). It is not PSA/contract billing
reconciliation (see finance-pack) — this skill is about what the cloud
platform itself is charging, not what the MSP bills the client for it.
Anti-triggers
- Azure retail pricing and inventory lookups — meter rates, quota
headroom, and subscription/resource-group listings are the connector's own
read-only surface; use
azure-mcp-cost-and-capacity. This skill consumes those numbers to find anomalies and reclaimable spend. - The raw metric or log query behind a spend signal — use
azure-mcp-observabilityfor the monitor and log surface itself.
Discovering available tools first
Never assume which cloud platform is connected:
- Call
conduit__search_toolswith a query like"cost","pricing","billing", or"list droplets"to discover which cloud platform connector(s) are live and their actual tool names (e.g.azure-mcp__pricing,azure-mcp__monitor,azure-mcp__group_resource_list,digitalocean__list_droplets,digitalocean__list_databases,digitalocean__list_volumes,digitalocean__list_load_balancers). - More than one cloud platform can be connected — cover all of them.
- Only call concrete tools that discovery actually returned. Not every
connected platform exposes a first-class billing API through its MCP
surface — where cost data isn't directly available, build the cost view
from resource inventory and known pricing (
azure-mcp__pricing) instead, and say explicitly that it's a derived estimate, not a billed figure.
Key Concepts
Cost spikes vs. normal variance
Apply the same discipline as capacity planning: a spend increase driven by a known, intentional change (a new resource provisioned, a planned scale-up) is not an anomaly — it's expected cost. Flag as an anomaly only spend growth that:
- Doesn't correspond to a visible inventory change (resource count and sizing look the same, but the bill went up) — this is the strongest anomaly signal, since it points at either a pricing/tier change, a usage spike (egress, API calls, storage growth within existing resources), or a billing error.
- Exceeds a reasonable period-over-period threshold (in the absence of a documented client policy, flag month-over-month growth beyond roughly 20% for review — state this as a default, not a tuned threshold).
- Is concentrated in a single resource or service rather than spread evenly across the whole environment — concentrated spikes are easier to root-cause and usually more actionable than broad, gradual growth.
Orphaned and idle resources — the reclaimable-spend hunt
These are resources that cost money but provide no value, and they're the highest-confidence savings finding because reclaiming them has no functional downside (unlike right-sizing, which requires judgment about headroom). Check for, per platform:
| Category | Azure | DigitalOcean |
|---|---|---|
| Unattached storage | Managed disks not attached to any VM (via azure-mcp__group_resource_list filtered to disk resources, cross-referenced against VM attachments) | Unattached volumes (via digitalocean__list_volumes, cross-referenced against Droplet attachments) |
| Idle load balancers / gateways | Load balancers or app gateways with no healthy backend pool members, or minimal-to-no traffic in azure-mcp__monitor | Load balancers with no attached Droplets or near-zero traffic |
| Stopped-but-billing compute | VMs stopped but not deallocated (still billing for reserved compute) — check power state distinctly from "stopped/deallocated" via resource health/monitor | Droplets powered off but not destroyed still bill for reserved disk/resources — flag long-powered-off Droplets |
| Idle managed databases | Databases provisioned with no recent connection activity in azure-mcp__monitor | Databases (digitalocean__list_databases) with no recent connection activity |
| Orphaned network resources | Unused public IPs, NICs not attached to any VM | Reserved IPs not attached to any Droplet |
For each candidate, distinguish "confirmed idle" (clear evidence of no use over a meaningful window) from "likely idle, needs confirmation" (e.g., a resource with sparse but non-zero activity, or a standby/DR resource that's supposed to be idle) — never recommend deleting something without stating the confidence level and evidence.
Building a monthly cost trend view
- Discover what billing/usage data each connected platform actually exposes through the gateway — this varies by platform, and not every connector surfaces itemized billing.
- Where usable cost/usage data exists, build a month-over-month view scoped to whatever history is available, broken out by resource/service category where the data supports it.
- Where cost data isn't directly exposed, build a resource-inventory-based proxy (current resource count/sizing × platform list pricing) and label it explicitly as an estimate, not an actual bill.
- Always state the data source and window behind the trend view so the reader knows whether they're looking at billed actuals or an estimate.
Common Workflows
Cost anomaly report for a window
- Discover connected cloud platforms via
conduit__search_tools. - Pull cost/usage data (or the inventory-based proxy, if billing data isn't exposed) for the requested window and the prior comparable window.
- Apply the spike-detection logic above; rank anomalies by dollar impact (largest absolute change first).
- Separately, run the orphaned/idle-resource hunt across all connected platforms and rank by reclaimable monthly cost.
- Return both sections — anomalies and reclaimable spend — clearly separated, since they call for different actions (investigate vs. decommission).
Reclaimable-spend sweep only
- Discover connected platforms.
- Run the orphaned/idle-resource checks above across all resource categories the connected platform(s) expose.
- Rank findings by estimated monthly reclaimable cost, with confidence level per finding.
Error Handling
No cloud platform connector discovered
Say so explicitly: "No cloud platform connector (Azure, DigitalOcean) is available through the gateway, so there's no cost data to report." Do not fabricate spend figures.
Platform connected but no billing/cost data exposed
Fall back to the inventory-based cost estimate described above and label it as an estimate. Never present an estimate as a billed actual.
Ambiguous or ambiguous-confidence idle-resource finding
Report it with its confidence level and evidence rather than omitting it or overstating certainty — a "likely idle, needs confirmation" finding is still useful if labeled honestly.
Related Skills
- Cloud Capacity Planning — resource right-sizing and forecasting; a related but distinct judgment from cost anomaly detection
- Network Health Sweep — device/network health, a different infrastructure axis entirely
Frequently asked questions
What to verify before installation and use
What does the Cloud Cost Management source document cover?
Cloud spend anomaly detection and reclaimable-spend hunting on whatever platforms (Azure, DigitalOcean) are connected: the signals that make a spend increase an anomaly rather than expected cost, the per-platform orphaned/idle resource catalog (unattached storage, idle load balancers, stopped-but-not-deallocated compute, idle managed databases, orphaned net…
How do I install Cloud Cost Management?
The source record exposes this install command: npx skills add https://github.com/WYRE-AI/msp-claude-plugins --skill "msp-claude-plugins/cloudops-pack/skills/cloud-cost-management". Inspect the command and pinned source before running it.