langsmith-evaluator — Claude Code skill: LangSmith evaluation pipelines
langsmith-evaluator is a Claude Code skill for building evaluation pipelines in LangSmith. It configures LLM-as-judge checks, run functions, and tests executed via the langsmith CLI tool.
MIT 5,300 installs ★ 166 updated 2026-10-21
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a claude-codeWhat langsmith-evaluator does
The tool guides evaluation pipeline development for LangSmith. It covers three main areas: building evaluators with LLM-as-judge or custom code, capturing agent outputs and trajectories in run functions, and executing runs locally via evaluate() or automatically in LangSmith. The workflow relies on the langsmith CLI tool.
This skill is deprecated and has moved to langchain-agent-experiments in the langchain-ai/langchain-skills repository. When triggered, it checks whether langchain-agent-experiments is active in the current session and switches to it directly.
If the newer skill is absent, it notifies the user about migration once, avoiding any skill or plugin modifications without explicit approval. It then proceeds with the evaluation task using official documentation and langsmith --help.
What it helps with
- LangSmith evaluation pipelines
- create LLM-as-judge evaluators and custom code checks
- capture agent outputs and trajectories via run functions
- run evaluations locally with evaluate() or via LangSmith
Example prompts for the agent
- Set up an evaluation pipeline for my agent in LangSmith
- Create an LLM-as-judge evaluator for agent responses
- Run local agent evaluation using evaluate()
How to install langsmith-evaluator
1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a claude-code2Manually: put the files in place
~/.claude/skills/langsmith-evaluator/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/langsmith-evaluator/
1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a codex2Manually: put the files in place
.agents/skills/langsmith-evaluator/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a cursor2Manually: put the files in place
.cursor/skills/langsmith-evaluator/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install langchain-ai/langsmith-skills config/skills/langsmith-evaluator2Manually: put the files in place
.github/skills/langsmith-evaluator/SKILL.md1Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a gemini-cli2Platform CLI
gemini skills install https://github.com/langchain-ai/langsmith-skills --path config/skills/langsmith-evaluatorManually: put the files in place
.devin/skills/langsmith-evaluator/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -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-evaluator
How to install langsmith-evaluator in Claude Code?
Run the command npx skills add langchain-ai/langsmith-skills --skill langsmith-evaluator -a claude-code.
What does langsmith-evaluator do?
It builds LangSmith evaluation pipelines, sets up LLM-as-judge evaluators, configures run functions to record trajectories, and executes evaluations.
What is required to run langsmith-evaluator?
The skill requires the langsmith CLI tool. The package is deprecated in favor of langchain-agent-experiments.
Source text
SKILL.md · MIT
--- name: langsmith-evaluator description: "Deprecated: moved to the `langchain-agent-experiments` skill in langchain-ai/langchain-skills. INVOKE THIS SKILL when building evaluation pipelines for LangSmith. Covers three core components: (1) Creating Evaluators - LLM-as-Judge, custom code; (2) Defining Run Functions - how to capture outputs and trajectories from your agent; (3) Running Evaluations - locally with evaluate() or auto-run via LangSmith. Uses the langsmith CLI tool." --- # langsmith-evaluator 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-experiments` 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