Skip to main content
skill

observability-langsmith — Claude Code skill

This skill covers LangSmith tracing, evaluation, and monitoring for LLM applications. Use it to inspect runs, test model outputs, and watch production metrics.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/observability-langsmith
Open on GitHub

What observability-langsmith does

The skill explains how to use LangSmith for tracing LLM calls, evaluating outputs, and monitoring AI applications. It covers recording inputs, outputs, and latency, grouping runs into projects, reviewing errors, and tracking token use and costs. It also covers datasets, regression checks, and custom evaluators.

The material uses the Python package langsmith and shows @traceable, wrap_openai, the client API, manual runs, and tracing contexts. It includes integrations with OpenAI, Anthropic, LangChain, and LlamaIndex, plus environment settings such as LANGSMITH_API_KEY and LANGSMITH_TRACING. The package dependency is langsmith>=0.2.0.

LangSmith needs LANGSMITH_API_KEY before traces can be sent, so the key belongs in the environment before testing the setup.

What it helps with

  • trace prompts, chains, and agent calls
  • capture inputs and outputs from LLM runs
  • compare model responses with a test dataset
  • track errors, latency, token use, and costs
  • build regression checks for AI features

Example prompts for the agent

  • Configure LangSmith tracing for this project and tell me which environment variables are needed.
  • Create a question-and-answer dataset, then evaluate the model with a custom correctness check.
  • Show how to wrap an OpenAI client with wrap_openai and inspect the resulting traces.

How to install observability-langsmith

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/observability-langsmith

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill observability-langsmith -a claude-code

3Manually: put the files in place

~/.claude/skills/observability-langsmith/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/observability-langsmith/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about observability-langsmith

How do I install observability-langsmith in Claude Code?

Run npx claude-code-templates@latest --skill ai-research/observability-langsmith, then run npx skills add davila7/claude-code-templates --skill observability-langsmith -a claude-code. The skill file is at ~/.claude/skills/observability-langsmith/SKILL.md.

What does observability-langsmith do?

It guides LangSmith tracing for LLM applications, dataset-based output evaluation, and production monitoring. It also covers regression testing and cost analysis.

What is required to use LangSmith with this skill?

Install langsmith>=0.2.0, set LANGSMITH_API_KEY, and enable tracing with LANGSMITH_TRACING.

Similar skills

All skills for AI and ML →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor