query
Installation
SKILL.md
Query
query is the unified Costory explorer for cost, usage, saved metrics, external metrics, formulas, and budgets. Supporting tools discover dimensions, pick a groupBy, resolve metric IDs, and suggest next steps — call them before guessing field names.
Load this skill first for investigation, breakdowns, comparisons, unit economics (cost per X), or budget burn analysis.
When to Trigger
- Exploring or breaking down cloud costs (by service, region, team, environment, …)
- Explorer-style period comparison (PoP totals / composition) — not the “why did spend move?” change-tree explanation
- Cost + usage or cost + business metric (unit economics / formulas)
- Budget vs spend, including month-to-date rolling burn and cumulated budget vs cumulated cost
- K8s waste vs K8s cost (usage metrics + optional waste ratio)
- Effective savings (
contracted_costminuseffective_cost) - Validating CEL filters before building a dashboard or report
- User asks "what are we spending on X?"
- After a DIGEST explain preview: drill into a user-named node with
filterCel
Hand off instead of this skill: "why did the bill jump?" / "what changed last month?" / "explain the spike" → load recipes → explain-period-change (or reports Explain). First answer is preview_report_widget DIGEST, not query + compare.