Install
openclaw skills install langfuseQuery and manage Langfuse traces, prompts, datasets, sessions, observations, scores, and metrics via Langfuse SDKs and the public API. Use when setting up or auditing Langfuse tracing in cloud or self-hosted deployments, migrating hardcoded prompts into Langfuse prompt management, attaching evaluation scores or feedback, querying Langfuse data for debugging or analytics, or building Langfuse-backed workflows in Python or JS/TS projects.
openclaw skills install langfuseUse this skill to integrate codebases and workflows with Langfuse, the open-source LLM engineering platform for tracing, prompt management, and evaluation.
Treat self-hosted Langfuse as a first-class deployment mode, not a special case. When the user mentions private infrastructure, on-prem, internal URLs, custom domains, or self-hosting, configure examples and guidance around their deployment URL and platform compatibility.
Prefer SDK-based examples for Python and JS/TS. Use the public API when the task is language-agnostic, needs direct HTTP examples, or fits an existing automation pipeline.
Migrating hardcoded prompts into Langfuse?
references/prompt-migration.md.Adding observability/tracing to an app or agent?
references/tracing-and-querying.md.Querying traces, observations, scores, sessions, or metrics?
references/tracing-and-querying.md.api.observations, api.scores, and api.metrics namespaces in current SDKs.Adding evaluation scores, feedback, or custom quality checks?
references/evals-and-scores.md.Working in a self-hosted Langfuse environment?
references/self-hosted.md and references/tracing-and-querying.md.Creating datasets or experiment-oriented evaluation workflows?
references/evals-and-scores.md.api.observations, api.scores, and api.metrics as the default high-performance resources.api.legacy.*.get_prompt / getPrompt for runtime prompt fetching to benefit from caching, retries, and fallbacks.This skill may require these environment variables for live Langfuse access:
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_BASE_URL="https://cloud.langfuse.com"
Possible base URLs include:
https://cloud.langfuse.com for EU Cloudhttps://us.cloud.langfuse.com for US Cloudhttps://langfuse.internal.example.comFor self-hosted environments, prefer examples like:
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_BASE_URL="https://langfuse.internal.example.com"
For direct API examples, use Basic Auth with:
When the user is self-hosting Langfuse:
LANGFUSE_HOST and LANGFUSE_BASE_URL casually; prefer the current documented variable in examples.See references/self-hosted.md.
Use when the user says things like:
Default workflow:
See references/prompt-migration.md.
Use when the user says things like:
Default workflow:
See references/tracing-and-querying.md.
Use when the user asks to:
Default workflow:
See references/tracing-and-querying.md.
Use when the user asks to:
Default workflow:
See references/evals-and-scores.md.
Use when the user says things like:
Default workflow:
See references/self-hosted.md.
When doing Langfuse work, produce one or more of:
references/prompt-migration.md — prompt management and migration patternsreferences/tracing-and-querying.md — observability, querying, traces, observations, sessions, metricsreferences/evals-and-scores.md — scores, feedback, datasets, evaluation workflowsreferences/self-hosted.md — self-hosted deployment guidance, compatibility, and env/config rulesThis skill intentionally covers the main workflows Langfuse advertises for coding agents:
If the request becomes very framework-specific, keep this skill as the Langfuse layer and combine it with the relevant coding/framework skill rather than bloating this skill with per-framework boilerplate.