mcpbeat Sign in

Analyze Cloud Costs Agent Skill

| 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.

2k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
32482
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/langfuse/langfuse --skill analyze-cloud-costs

What comes with it

3 875 bytes besides the instruction
agents/openai.yaml
references/cost-marts.md

The instruction itself

5 sections, as written by the author

Analyze Cloud Costs

Overview

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.

Workflow

  • Clarify the question and choose the grain:
  • Headline daily totals: total, AWS, ClickHouse, tracing events, and cost per

100k events.

  • Cost structure: provider, service, usage type, operation, account, and day.
  • Driver or regression analysis: compare a recent complete-day window against

a prior baseline.

  • Load references/cost-marts.md for table IDs,

field IDs, query examples, and caveats.

  • Use the Metabase MCP. If the Metabase tools are not visible, discover them

with tool search before falling back to manual interpretation.

  • Prefer complete UTC days. Avoid treating current-day AWS cost as final

because AWS CUR rows can arrive late.

  • Start broad, then drill down:
  • Provider split.
  • Service split within the dominant provider.
  • Usage type, operation, and account split for the top services.
  • Daily trend when explaining change over time.
  • Report only what the queried data supports. If a requested slice is absent,

say that no rows were found for that slice instead of inventing a driver.

Query Rules

  • Use mcp__metabase__.query for quick reads. Use

construct_query plus execute_query when you need to inspect or reuse the

opaque query.

  • Pass filters, aggregations, group_by, and fields as JSON arrays. Some

tool schemas may display these as strings; if that happens, serialize the same

arrays without changing their shape.

  • Keep limits explicit and small enough for analysis. Use pagination only when

the continuation token is needed.

  • Include the Metabase dashboard link or query result context in the final

answer when useful.

Output Expectations

Summarize:

  • Time window and whether it uses complete UTC days.
  • Total cost and provider split when relevant.
  • Top cost drivers by service, usage type, operation, or account.
  • Trend or baseline comparison when the user asks "why did this change?"
  • Caveats, especially incomplete current-day AWS data and ClickHouse credit

labeling in the unified mart.

Other skills for the same job

different authors, same section of the catalogue
Automate Whatsapp
by ComeOnOliver
×2

Build WhatsApp automations with Kapso workflows: configure WhatsApp triggers, edit workflow graphs, manage executions, deploy functions, and use databases/integrations for state. Use when automating WhatsApp conversations and event handling.

5k tokens
Error Tracking
by ComeOnOliver
×2

Add Sentry v8 error tracking and performance monitoring to your project services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.

5k tokens
Azure Kusto
by microsoft
vendor ×1

Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.

2k tokens
Azure Kusto
by microsoft
vendor ×1

Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.

2k tokens
Azure Mgmt Mongodbatlas Dotnet
by lingxling
×1

Manage MongoDB Atlas Organizations as Azure ARM resources with unified billing through Azure Marketplace.

3k tokens
Azure Resource Manager Mysql Dotnet
by lingxling
×1

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments.

3k tokens
Azure Resource Manager Postgresql Dotnet
by lingxling
×1

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments.

4k tokens
Azure Resource Manager Redis Dotnet
by lingxling
×1

Azure Resource Manager SDK for Redis in .NET.

3k tokens

How to use it

Copy the folder

Take langfuse/analyze-cloud-costs from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.