From costory
Correlate cloud costs with business metrics like DAU, requests/day, or n_clients. Use when the user wants to understand how cost changes relate to business KPIs, check unit economics, or investigate whether a cost spike is driven by growth or inefficiency.
How this skill is triggered — by the user, by Claude, or both
Slash command
/costory:correlate-costs-with-metricThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the user correlate cloud costs with business metrics tracked in Costory. This is useful for:
You are helping the user correlate cloud costs with business metrics tracked in Costory. This is useful for:
Discover available metrics: Call list_metrics to see what business metrics exist for the organization. Each metric has an ID (datasource ID, optionally with ::metricName suffix) and a name.
Match the user's request to an available metric. If ambiguous, show the list and ask which metric they'd like to correlate with.
Query both sides:
query_metric with the chosen metric:
metricId: the datasource ID from list_metrics (e.g. datasourceId::metricName).from/to: date range. Default to last 3 months if not specified.aggBy: aggregation granularity (Day, Week, Month).query_costs for the same date range and relevant scope to get the cost side of the correlation.After the queries (do NOT skip):
list_events for the same date range.suggest_actions and present follow-up options.Present the correlation:
npx claudepluginhub costory-io/costory-plugin --plugin costoryAnalyzes cloud cost trends over time to identify spending patterns, growth rates, seasonality, acceleration or deceleration, and forecast future spending trajectories for budget planning
Investigates LLM spend in PostHog: total cost over time, breakdowns by model/provider/user, token economics, cost regressions, and building dashboards/alerts.
Analyzes Azure cloud costs on FinOps hubs using KQL queries in Azure Data Explorer. Handles trends, anomalies, recommendations, deployments, and operations via structured agent framework.