langfuse/analyze-cloud-costs
| Analyze Langfuse Cloud infrastructure cost structure using Metabase cost marts. Use when asked about cloud spend, AWS versus ClickHouse cost splits, cost drivers by provider/service/usage type/account, daily cost per tracing event, infra cost dashboards, or cost regressions visible in Metabase.
npx skills add https://github.com/langfuse/langfuse --skill analyze-cloud-costs
Use this skill for evidence-backed Langfuse Cloud cost analysis. The primary
source is the Metabase infra cost dashboard and its production cost marts; the
deliverable should name the time window, query grain, top drivers, and caveats.
100k events.
a prior baseline.
references/cost-marts.md for table IDs,field IDs, query examples, and caveats.
with tool search before falling back to manual interpretation.
because AWS CUR rows can arrive late.
say that no rows were found for that slice instead of inventing a driver.
mcp__metabase__.query for quick reads. Useconstruct_query plus execute_query when you need to inspect or reuse the
opaque query.
filters, aggregations, group_by, and fields as JSON arrays. Sometool schemas may display these as strings; if that happens, serialize the same
arrays without changing their shape.
the continuation token is needed.
answer when useful.
Summarize:
labeling in the unified mart.
Take langfuse/analyze-cloud-costs from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.