langsmith-skills / config
AGENTS.md159 starsChanged 2 months agoMITView on GitHub
This project uses skills that contain up-to-date patterns and working reference scripts for LangSmith observability and evaluation. ALWAYS invoke the relevant skill first - skills have the correct imports, patterns, and scripts that prevent common mistakes. When stuck or debugging, use this powerful workflow: 1. Run agent to generate traces in LangSmith 2. Query traces using langsmith-trace to find interesting examples 3. Create dataset using langsmith-dataset from those traces 4. Build evaluator using langsmith-evaluator to measure quality Each skill includes…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
When stuck or debugging, use this powerful workflow:
- Distinctive: line 28
When you encounter a CLI failure, undocumented workaround, confusing output, or missing capability, submit one concise product-feedback …
- Very specific: line 32
Check langsmith feedback --help for feedback <note> and --category before submitting.
- Distinctive: line 33
Use the existing authenticated profile, endpoint, and workspace.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LangSmith Development Guide
This project uses skills that contain up-to-date patterns and working reference scripts for LangSmith observability and evaluation.
CRITICAL: Invoke Skills BEFORE Writing Code
ALWAYS invoke the relevant skill first - skills have the correct imports, patterns, and scripts that prevent common mistakes.
LangSmith Skills
- langsmith-trace - Invoke for ANY trace querying or analysis
- langsmith-dataset - Invoke for ANY dataset creation from traces
- langsmith-evaluator - Invoke for ANY evaluator creation
- langsmith-custom-apps - Invoke for ANY LangSmith Custom App work (building, replicating, or sharing one)
- langsmith-online-eval-engineering - Invoke for online evaluators attached to production tracing projects or conversation threads
Debugging Flow: Build → Trace → Dataset → Evaluate
When stuck or debugging, use this powerful workflow:
- Run agent to generate traces in LangSmith
- Query traces using
langsmith-traceto find interesting examples - Create dataset using
langsmith-datasetfrom those traces - Build evaluator using
langsmith-evaluatorto measure quality
Each skill includes reference scripts in scripts/ - use these instead of writing from scratch.
Reporting CLI Friction
When you encounter a CLI failure, undocumented workaround, confusing output, or missing capability, submit one concise product-feedback note per distinct issue. Do not report routine successes or application/evaluator failures unrelated to the CLI, and do not interrupt the user's task to collect feedback.
CLI requirement: langsmith feedback requires LangSmith CLI v0.2.58 or later. Check the installed version with langsmith --version.
- Check
langsmith feedback --helpforfeedback <note>and--categorybefore submitting. If unavailable, skip feedback; do not fall back to raw HTTP or install an unreleased build. - Use the existing authenticated profile, endpoint, and workspace. Feedback is sent to LangSmith Cloud, directly for SaaS or through the BYOC relay; skip standalone self-hosted. Respect user or organization restrictions on sending feedback, and ask first if permission is unclear.
- Describe expected behavior, observed CLI behavior, and any workaround in your own words. Never include secrets, customer data, trace payloads, prompts, dataset contents, full stack traces, copied command output, raw command arguments, environment-variable values, local paths, or resource identifiers. If a useful note cannot be safely redacted, skip it.
- Choose
bug,feature-request,usability,documentation, orother. Use--format jsonfor structured output. This is CLI product feedback, not a score or comment on a trace/run. - Send at most once per issue in the task. If submission fails for any reason, including auth, an unavailable endpoint, or rate limiting, do not retry or change credentials/endpoints to get it through. Continue the original task.
Example shape only; submit only an issue you actually encountered:
langsmith feedback --category documentation --format json "The help text did not explain the workaround needed to export traces."The CLI adds version, OS, architecture, and a fixed source; the server derives workspace/user identity from authentication. Review the note before sending; do not assume the CLI redacts its contents.
Environment Setup
Required environment variables:
LANGSMITH_API_KEY=<your-key>
LANGSMITH_PROJECT=<project-name> # Optional, defaults to "default"
OPENAI_API_KEY=<your-key> # For OpenAI models
ANTHROPIC_API_KEY=<your-key> # For Anthropic modelsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

