langfuse
Skill1 starsChanged 4 months agoMITView on GitHub
Interact with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datasets, scores, sessions, and any other API resource, (2) look up Langfuse documentation, concepts, integration guides, or SDK usage, or (3) understand how any Langfuse feature works. This skill covers CLI-based API access (via npx) and multiple documentation retrieval methods.
- Reads credentials
20 other projects use a version of this, 9 of them edited.
Adopted by
Most recently taken up by
- vocion/vocion-coreword for word, first seen Nov 8, 2026
- HybridAIOne/hybridclawtheir own version, first seen Oct 13, 2026
- xfstudio/skillstheir own version, first seen Oct 13, 2026
- KonghaYao/peritheir own version, first seen Oct 10, 2026
- joelhooks/joelclawtheir own version, first seen Oct 8, 2026
- trailofbits/buttercupword for word, first seen Oct 8, 2026
Used with
Projects with it also use algorithmic-art and skill-creator.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 2
- trailofbits/buttercup★ 1.7k100% same
- vocion/vocion-core★ 2100% same
Edited · 9
- raphaelmansuy/edgequake★ 2.3k75% same
- langfuse/skills★ 33462% same
- Bbar0n234/learnflow-ai★ 3586% same
- SenseFoundItaly/LaunchPad-v2★ 475% same
- Ansumanbhujabal/Polly_Harness★ 293% same
- JustineDevs/premortem★ 293% same
- jbaham2/claude-langfuse-plugin★ 093% same
- jvalbuena/claude-skills★ 098% same
- phuquocchamp/claude-code-101★ 095% same
Wrote their own version · 9
- KonghaYao/peri★ 248same name
- HybridAIOne/hybridclaw★ 159same name
- avivsinai/langfuse-mcp★ 112same name
- joelhooks/joelclaw★ 65same name
- xfstudio/skills★ 9same name
- ajbmachon/ajbm-skills★ 7same name
- ai4brands-design/claude-skills★ 2same name
- lifegenieai/claude-code-observability★ 2same name
- pauloribeiro16/my-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- .claude/skills/clickhouse-best-practices/AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- frontend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- frontend/CLAUDE.mdCLAUDE.md
- clickhouse-best-practicesSkill
- dagster-expertSkill
- frontend-designSkill
- langgraph-fundamentalsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Follow these principles for ALL Langfuse work:
- Distinctive: line 25
Documentation First: NEVER implement based on memory.
- Very specific: line 26
CLI for Data Access: Use langfuse-cli when querying/modifying Langfuse data.
- Distinctive: line 27
Best Practices by Use Case: Check the relevant reference file below for use-case-specific guidelines before implementing
- Very specific: line 43
Use the langfuse-cli to interact with the full Langfuse REST API from the command line.
- Distinctive: line 45
Start by discovering the schema and available arguments:
- Very specific: line 68
If not set, ask the user to set them in their shell or a .env file (do not ask them to paste keys into chat for security reasons).
- Distinctive: line 101
When you need to find information across all docs and github issues/discussions without knowing the specific page:
- Distinctive: line 121
Search is a great fallback if you cannot find the relevant pages or need more context.
- Distinctive: line 125
Start with llms.txt to orient — scan for relevant page titles
- Distinctive: line 126
Fetch specific pages: when you identify the right one
- Distinctive: line 131
When the user expresses that something about this skill is not working as expected, gives incorrect guidance, is missing information, or …
- Distinctive: line 140
When triggered, follow the process in references/skill-feedback.md.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Langfuse
This skill helps you use Langfuse effectively across all common workflows: instrumenting applications, migrating prompts, debugging traces, and accessing data programmatically.
Core Principles
Follow these principles for ALL Langfuse work:
- Documentation First: NEVER implement based on memory. Always fetch current docs before writing code (Langfuse updates frequently) See the section below on how to access documentation.
- CLI for Data Access: Use
langfuse-cliwhen querying/modifying Langfuse data. See the section below on how to use the CLI. - Best Practices by Use Case: Check the relevant reference file below for use-case-specific guidelines before implementing
- Use latest Langfuse versions: Unless the user specified otherwise or there's a good reason, always use the latest version of Langfuse SDKs/APIs.
Use case specific references
- instrumenting an existing function/application: references/instrumentation.md
- migrating prompts from a codebase into Langfuse: references/prompt-migration.md
- capturing user feedback (thumbs, ratings, implicit signals) as scores on traces: references/user-feedback.md
- further tips on using the Langfuse CLI: references/cli.md
- upgrading or migrating Langfuse SDKs to the latest version: references/sdk-upgrade.md
- systematic error analysis — reading traces, building failure taxonomy, deciding what to fix: references/error-analysis.md
- submitting feedback about this skill: references/skill-feedback.md
1. Langfuse API via CLI
Use the langfuse-cli to interact with the full Langfuse REST API from the command line. Run via npx (no install required):
Start by discovering the schema and available arguments:
# Discover all available resources
npx langfuse-cli api __schema
# List actions for a resource
npx langfuse-cli api <resource> --help
# Show args/options for a specific action
npx langfuse-cli api <resource> <action> --helpCredentials
Set environment variables before making calls:
export LANGFUSE_PUBLIC_KEY=pk-lf-...
export LANGFUSE_SECRET_KEY=sk-lf-...
export LANGFUSE_HOST=https://cloud.langfuse.com # example for EU cloud. For US cloud it's us.cloud.langfuse.com, and can also be a self-hosted URL. The server must always be specified in order to access Langfuse.If not set, ask the user to set them in their shell or a .env file (do not ask them to paste keys into chat for security reasons). Keys are found in Langfuse UI → Settings → API Keys.
Detailed CLI Reference
For common workflows, tips, and full usage patterns, see references/cli.md.
2. Langfuse Documentation
Three methods to access Langfuse docs, in order of preference. Always prefer your application's native web fetch and search tools (e.g., WebFetch, WebSearch, mcp_fetch, etc.) over curl when available. The URLs and patterns below work with any fetching method — the curl examples are just illustrative.
2a. Documentation Index (llms.txt)
Fetch the full index of all documentation pages:
curl -s https://langfuse.com/llms.txtReturns a structured list of every doc page with titles and URLs. Use this to discover the right page for a topic, then fetch that page directly.
Alternatively, you can start on https://langfuse.com/docs and explore the site to find the page you need.
2b. Fetch Individual Pages as Markdown
Any page listed in llms.txt can be fetched as markdown by appending .md to its path or by using Accept: text/markdown in the request headers. Use this when you know which page contains the information needed. Returns clean markdown with code examples and configuration details.
curl -s "https://langfuse.com/docs/observability/overview.md"
curl -s "https://langfuse.com/docs/observability/overview" -H "Accept: text/markdown"2c. Search Documentation
When you need to find information across all docs and github issues/discussions without knowing the specific page:
curl -s "https://langfuse.com/api/search-docs?query=<url-encoded-query>"Example:
curl -s "https://langfuse.com/api/search-docs?query=How+do+I+trace+LangGraph+agents"Returns a JSON response with:
query: the original queryanswer: a JSON string containing an array of matching documents, each with:url: link to the doc pagetitle: page titlesource.content: array of relevant text excerpts from the page
Search is a great fallback if you cannot find the relevant pages or need more context. Especially useful when debugging issues as all GitHub Issues and Discussions are also indexed. Responses can be large — extract only the relevant portions.
Documentation Workflow
- Start with llms.txt to orient — scan for relevant page titles
- Fetch specific pages when you identify the right one
- Fall back to search when the topic is unclear and you want more context
Skill Feedback
When the user expresses that something about this skill is not working as expected, gives incorrect guidance, is missing information, or could be improved — offer to submit feedback to the Langfuse skill maintainers. This includes when:
- The skill gave wrong or outdated instructions
- A workflow didn't produce the expected result
- The user wishes the skill covered something it doesn't
- The user explicitly says something like "this should work differently" or "this is wrong"
Do NOT trigger this for issues with Langfuse itself (the product) — only for issues with this skill's instructions and behavior.
When triggered, follow the process in references/skill-feedback.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

