analyze-cloud-costs

द्वारा langfuse

Langfuse क्लाउड बुनियादी ढांचे की लागत संरचना का Metabase लागत मार्ट्स का उपयोग करके विश्लेषण करें। जब क्लाउड खर्च, AWS बनाम ClickHouse लागत विभाजन, लागत… के बारे में पूछा जाए तो इसका उपयोग करें।

npx skills add https://github.com/langfuse/langfuse --skill analyze-cloud-costs

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

  1. 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.
  2. Load references/cost-marts.md for table IDs, field IDs, query examples, and caveats.
  3. Use the Metabase MCP. If the Metabase tools are not visible, discover them with tool search before falling back to manual interpretation.
  4. Prefer complete UTC days. Avoid treating current-day AWS cost as final because AWS CUR rows can arrive late.
  5. 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.
  6. 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.

langfuse की और Skills

clickhouse-best-practices
langfuse
ClickHouse स्कीमा, क्वेरी या कॉन्फ़िगरेशन की समीक्षा करते समय अनिवार्य रूप से उपयोग करें। इसमें 28 नियम शामिल हैं जिन्हें सिफारिशें देने से पहले जांचना अनिवार्य है। हमेशा पढ़ें…
official
skill-creator
langfuse
प्रभावी कौशल बनाने के लिए मार्गदर्शिका। इस कौशल का उपयोग तब किया जाना चाहिए जब उपयोगकर्ता एक नया कौशल बनाना (या मौजूदा कौशल को अपडेट करना) चाहते हैं जो Claude की क्षमताओं को बढ़ाता है…
official
vercel-react-best-practices
langfuse
React और Next.js प्रदर्शन अनुकूलन दिशानिर्देश Vercel Engineering से। इस कौशल का उपयोग React/Next.js को लिखने, समीक्षा करने या रीफैक्टर करते समय किया जाना चाहिए…
official
add-model-price
langfuse
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes…
official
analyze-cloud-costs
langfuse
Langfuse Cloud अवसंरचना लागत संरचना का विश्लेषण Metabase लागत मार्ट्स का उपयोग करके करें। क्लाउड खर्च, AWS बनाम ClickHouse लागत विभाजन, लागत… के बारे में पूछे जाने पर उपयोग करें।
official
backend-dev-guidelines
langfuse
Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware, Prisma or ClickHouse access,…
official
clickhouse-best-practices
langfuse
MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 28 rules that MUST be checked before providing recommendations. Always read…
official
code-review
langfuse
Review Langfuse code changes for correctness, regressions, and best practices.
official