langfuse
Skill by sickn33
Guides developers in adding Langfuse tracing, prompt management and evaluation to an existing LLM application. It is for teams that need to debug, monitor or improve LLM apps in production.
Install langfuse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/plugins/agentic-bundle-aas-observability-ir/skills/langfuse ~/.claude/skills/langfuseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/plugins/agentic-bundle-aas-observability-ir/skills/langfuse ~/.gemini/antigravity-cli/skills/langfuseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a procedure for adding Langfuse observability to an LLM application that already needs it. It covers tracing with the Python SDK, prompt management, evaluation and datasets. It tells the assistant to choose one integration layer (direct SDK spans, a framework callback or OpenTelemetry) and to avoid tracing the same call twice. It also says to configure credentials outside source and to start with synthetic or allowlisted values.
The skill includes a short Python example that creates one synthetic span and flushes the client. It covers masking of sensitive fields at export time and pinning prompt versions for evaluation. It is aimed at developers who debug, monitor or improve LLM applications in production. It advises against adding an observability service just because an LLM is present.
Written from the project's SKILL.md and checked against it.
What it can do
- Integration layer choiceChooses between direct SDK spans, a framework callback or OpenTelemetry without double tracing.
- Explicit observationsStarts with context-managed spans that hold only synthetic or allowlisted values.
- Export verificationRuns success and failure requests and inspects the exported span tree.
- Privacy maskingUses mask_otel_spans or the legacy mask hook, tested with a synthetic secret.
- Prompt version pinningPins the prompt version or records the exact resolved version used.
- Evaluation recordingRecords dataset revision, prompt version, model identifier and evaluator definition.
- Prompt comparisonRuns fixed examples against prompt versions and keeps failures in the record.
What you need
- Python or JS SDK installed
- Authorized Langfuse project and endpoint
- Credentials from the project's secret mechanism
- Data retention and access policy
- Export permission before running examples
Try asking
- Instrument my LLM app with Langfuse tracing using a synthetic health-check span
- Help me pin prompt versions and compare outputs for prompts A and B
- Check that Langfuse masking hides a synthetic secret in nested metadata
Good to know
- The skill does not claim that a live ingestion check has run.
- It does not create accounts, change production prompt labels or upload datasets without authorization.
- Masking one exporter does not sanitize every log or exporter in the application.
- Traces show observable operations, not hidden reasoning or answer correctness.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/agentic-bundle-aas-observability-ir/skills/langfuse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to langfuse
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
langfuse: common questions
Does this skill send data to Langfuse?
The source says instrumentation can send inputs, outputs, metadata and exceptions externally, so export permission should be verified before running an example.
Which SDK does it cover?
It refers to the current Python SDK with get_client() and context-managed observations, and tells users to match the API to the installed SDK version.
Can it redact sensitive data?
The source says truncation is not redaction. It recommends omitting raw prompts and testing masking with a synthetic secret.
How do I install langfuse?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is langfuse free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is langfuse safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to langfuse?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
