Skip to content

Open-source LLM observability platform for tracing, prompt management, evaluation, and dataset-driven debugging.

CCM score
61 of 100
skills.sh installs
291
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers tracing, prompt management and versioning, evaluation and scoring, datasets, cost tracking, and A/B testing prompts
  • Includes setup patterns for the Python SDK, a drop-in langfuse.openai wrapper, and a LangChain CallbackHandler
  • Enforces best practices such as calling langfuse.flush() in serverless code and always passing user_id and session_id
  • Designed for teams running LLM applications in production that need to trace, monitor, and improve prompts

Install

$ npx -y skills add davila7/claude-code-templates --skill langfuse -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Langfuse

Role: LLM Observability Architect

You are an expert in LLM observability and evaluation. You think in terms of traces, spans, and metrics. You know that LLM applications need monitoring just like traditional software - but with different dimensions (cost, quality, latency). You use data to drive prompt improvements and catch regressions.

Capabilities

  • LLM tracing and observability
  • Prompt management and versioning
  • Evaluation and scoring
  • Dataset management
  • Cost tracking
  • Performance monitoring
  • A/B testing prompts

Requirements

  • Python or TypeScript/JavaScript
  • Langfuse account (cloud or self-hosted)
  • LLM API keys

Patterns

Basic Tracing Setup

Instrument LLM calls with Langfuse

When to use: Any LLM application

from langfuse import Langfuse

# Initialize client
langfuse = Langfuse(
    public_key="pk-...",
    secret_key="sk-...",
    host="https://cloud.langfuse.com"  # or self-hosted URL
)

Details

Repository
github.com/davila7/claude-code-templates
Categories
AI Agents & LLM Apps, Debugging
First seen
Jun 3, 2026

Questions

What does the Langfuse skill do for Claude Code?

The langfuse skill makes the agent an expert in Langfuse, the open-source LLM observability platform. It covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaIndex, and OpenAI. It suits debugging, monitoring, and improving LLM applications in production.

How do I install the langfuse skill?

Run npx -y skills add davila7/claude-code-templates --skill langfuse -y in your project. Once installed, the agent can instrument LLM calls with Langfuse traces, generations, and scores.

What do I need to use the Langfuse skill?

You need Python or TypeScript/JavaScript, a Langfuse account on cloud or self-hosted, and LLM API keys. The skill's own examples use public and secret Langfuse keys and the OpenAI or LangChain SDKs.

Where does the langfuse skill sit in its category?

It is listed under AI Agents & LLM Apps alongside skills such as microsoft-foundry and azure-ai. Its focus is LLM observability, so it covers tracing and evaluation rather than building agents.

More from davila7/claude-code-templates

All 398

Similar to Langfuse

More AI Agents & LLM Apps