langsmith-trace

langsmith-trace is a skill for Claude Code from langchain-ai/langsmith-skills. It costs 61 tokens per session (259 once invoked), scanned A, original, MIT.

A guide for LangSmith tracing, where an application records its operations so they can be inspected later. It also covers searching and exporting those records, called traces.

In plain words
What is it for?
Use it to add tracing to applications and query or export trace data with the LangSmith command-line tool.
Why use it?
It helps developers see what an application or agent did during a run and retrieve that information when investigating behaviour.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the langsmith-skills plugin — 7 skills shipped together

Good fit Use it to add tracing to applications and query or export trace data with the LangSmith command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langchain-ai/langsmith-skills/langsmith-trace
About the project

LangSmith Skills is a set of coding-agent skills for observing and evaluating applications built with large language models through LangSmith. Developers use it to query traces, assemble evaluation datasets, and create custom evaluators. The catalogue entries provide these skills and a Claude Code plugin for supported coding agents.

langchain-ai/langsmith-skills · 166 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add langchain-ai/langsmith-skills --skill langsmith-trace
Clone the repo
git clone --depth 1 https://github.com/langchain-ai/langsmith-skills

Made for: Claude Code.

Or install langsmith-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langsmith-trace

README.md
[![agentmods](https://agentmods.dev/badge/skills/langchain-ai/langsmith-skills/langsmith-trace/github.svg)](https://agentmods.dev/skills/langchain-ai/langsmith-skills/langsmith-trace)
Your own site
<a href="https://agentmods.dev/skills/langchain-ai/langsmith-skills/langsmith-trace"><img src="https://agentmods.dev/badge/skills/langchain-ai/langsmith-skills/langsmith-trace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for langsmith-trace

Your own site · 80×15
<a href="https://agentmods.dev/skills/langchain-ai/langsmith-skills/langsmith-trace"><img src="https://agentmods.dev/badge/skills/langchain-ai/langsmith-skills/langsmith-trace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 13 Nov 2026
  • Snyk warn 13 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00259
Opus 5.5 $0.00024 $0.00104
Sonnet 5.5 $0.00012 $0.00052
Haiku 4.5 $0.00006 $0.00026

Measured 12d ago against content hash c9ed1e40a68a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

langsmith-trace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

config/skills/langsmith-trace/SKILL.md · 22 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · -270 lines · +21 tokens per session scan C → A c9ed1e40a68a
  2. 20d ago Changed · +4 lines 33562618c49f
  3. 2mo ago Changed · +18 lines 6f16ba0969d0
  4. 2mo ago Changed 9c4e473ef5d6
  5. 3mo ago First seen · 270 lines · 40 tokens per session scan C 7c30f275cf47

Subscribe to this mod's changes

langsmith-trace is a skill published in the GitHub repository langchain-ai/langsmith-skills (166 stars, last pushed 12d ago), licensed MIT. It adds 61 tokens to every session and 259 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

langsmith-trace compared with skills from other repositories

langsmith-trace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
langsmith-tracelangchain-ai/langsmith-skillsSkill16612d agoMITA61Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20ktodayMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code