Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

langsmith-dataset

Skill by langchain-ai

Creates, uploads and manages evaluation datasets in LangSmith using the langsmith CLI and SDK. Built for developers who test AI agents and RAG pipelines.

  • Score 81
  • 801 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install langsmith-dataset

Built from the published package, never by AI.

git clone --depth 1 https://github.com/langchain-ai/design-agent /tmp/design-agent && mkdir -p ~/.claude/skills && cp -r /tmp/design-agent/.agents/skills/langsmith-dataset ~/.claude/skills/langsmith-dataset

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install langsmith-dataset in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant create, manage and upload evaluation datasets in LangSmith. It covers four dataset types: final_response, single_step, trajectory and RAG. Datasets are JSON files holding an array of examples, each with inputs and outputs. Examples can be built from exported traces using Python or TypeScript code, or created directly with the langsmith SDK.

Day-to-day work runs through the langsmith CLI, which covers listing, getting, creating, exporting, uploading and deleting datasets. It also manages examples and lists or views experiments. The skill is aimed at developers who evaluate LLM agents and need test data in LangSmith. It requires a LangSmith API key and the langsmith CLI or SDK.

Written from the project's SKILL.md and checked against it.

What it can do

  • Dataset typesDescribes final_response, single_step, trajectory and RAG dataset structures.
  • CLI dataset commandsLists, gets, creates, exports, uploads and deletes datasets with the langsmith CLI.
  • SDK dataset creationCreates datasets and adds examples with the langsmith Python or JavaScript SDK.
  • Trace-based datasetsExports traces and processes them into dataset examples with code.
  • Example managementLists, adds and deletes examples in a dataset.
  • Experiment commandsLists experiments for a dataset and views experiment results.

What you need

  • LangSmith API key
  • langsmith CLI
  • Python with pip, or Node.js with npm, for the SDK

Try asking

  • Turn my exported traces into a final_response dataset and upload it
  • List the examples in my LangSmith dataset named Skills: Trajectory
  • Create a RAG dataset with question, chunks and answer fields

Good to know

  • The CLI asks for confirmation before delete and overwrite actions
  • Use --yes only when the user requests it or when running non-interactively
  • Exports include inputs and outputs only when the --full flag is used

Security check

C
  • Downloads a script from the internet and runs itIn .agents/skills/langsmith-dataset/SKILL.md: curl -sSL https://raw.githubusercontent.com/langchain-ai/langsmith-cli/main/scripts/install.sh | sh

Checked automatically: .agents/skills/langsmith-dataset/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to langsmith-dataset

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

langsmith-dataset: common questions

What dataset types does this skill support?

It covers final_response, single_step, trajectory and RAG datasets. Each type has a documented JSON structure.

How do I build a dataset from existing traces?

Export traces to JSONL files with the langsmith trace export command. Then process the root runs into examples with Python or TypeScript code and upload the result.

Do I need an API key?

Yes. Authentication requires the LANGSMITH_API_KEY environment variable or the --api-key flag on CLI commands.

How do I install langsmith-dataset?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is langsmith-dataset free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is langsmith-dataset safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to langsmith-dataset?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

langsmith-dataset Install

Add to stack

Loading.