agentsclimarketplace

Langfuse monitoring

Skill jbaham2/claude-langfuse-plugin/skills/langfuse-monitoring

Monitors and analyzes LLM application data already in Langfuse — dashboards, metrics, and alerting for cost, latency, quality, and volume. Use whenever the user wants to observe or report on production Langfuse data: "monitor my LLM app", "build a Langfuse dashboard", "track cost / latency / quality over time", "Langfuse metrics API", "score analytics", "set up a spend alert", "alert me when costs spike", "dashboard for production monitoring", or interpreting usage/cost/quality trends. Owns operating-the-data (dashboards/metrics/alerting); defers instrumentation to the vendored `langfuse` skill and score/evaluator design to the `langfuse-evaluation` skill.From its SKILL.md

Install
npx -y skills add jbaham2/claude-langfuse-plugin --skill langfuse-monitoring

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.0 KB, as published. Nobody here has run it

Langfuse Monitoring

This skill covers operating the data once it's in Langfuse: visualizing it (dashboards), extracting it (metrics API), analyzing eval scores (score analytics), and alerting. It does not cover emitting the data (that's instrumentation — vendored langfuse skill) or designing the scores (that's the langfuse-evaluation skill).

Operating principles

  1. Distill judgment, fetch facts. This skill carries what to monitor and how to structure it. For exact UI steps and API schemas, fetch live docs by appending .md to the page URL (e.g. https://langfuse.com/docs/metrics/features/metrics-api.md).
  2. You can only monitor what you instrumented. Cost, latency, userId, tags, release/version must be on the traces to slice by them. If a needed dimension is missing, the fix is upstream (instrumentation → vendored langfuse skill), not here.

Workflow

1. Frame the monitoring goal

Identify the metric family — cost, latency, quality, or volume — and the dimensions to slice by (trace name/feature, user, model, tags, release). See references/dashboards.md for the metric/dimension model.

2. Pick the surface

  • Visual, shareable, exploratory → dashboards. Start with curated (Latency/Cost/Usage), then build custom widgets. references/dashboards.md.
  • Programmatic / scheduled / billing / embed elsewhere → references/metrics-api.md (use v2).
  • Eval scores specifically (distributions, trends, judge-vs-human agreement) → references/score-analytics.md.

3. Build the standard dashboards

For a new production app, stand up the three durable dashboards (production health, cost optimization, quality/UX) from references/dashboards.md.

4. Set up alerting

Disambiguate first: Spend Alerts = your Langfuse Cloud bill, not app cost. For app-level cost/latency/quality alerts, build a Metrics-API-driven check. See references/alerting.md.

Bundled resources

  • references/dashboards.md — metrics & dimensions, curated vs custom dashboards, the widget model, and the three standard dashboards to build (health / cost / quality).
  • references/metrics-api.md — programmatic metrics: use v2, the query model (view/metrics/dimensions/filters/timeDimension), and v1→v2 migration gotchas.
  • references/score-analytics.md — zero-config eval-score analysis: distributions, trends, and judge-vs-human agreement metrics (MAE/RMSE, Cohen's Kappa/F1).
  • references/alerting.md — Spend Alerts (Cloud billing) vs application-level alerting (Metrics API + your own check); how to alert on cost/latency/quality.

Hand-off map

NeedWhere
Dashboards, metrics extraction, score analytics, alertingthis skill
Emitting cost/latency/userId/tags on traces (instrumentation)vendored langfuse skill
Designing the scores/evaluators being monitoredlangfuse-evaluation skill
Onboarding-time spend-alert setup / production-readiness checklistlangfuse-setup skill
Formal judge calibration (vs lightweight score analytics)vendored langfuse skill judge-calibration.md
Exact dashboard UI / metrics API schemalive docs (.md-append)

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.