LA

langfuse-hello-world

Creates a minimal working example of Langfuse tracing using SDK patterns.

Install

mkdir -p .claude/skills/langfuse-hello-world && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7593" && unzip -o skill.zip -d .claude/skills/langfuse-hello-world && rm skill.zip

Installs to .claude/skills/langfuse-hello-world

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create a minimal working Langfuse trace example.
48 charsno explicit “when” trigger
Beginner

Key capabilities

  • →Initialize top-level traces using startActiveObservation
  • →Create nested spans for sub-operations
  • →Track LLM generations with model, input, output, and usage metadata
  • →Wrap existing functions with the observe decorator
  • →Flush trace data to the dashboard

How it works

The SDK uses OpenTelemetry span processors to capture and link hierarchical trace data, spans, and LLM generations.

Inputs & outputs

You give it
Function calls, LLM prompts, and metadata
You get back
Traces, spans, and generation logs in the Langfuse dashboard

When to use langfuse-hello-world

  • →Initialize the first Langfuse trace
  • →Test OpenTelemetry span processor setup
  • →Learn basic tracing patterns like observe wrappers
  • →Validate API authentication with a sample trace

About langfuse-hello-world

This skill provides boilerplate code to initialize basic Langfuse traces. It demonstrates the trace, span, and generation hierarchy including OpenTelemetry integration.

Create a minimal working Langfuse trace example. Use when starting a new Langfuse integration, testing your setup, or learning basic Langfuse tracing patterns. Trigger with phrases like "langfuse hello world", "langfuse example", "langfuse quick start", "first langfuse trace", "simple langfuse code".

When not to use it

  • →Using v3 legacy SDK methods in v4+ modular environments
  • →Running traces without flushing before process termination

Prerequisites

Langfuse SDK installationValid API credentialsOpenAI API key for generation examples

Limitations

  • →Requires explicit registration of LangfuseSpanProcessor for auto-nesting
  • →Data must be flushed manually or via shutdown to appear in the dashboard

How it compares

This method uses automated wrappers to capture trace data without requiring manual modification of internal function logic.

Compared to similar skills

langfuse-hello-world side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
langfuse-hello-world (this skill)14moNo flagsBeginner
dependency-upgrade268moReviewIntermediate
vitest419moNo flagsIntermediate
browser-tools61yReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore →

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

Search skills

Search the agent skills registry