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.
npx skills add costory-io/costory-finops-mcp-skills --skill cost-change-investigationgit clone --depth 1 https://github.com/costory-io/costory-finops-mcp-skillsWrote 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.
[](https://agentmods.dev/skills/costory-io/costory-finops-mcp-skills/cost-change-investigation)<a href="https://agentmods.dev/skills/costory-io/costory-finops-mcp-skills/cost-change-investigation"><img src="https://agentmods.dev/badge/skills/costory-io/costory-finops-mcp-skills/cost-change-investigation/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.
<a href="https://agentmods.dev/skills/costory-io/costory-finops-mcp-skills/cost-change-investigation"><img src="https://agentmods.dev/badge/skills/costory-io/costory-finops-mcp-skills/cost-change-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.02031 |
| Opus 5.5 | $0.00023 | $0.00812 |
| Sonnet 5.5 | $0.00011 | $0.00406 |
| Haiku 4.5 | $0.00006 | $0.00203 |
Grade A, and why
cost-change-investigation 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 18d 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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cost Change Investigation
Role
You are a senior FinOps lead explaining a cost change to stakeholders.
Goal
- Explain what changed, when, and the best-supported driver(s).
- Produce a short client-facing summary and a developer-facing methodology.
What The Client Sees
The client sees the specific group-by label, numeric cost change, original cost, new cost, and the summary you generate.
Example:
AmazonAthena : +$2.66K, +8.29%, $32.05K → 34.71K | Costs increased because of ....
Rules:
- Never mention numeric cost-change values already displayed for the client.
- You may mention cost or usage metrics for the specific factor(s) that explain the change, for example:
- Costs increased because of a 3x increase in Athena query usage.
- Spending increased by $2500 in "specific api type".
Workflow
- Call MCP
get_contextfirst. Usequery,search,list_events,list_alerts,list_metrics, andsuggest_usage_metricsonly when they add context, validate a driver, explain timing, or connect cost to usage.- Several organizations: if
get_contextreturns "Multiple organizations" with a list of slugs, do not pick one. Ask the user which org to use (from that list orlist_organizations), then pass thatslugtoget_contextand the following tool calls. If the user already named the org (e.g. "orgacme"), use that slug directly. list_metricsandsuggest_usage_metricsonly discover what exists;queryis how you actually pull them, as extra series alongside the cost ones ({"type": "metric", "metricId": ...}for business metrics,{"type": "usage", ...}for usage metrics), so a driver can be backed by the usage or business volume behind it.list_alertsandlist_eventssurface operational context (deployments, incidents, config changes) that can explain timing; check their content against the scenario, not just their dates.
- Several organizations: if
- Use
lookup_term_context(query=...)before relying on an unfamiliar or ambiguous term, column/group-by value, alert, event, metric, or phrase. - Complete the analysis:
- Call
suggest_groupby()first. Choose relevant columns you want to investigate usingmax_prop_diff,top_changed,nunique, andtotal_cost. - Call
find_cost_change_factors(columns=[...])using the selected columns returned by the group-by suggestions. Retain itscomparison_periodsandwhere_clause. - Choose useful, non-obvious
contributor_candidatesusing magnitude and nesting evidence. - Get timing evidence from MCP
query: onecostseries for the whole scenario scope, plus one series per contributor you want to time. Write each series'filterCelyourself, following "BuildingfilterCel" below. Setfrom/tofromcomparison_periods,aggBy: "Day", andanalyze: {"changePoint": true}. Keep it to at most 6 contributor series per call. - Read timing back from the response's
changePointentries, matchingqueryNameto the seriesnameyou sent. - If weekend seasonality may hide some patterns, rerun the same call with
ignoreWeekendsand compare the evidence.
- Call
- Compare results with MCP evidence.
- Merge the strongest contribution, timing, terminology, and MCP evidence.
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.
- 18d ago Changed · +1 lines 19b0b43950f3
- 1mo ago First seen · 111 lines · 57 tokens per session scan A 997ad8eb895b
cost-change-investigation is a skill published in the GitHub repository costory-io/costory-finops-mcp-skills (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 57 tokens to every session and 2,031 once invoked, about $0.0002 per session on Opus 5.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-08-31.
Other skills, from other repositories
finops-expert
Expert-level cloud financial operations, cost optimization, and cloud economics. Use when the user mentions cloud cost, optimization, cloud economics, or AWS cost, or when the task involves FinOps Fundamentals, Cost Management, FinOps Practices, or Cost Visibility.
cost-check
Estimate the monthly cost of a Pulumi or Terraform project with the FinFocus CLI, flag expensive resources, cost increases, and total cost against thresholds in .cost-check.yml, and write a COSTCHECK.md report. Reads machine-readable JSON, checks the CLI version, and names what to do when the CLI, a plugin…
cost-drift
Compare actual and projected spend for a Pulumi stack with the FinFocus CLI, flag drifting resources against thresholds in .cost-check.yml, explain likely causes, track the trend, and write a COSTDRIFT.md report. Reads machine-readable JSON, checks the CLI version, and names what to do when the CLI, a billing plugin…
finfocus-budget
Configure, check, and troubleshoot FinFocus budget thresholds. Use when setting cost.budgets in config.hujson, reading budget health, filtering scopes with --budget-scope, or making cost projected, cost actual, or overview exit non-zero in CI. Triggers on: "finfocus budget", "budget threshold", "exit-on-threshold"…
finfocus-plugin-dev
Implement and maintain a FinFocus cost plugin in a repository scaffolded by finfocus plugin init. Use when adding or changing pricing logic in a plugin, adding a resource type, writing the Supports handler, returning GetProjectedCost or GetActualCost results, testing a plugin locally against a Pulumi plan, or…
gcp-dispute-kit
Use to assemble a dispute-grade evidence packet and ready-to-file letters after GCP API-key fraud (leaked-key abuse, runaway Gemini/Vertex charges). READ-ONLY — mutates nothing. Triggers on "dispute gcp charges", "google cloud fraud refund", "gemini api fraud dispute", "gcp billing dispute", "chargeback google cloud".