langfuse
Skill by mifunedev
Guides AI assistants through Langfuse work, including tracing, prompt management, datasets, evals and experiments. It is for AI engineers who use Langfuse or handle AI observability tasks.
Install langfuse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mifunedev/agro /tmp/agro && mkdir -p ~/.claude/skills && cp -r /tmp/agro/.agro/skills/langfuse ~/.claude/skills/langfuseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mifunedev/agro /tmp/agro && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agro/.agro/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 helps an AI assistant work with Langfuse across common workflows. It covers instrumenting applications, migrating prompts into Langfuse, creating evaluation datasets, setting up evals, capturing user feedback as scores, and CI/CD experiment gates. It tells the assistant to fetch current Langfuse docs before writing code instead of relying on memory.
The skill queries and modifies Langfuse data through the langfuse-cli, run with npx or bunx, using API keys set as environment variables. Documentation is read from the llms.txt index, markdown pages, or a search endpoint. It is meant for engineers using Langfuse and for general AI engineering tasks such as observability, prompt management and evaluator work, even when Langfuse is not named.
Written from the project's SKILL.md and checked against it.
What it can do
- Langfuse CLI accessRuns the Langfuse REST API through langfuse-cli, with schema and help discovery.
- Documentation lookupFinds Langfuse docs through the llms.txt index, markdown pages and a search endpoint.
- Instrumentation guidanceGuides instrumenting an existing function or application with Langfuse.
- Dataset creationHelps build evaluation datasets to measure quality or test for regressions.
- Prompt migrationMoves prompts from a codebase into Langfuse.
- Prompt engineeringCreates and edits prompts, including tuning and debugging existing prompts.
- Eval setupFinds gaps across signal capture, monitoring and evaluator metrics.
- User feedback captureRecords explicit ratings, behavioral events and task outcomes as scores.
- LLM-as-a-Judge calibrationCalibrates a judge against labeled examples and deploys the approved judge.
- CI/CD experiment gatesSets up experiment gates using langfuse/experiment-action.
What you need
- Langfuse public and secret API keys
- Langfuse base URL (cloud region or self-hosted)
- Node.js with npx, or Bun with bunx
- A Langfuse account, free at langfuse.com/cloud
Try asking
- Set up a Langfuse dataset from my production traces for regression tests.
- Migrate the prompts in this codebase into Langfuse prompt management.
- Help me capture user thumbs-up and thumbs-down feedback as Langfuse scores.
Good to know
- The pre-approved CLI commands are limited to schema, help, list and get calls.
- The server URL must always be set, since Langfuse cannot be accessed without it.
- Changelog posts may be outdated, so the skill says to implement from docs and the API reference.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agro/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
Does the Langfuse skill need API keys?
Yes. It expects LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL to be set before CLI calls. The source says the user creates these in Settings, then API Keys.
Does it work with self-hosted Langfuse?
Yes. The source says LANGFUSE_BASE_URL can be a self-hosted URL, and it recommends the API reference served by the deployment for self-hosted setups.
Can it change Langfuse data?
The skill covers querying and modifying Langfuse data, but its pre-approved shell commands are limited to schema, help, list and get calls.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is langfuse safe to use?
It scores 74 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.
