observability
Skill by Quintui
Instruments assistant-ui AI SDK backend routes with Langfuse, LangSmith, or Helicone. It also renders collected span data with the experimental react-o11y span APIs, for developers tracing AI SDK calls.
Install observability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Quintui/education-app /tmp/education-app && mkdir -p ~/.claude/skills && cp -r /tmp/education-app/.agents/skills/observability ~/.claude/skills/observabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Quintui/education-app /tmp/education-app && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/education-app/.agents/skills/observability ~/.gemini/antigravity-cli/skills/observabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill helps developers add observability to assistant-ui backend routes that use the AI SDK. It covers three backend integrations: Langfuse for OpenTelemetry-based hierarchical traces, LangSmith through a wrapAISDK call, and Helicone as a provider proxy for request logs, costs, and latency. It also covers serverless flushing so traces are not dropped.
For in-app views, the skill explains how to render an existing SpanData array with the experimental @assistant-ui/react-o11y SpanResource and SpanPrimitive APIs. The react-o11y package does not send traces or derive spans from the assistant runtime; it only displays data the application has already collected. The skill is aimed at developers debugging missing traces, provider metadata, or trace trees in assistant-ui projects.
Written from the project's SKILL.md and checked against it.
What it can do
- Langfuse setupAdds OpenTelemetry spans from AI SDK calls to Langfuse, with trace attributes and serverless flushing.
- LangSmith wrappingTraces AI SDK functions by calling the functions returned from wrapAISDK(ai).
- Helicone proxyingRoutes provider requests through Helicone for request logs, costs, latency, and prompt diffs.
- Span renderingUses SpanResource and SpanPrimitive to render a complete SpanData list in an isolated provider.
- Timeline viewsUses SpanPrimitive.Timeline and TimelineBar to show spans on a shared time axis.
- Troubleshooting guidanceLists fixes for missing traces, dropped serverless spans, and Helicone traffic going directly to OpenAI.
What you need
- An assistant-ui project with an AI SDK backend route
- Server environment variables for the chosen provider
- Node.js runtime for the Langfuse span processor
Try asking
- Add Langfuse tracing to my assistant-ui streamText route
- Why are my LangSmith traces missing in a Vercel function?
- Render my collected SpanData array as a trace timeline in React
Good to know
- The react-o11y span APIs are experimental.
- react-o11y does not send traces or derive spans from the assistant runtime.
- SpanPrimitive.ChildByIndex is not exported by the current source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to observability
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
observability: common questions
Does this skill send traces to Langfuse, LangSmith, or Helicone by itself?
No. The integrations are configured on the server, and react-o11y only renders span data that the application has already collected.
Can Langfuse and Helicone be used together?
Yes. The source says Langfuse consumes OpenTelemetry spans while Helicone proxies provider traffic, so they can run together.
Which runtime does the Langfuse span processor need?
The source says to register LangfuseSpanProcessor only in the Node runtime, because OpenTelemetry does not run in the edge runtime.
How do I install observability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is observability free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is observability safe to use?
It scores 60 of 100. Grades: maintenance B, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to observability?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
