langfuse
Skill by lihor-hub
Langfuse helps an AI assistant work with Langfuse data, docs and tracing. It is for developers who instrument applications, migrate prompts, or manage datasets, scores and sessions in Langfuse.
Install langfuse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/lihor-hub/news-dashboard /tmp/news-dashboard && mkdir -p ~/.claude/skills && cp -r /tmp/news-dashboard/.claude/skills/langfuse ~/.claude/skills/langfuseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lihor-hub/news-dashboard /tmp/news-dashboard && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/news-dashboard/.claude/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
The Langfuse skill gives an AI assistant guidance for working with Langfuse. It covers querying and changing Langfuse data through the langfuse-cli, reading Langfuse documentation, instrumenting traces, migrating prompts, managing datasets, scores and sessions, and debugging Langfuse usage.
The skill tells the assistant to fetch current docs first and then read a reference file for the matching use case. API access runs through npx or bunx langfuse-cli, using credentials set as environment variables. The pre-approved commands cover schema, help, list and get calls. It is aimed at developers and teams who use Langfuse in their applications and need help with tracing, prompts, evaluation or CI gates.
Written from the project's SKILL.md and checked against it.
What it can do
- Langfuse API accessQueries and changes Langfuse data through the langfuse-cli REST API commands.
- Documentation lookupFinds and reads Langfuse docs via llms.txt, markdown pages and a search endpoint.
- Trace instrumentationGuides instrumenting an existing function or application with Langfuse.
- Prompt migrationGuides moving prompts from a codebase into Langfuse.
- User feedback scoresGuides capturing thumbs, ratings and implicit signals as scores on traces.
- Judge calibrationGuides checking LLM-as-a-Judge reliability and metric ingestion.
- Error analysisGuides reading traces, building a failure taxonomy and deciding what to fix.
- CI/CD experiment gatesGuides setting up experiment gates with langfuse/experiment-action.
- SDK upgradesGuides upgrading or migrating Langfuse SDKs to the latest version.
- Skill feedbackSubmits feedback to maintainers about this skill's instructions when asked.
What you need
- Langfuse public and secret API keys
- Langfuse base URL (cloud or self-hosted)
- Node.js with npx, or Bun with bunx
- Shell or .env file for credentials
Try asking
- Use Langfuse to list the datasets in my project
- Help me instrument this function with Langfuse tracing
- Migrate the prompts in this codebase into Langfuse
Good to know
- Pre-approved CLI commands cover only schema, help, list and get calls.
- The server URL must always be set, or Langfuse access will not work.
- Feedback submission is only for this skill, not for issues with Langfuse itself.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/langfuse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: WebFetch(domain:langfuse.com)Bash(curl *langfuse.com/*)Bash(npx langfuse-cli api __schema *)Bash(npx langfuse-cli api * --help *)Bash(npx langfuse-cli api * list *)Bash(npx langfuse-cli api * get *)Bash(bunx langfuse-cli api __schema *)Bash(bunx langfuse-cli api * --help *)Bash(bunx langfuse-cli api * list *)Bash(bunx langfuse-cli api * get *)
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
What credentials does the Langfuse skill need?
It needs LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL set as environment variables. The skill asks users to set them in a shell or .env file, not in chat.
Can the skill change Langfuse data?
The skill describes modifying Langfuse data, but the pre-approved CLI commands only include schema, help, list and get. Other commands are not listed in its allowed tools.
Which Langfuse cloud regions are supported?
The source gives an EU cloud URL and a US cloud URL as examples, and says a self-hosted URL can also be used.
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 58 of 100. Grades: maintenance A, licence A, quality C. 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.
