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.
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/langfuseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/StrayDragon/xylitol /tmp/xylitol && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/xylitol/.agents/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 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
ANo 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 →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
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.
