Skip to main content
skill CX Codex

langsmith-trace — Claude Code skill: LangSmith tracing

langsmith-trace is a Claude Code skill that configures LangSmith tracing and queries trace data. Activates during tracing setup or when inspecting LLM run traces.

MIT 5,200 installs ★ 166 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a claude-code
Open on GitHub

What langsmith-trace does

The skill guides the assistant in adding tracing to applications and retrieving or exporting trace logs via the langsmith CLI tool. It pulls reference material from official LangChain documentation and langsmith --help.

Maintainers at LangChain marked this standalone skill deprecated. Its features now ship inside the langchain-skills repository under the langchain-agent-tracing name.

When invoked alongside langchain-agent-tracing, the assistant yields to the newer version. Otherwise, it notifies about the migration link and completes the requested tracing job without editing installed plugins without approval.

What it helps with

  • LangSmith tracing
  • add tracing to LLM applications
  • query and export trace data using langsmith CLI
  • migrate to the langchain-agent-tracing skill

Example prompts for the agent

  • Set up LangSmith tracing for my application
  • Export recent traces with the langsmith CLI
  • How do I query trace runs in LangSmith from terminal?

How to install langsmith-trace

1Skills CLI (Vercel)

npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a claude-code

2Manually: put the files in place

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

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

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

Questions about langsmith-trace

How to install langsmith-trace in Claude Code?

Run npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a claude-code. Alternatively, add the configuration file to ~/.claude/skills/langsmith-trace/SKILL.md.

What does langsmith-trace do?

It provides instructions for instrumenting applications with LangSmith and querying execution trace data using the langsmith command-line utility.

Why is langsmith-trace deprecated?

The author moved standalone LangSmith skills into the langchain-ai/langchain-skills bundle, replacing this skill with langchain-agent-tracing.

Source text

SKILL.md · MIT
---
name: langsmith-trace
description: "Deprecated: moved to the `langchain-agent-tracing` skill in langchain-ai/langchain-skills. INVOKE THIS SKILL when working with LangSmith tracing OR querying traces. Covers adding tracing to applications and querying/exporting trace data. Uses the langsmith CLI tool."
---

# langsmith-trace has moved

This skill is no longer maintained. LangSmith skills now ship in the
`langchain-skills` plugin: https://github.com/langchain-ai/langchain-skills.

When this skill is invoked:

1. If the `langchain-agent-tracing` skill is available in this session, use it
   instead and ignore the rest of this skill.
2. Otherwise, tell the user once, briefly, that the LangSmith skills moved to
   `langchain-skills`, and offer to migrate by following
   https://github.com/langchain-ai/langchain-skills#migrate-from-the-standalone-skills.
   Do not install, update, or remove skills or plugins without the user's
   go-ahead.
3. Meanwhile, continue the user's task using the official docs
   (https://docs.langchain.com/llms.txt) and the current `langsmith --help`.

© langchain-ai · MIT · langchain-ai/langsmith-skills

Similar skills

All skills for AI and ML →

From the same set7

Project sponsors

Companies that keep this analytics open