cost-report

cost-report is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 13 tokens per session (901 once invoked), scanned A, original, Apache-2.0.

A cloud spending report that compares costs across connected platforms and identifies unusual increases or resources that may no longer be needed.

In plain words
What is it for?
Use it to review spending over a selected period, compare it with the previous period, and investigate idle or orphaned cloud resources.
Why use it?
It helps explain why a cloud bill changed and highlights infrastructure that may be wasting money.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the cloudops-pack plugin — 3 skills, 2 commands, 3 agents shipped together

Good fit Use it to review spending over a selected period, compare it with the previous period, and investigate idle or orphaned cloud resources.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/cost-report
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install cloudops-pack, the plugin that ships this one along with the rest of its 3 skills, 2 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cost-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/cost-report/github.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/cost-report)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/cost-report"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/cost-report/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cost-report

Your own site · 80×15
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/cost-report"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/cost-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00901
Opus 5 $0.00006 $0.00451
Sonnet 5 $0.00003 $0.00180
Haiku 4.5 $0.00001 $0.00090

Measured 4d ago against content hash 8608a53aceaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cost-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

msp-claude-plugins/cloudops-pack/commands/cost-report.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cost Report

Cross-vendor cloud cost anomaly report: flags unexpected spend spikes and ranks orphaned/idle resources by reclaimable monthly cost — pulled from whatever cloud platforms (Azure, DigitalOcean) the org has connected through the gateway.

Prerequisites

  • WYRE MCP Gateway connected (conduit) with at least one cloud platform connector. Without one, there is no cost data to report.

Steps

  1. Discover available tools. Call conduit__search_tools to determine which cloud platform connector(s) are live and their actual tool names (e.g. azure-mcp__pricing, azure-mcp__monitor, digitalocean__list_droplets, digitalocean__list_volumes, digitalocean__list_databases). Never assume a specific vendor's tool surface — cover every connected platform.

  2. Resolve the window. Parse window (default 30d if omitted). Accept shorthand like 7d, 30d, 90d. Pull cost/usage data for the window and the prior comparable window.

  3. Correlate spend against inventory change. Flag as anomalies: spend growth with no corresponding inventory change (highest confidence), and spend growth beyond ~20% period-over-period (a stated default threshold, not tuned policy). Where itemized billing isn't exposed by a connected platform, build an inventory-based cost estimate instead and label it explicitly as an estimate.

  4. Hunt for orphaned and idle resources. Across all connected platforms, check unattached storage, idle load balancers, stopped-but-still-billing compute, idle managed databases, and orphaned network resources per the cloud-cost-management skill. Classify each finding's confidence (confirmed idle vs. likely idle — needs confirmation).

  5. Rank both sections by dollar impact and return them as clearly separated findings — anomalies need investigation, reclaimable resources need a decommission decision.

Arguments

  • window (optional; default: 30d) — Time window for the cost comparison, e.g. 7d, 30d, 90d.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 113 lines · 13 tokens per session scan A 8608a53aceaf

Subscribe to this mod's changes

cost-report is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 6d ago), licensed Apache-2.0. It adds 13 tokens to every session and 901 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.