Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

langfuse

Skill by StrayDragon

Langfuse gives an AI assistant access to the Langfuse API through a CLI and to Langfuse documentation. It is for developers who work with Langfuse traces, prompts, datasets, and scores.

  • Score 52
  • 2 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install langfuse

Built from the published package, never by AI.

git clone --depth 1 https://github.com/StrayDragon/xylitol /tmp/xylitol && mkdir -p ~/.claude/skills && cp -r /tmp/xylitol/.agents/skills/langfuse ~/.claude/skills/langfuse

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install langfuse in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant interact with Langfuse and look up its documentation. For data, it uses the langfuse-cli package, run through npx or bunx, to discover API resources and list or get records. Credentials come from environment variables for the public key, secret key, and server URL.

For documentation, the skill points the assistant to the Langfuse llms.txt index, to individual pages fetched as markdown, and to a documentation search endpoint that also covers GitHub issues and discussions. It also links to reference guides on instrumentation, prompt migration, prompt engineering, user feedback, judge calibration, error analysis, CI/CD experiment gates, and the v4 platform migration. It is aimed at developers building on Langfuse.

Written from the project's SKILL.md and checked against it.

What it can do

  • CLI schema discoveryLists all Langfuse API resources with the langfuse-cli api __schema command.
  • CLI help lookupShows actions and arguments for a resource or a specific action using --help.
  • CLI list and getLists or fetches Langfuse API records through the langfuse-cli api list and get actions.
  • Documentation indexFetches the full llms.txt index of Langfuse documentation pages.
  • Markdown page fetchRetrieves individual Langfuse docs pages as clean markdown.
  • Documentation searchSearches Langfuse docs, GitHub issues, and discussions through the search-docs endpoint.
  • Instrumentation guidePoints to reference guidance for instrumenting an existing function or application.
  • Prompt guidesCovers prompt migration from a codebase and prompt engineering, including edits and tuning.

What you need

  • Langfuse public and secret API keys
  • Langfuse server URL, such as a cloud region or self-hosted instance
  • Node.js with npx, or Bun with bunx

Try asking

  • Use langfuse to list the latest traces from my project
  • Search the Langfuse docs for how to trace LangGraph agents
  • Show me the langfuse-cli options for creating a dataset item

Good to know

  • The pre-approved CLI commands cover schema, help, list, and get actions only.
  • Credentials must be set in the shell or a .env file, not pasted into chat.
  • Search responses can be large, so the assistant should extract only relevant parts.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/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 →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

langfuse: common questions

Can this skill change Langfuse data?

The skill describes querying or modifying Langfuse data through the CLI. The pre-approved command list in the source covers only schema, help, list, and get actions.

Where does the documentation come from?

The skill fetches docs from langfuse.com, including the llms.txt index, markdown pages, and a search endpoint. The search also indexes GitHub issues and discussions.

Does the assistant need my Langfuse keys in chat?

No. The source says keys should be set as environment variables or in a .env file, and users should not paste them into chat.

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 52 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.

langfuse Install

Add to stack

Loading.