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.
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-datasetRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langchain-ai/design-agent /tmp/design-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/design-agent/.agents/skills/langsmith-dataset ~/.gemini/antigravity-cli/skills/langsmith-datasetAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
