
Langfuse
If you're running LLMs in production and not tracking what they're doing, you're flying blind. This skill gives Claude expertise in Langfuse, an open source observability platform that traces your LLM calls, manages prompts, and tracks costs across OpenAI, LangChain, and LlamaIndex integrations. It covers the full workflow from basic tracing setup to scoring responses and A/B testing prompts. The patterns are solid, especially the drop-in OpenAI wrapper that automatically logs everything. Most valuable when you're debugging why GPT-4 gave a weird response last Tuesday or trying to figure out which prompt version actually performs better. Just remember to call flush() in serverless environments or you'll lose your traces.
- skills.sh installs
- 291
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill langfuse --agent claude-codeInstalls into .claude/skills of the current project.
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
)
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Commit Work290
- Quality Manager Qmr290
- Tdd Workflow290
- Get Available Resources289
- Gwas Database289
- Pubchem Database288
- Railway Status288
- Signup Flow Cro288
- Pyvene Interventions287
- Paywall Upgrade Cro286
- Viral Generator Builder285
- Loki Mode284
- Meeting Insights Analyzer284
- Railway Docs284
- Railway New284
- Onboarding Cro283
- Bioservices282
- Command Creator282
- Hqq Quantization282
- Railway Environment282
- Railway Projects282
- Railway Service282
- Anndata281
- Cocoindex281