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.zipInstalls 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.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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| langfuse-hello-world (this skill) | 1 | 4mo | No flags | Beginner |
| dependency-upgrade | 26 | 8mo | Review | Intermediate |
| vitest | 41 | 9mo | No flags | Intermediate |
| browser-tools | 6 | 1y | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
vitest
antfu
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
browser-tools
Whamp
Lightweight Chrome automation toolkit with shared configuration, JSON-first output, and six focused scripts for starting, navigating, inspecting, capturing, evaluating, and cleaning up browser sessions.
validate-typescript
BerryKuipers
Run TypeScript compiler type-checking (tsc --noEmit) to validate type safety and catch type errors. Works with any TypeScript project. Returns structured output with error counts, categories (type/syntax/import errors), and affected files. Used for quality gates and pre-commit validation.
ts-testing
johnlindquist
Design, implement, and maintain high‑value TypeScript test suites using popular JS/TS testing libraries. Use this skill whenever the user is adding tests, debugging failing tests, or refactoring code that should be covered by tests.
react-best-practices
redpanda-data
Client-side React performance optimization patterns.