langfuse
Expert in Langfuse - the open-source LLM observability platform.
Skill by AndrewHaward2310
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/andrewhaward2310-langfuse
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/langfuse
What's inside
- Skill name
langfuse- Description
- Expert in Langfuse - the open-source LLM observability platform. Covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaIndex, and OpenAI. Essential for debugging, monitoring, and improving LLM applications in production. Use when: langfuse, llm observability, llm tracing, prompt management, llm evaluation.
- License
- MIT
- Instructions
- 234 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
```python
from langfuse import Langfuse
# Initialize client
langfuse = Langfuse(
public_key="pk-...",
secret_key="sk-...",
host="https://cloud.langfuse.com" # or self-hosted URL
)
# Create a trace for a user request
trace = langfuse.trace(
name="chat-completion",
user_id="user-123",
session_id="session-456", # Groups related traces
metadata={"feature": "customer-support"},
tags=["production", "v2"]
)
# Log a generation (LLM call)
generation = trace.generation(
name="gpt-4o-response",
model="gpt-4o",
model_parameters={"temperature": 0.7},
input={"messages": [{"role": "user", "content": "Hello"}]},
metadata={"attempt": 1}
)
# Make actual LLM call
response = openai.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}]
)
# Complete the generation with output
generation.end(
output=response.choices[0].message.content,
usage={
"input": response.usage.prompt_tokens,
"output": response.usage.completion_tokens
}
)
# Score the trace
trace.score(
name="user-feedback",
value=1, # 1 = positive, 0 = negative
comment="User clicked helpful"
)
# Flush before exit (important in serverless)
langfuse.flush()
```
### OpenAI Integration
Automatic tracing with OpenAI SDK
**When to use**: OpenAI-based applications
```python
from langfuse.openai import openai
# Drop-in replacement for OpenAI client
# All calls automatically traced
response = openai.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}],
# Langfuse-specific parameters
name="greeting", # Trace name
session_id="session-123",
user_id="user-456",
tags=["test"],
metadata={"feature": "chat"}
)
# Works with streaming
stream = openai.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Tell me a story"}],
stream=True,
name="story-generation"
)
for chunk in stream:From AndrewHaward2310/.agents, MIT.
More from AndrewHaward2310/.agents
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langgraph
AndrewHaward2310
Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache…
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-library
AndrewHaward2310
Curated collection of high-quality prompts for various use cases.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9 - 0.406score
research-engineer
AndrewHaward2310
An uncompromising Academic Research Engineer.
SkillDFreshness: DClaude Code +9 - 0.401score
llm-app-patterns
AndrewHaward2310
Production-ready patterns for building LLM applications.
SkillDFreshness: DClaude Code +9 - 0.390score
mcp-builder
AndrewHaward2310
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 10, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AndrewHaward2310/.agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AndrewHaward2310
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langgraph
AndrewHaward2310
Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache…
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-library
AndrewHaward2310
Curated collection of high-quality prompts for various use cases.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9
Cite this page
langfuse skill. Agent Mart. https://agentmart.dev/skills/andrewhaward2310-langfuse (last updated 2026-10-24)