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
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/langsmith-trace/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/langsmith-trace/
1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a codex2Manually: put the files in place
.agents/skills/langsmith-trace/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a cursor2Manually: put the files in place
.cursor/skills/langsmith-trace/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install langchain-ai/langsmith-skills config/skills/langsmith-trace2Manually: put the files in place
.github/skills/langsmith-trace/SKILL.md1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a gemini-cli2Platform CLI
gemini skills install https://github.com/langchain-ai/langsmith-skills --path config/skills/langsmith-traceManually: put the files in place
.devin/skills/langsmith-trace/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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