ワンクリックで
langfuse-trace-view
View Langfuse trace details. Use when checking specific trace input/output, debugging LLM calls, or analyzing costs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
View Langfuse trace details. Use when checking specific trace input/output, debugging LLM calls, or analyzing costs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
List all Langfuse models with their pricing. Use when checking model costs, verifying pricing configuration, or getting an overview of model definitions.
List Langfuse sessions. Use when checking user sessions, analyzing conversation flows, or monitoring session activity.
View Langfuse session details with all traces. Use when analyzing conversation flows, checking session costs, or debugging multi-turn interactions.
List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs.
Create or update Langfuse model pricing. Use when setting up new models, updating pricing, or configuring model costs.
View Langfuse observation (Generation/Span) details. Use when checking specific LLM call input/output, debugging issues, or analyzing costs.
| name | langfuse-trace-view |
| description | View Langfuse trace details. Use when checking specific trace input/output, debugging LLM calls, or analyzing costs. |
| license | MIT |
| compatibility | Node.js 18+ (native fetch required) |
| metadata | {"author":"neuradex","category":"observability"} |
| allowed-tools | ["Bash(npx tsx *scripts/langfuse-trace-view.ts*)"] |
Display detailed information for a specific trace.
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
LANGFUSE_PUBLIC_KEY | Yes | Langfuse public key |
LANGFUSE_SECRET_KEY | Yes | Langfuse secret key |
LANGFUSE_HOST or LANGFUSE_BASE_URL | No | Langfuse host URL (default: https://us.cloud.langfuse.com) |
npx tsx scripts/langfuse-trace-view.ts <traceId>
npx tsx scripts/langfuse-trace-view.ts <traceId> --json
Langfuse Trace Detail
=====================
ID: abc123-def456-ghi789
Name: librarian/chat
Timestamp: 2025-01-15 10:30:45
User ID: user-123
Session: lb:session-456
Latency: 1234ms
Cost: $0.0150
Tags: env:production
Metadata:
{
"projectId": "project-123",
"organizationId": "org-456"
}
Input:
{
"userMessage": "Search the knowledge base"
}
Output:
{
"response": "Here are the search results..."
}
Observations (3):
--------------------------------------------------------------------------------
[GENERATION] llm-call
Time: 10:30:46 Model: gpt-4o Cost: $0.0120 Tokens: in:150 out:200
Input: {"role": "user", ...}
Output: Here are the search results...
[SPAN] tool-execution
Time: 10:30:47 Model: - Cost: - Tokens: -
| Field | Description |
|---|---|
| ID | Trace ID |
| Name | Trace name |
| Timestamp | Creation timestamp |
| User ID | User ID |
| Session | Session ID |
| Latency | Processing time (ms) |
| Cost | Estimated cost |
| Tags | Tag list |
| Metadata | Metadata |
| Input | Trace input |
| Output | Trace output |
| Observations | Child spans (Generation, Span, etc.) |