npx skills add ...
npx skills add akillness/jeo-skills --skill langsmith
Route LangSmith work into one workflow packet before touching SDK code. Use when the user needs LangSmith tracing, offline evals, annotation/review queues, prompt-registry decisions, audit/gap review, or cross-service trace propagation for an LLM app or agent workflow. Choose one packet: trace-debug, eval, review, prompt-registry, propagation, or audit. Triggers on: LangSmith, LangChain tracing, `@traceable` / `traceable`, `wrap_openai` / `wrapOpenAI`, datasets, experiments, annotation queues, feedback criteria, Prompt Hub, run trees, trace IDs, or production confidence for an AI feature. Not for generic SLO/alert design, non-LangSmith deployment orchestration, or runtime guardrails outside LangSmith.
npx skills add akillness/jeo-skills --skill langsmith
@traceable / traceable, wrap_openai / wrapOpenAI, annotation queues, run trees, trace IDs, datasets, or experiment comparison.Do not use this skill as the main workflow when:
monitoring-observabilitylog-analysisdebuggingdeployment-automationdata-analysislangsmith should behave like a workflow packet router, not a giant SDK encyclopedia.
Read these support docs before choosing the packet:
Convert the prompt into this intake packet first:
Choose one primary packet for the run. If two seem plausible, pick the one that reduces uncertainty fastest.
| Packet | Use when | Main output | Typical signals |
|---|---|---|---|
trace-debug | The real question is “what happened?” | trace-debug packet | missing visibility, wrappers/decorators, trace coverage, metadata discipline |
eval | A change needs pre-ship or regression confidence | eval packet | dataset creation, evaluators, experiments, baseline/candidate comparison |
review | Traces exist but trust is weak in production | review packet | annotation queues, feedback criteria, human scoring, inline review |
prompt-registry | Prompt/version ownership is the bottleneck | prompt packet | Prompt Hub, prompt versions, Git sync, compare prompt variants |
propagation | One request spans services, jobs, tools, or agents | propagation packet | parent/child trace IDs, cross-service headers, multi-hop lineage |
audit | LangSmith is present but still not useful | audit packet | noisy traces, missing IDs, absent evals, unclear prompt ownership |
Packet rules:
trace-debug when the team cannot explain the run tree.eval when the next risk is shipping without a regression gate.review when real-user output needs human or structured quality feedback.prompt-registry only when prompt/version choice is the actual bottleneck.propagation when one request fans out beyond a single service boundary.audit when the system already “has LangSmith” but confidence is still low.| Surface | Use when | Strengths | Risks |
|---|---|---|---|
Provider wrappers (wrap_openai, wrap_anthropic, wrapOpenAI) | Need quick model-call coverage | Fastest path to visible traces | Misses higher-level workflow context if used alone |
Decorators / traceable() | Need named spans around app functions | Clear span boundaries, reusable | Still needs deliberate placement |
| Manual trace blocks / tracing context | Need scoped or temporary visibility | Good for audits and suspicious blocks | Easy to under-instrument |
| Annotation queues + feedback criteria | Need structured human review | Preserves rubric and reviewer flow | Review ownership still has to be designed |
| Dataset + experiment workflow | Need benchmark or regression checks | Gives pre-ship comparison | Can drift into generic eval theory if not bounded |
| CLI export/list/get flows | Need audit/export operations more than instrumentation | Good for scripts and inspection | Not a substitute for instrumentation design |
| Cross-service propagation headers / metadata | Need end-to-end lineage | Preserves parent/child context | Easy to forget at service boundaries |
Rules:
run_id, trace_id, and metadata if humans or downstream tools will review runs later.| Layer | Use when | Notes |
|---|---|---|
| Deterministic / code evaluator | Output can be checked mechanically | Best first choice for structure/factual rules |
LLM-as-judge (openevals) | Quality is subjective or reference-light | Useful, but not ground truth |
| Human review | Stakes are high or nuance dominates | Needs rubric, reviewer, and cadence |
| Pairwise comparison | Two prompts/models/app versions are being compared | Good for baseline vs candidate decisions |
| Online evaluator | Production traffic needs ongoing scoring | Pair with explicit alert/review semantics |
Do not pretend one layer replaces the others.
Default response shape:
Keep it compact. The point is to leave the user with one smallest next artifact, not a wall of SDK notes.
trace-debugevalreviewrun_id / trace_id so feedback attaches to the right artifact later.prompt-registrypropagationauditSwitch as soon as LangSmith is no longer the main bottleneck:
monitoring-observabilitylog-analysisdebuggingdeployment-automationdata-analysisPrompt:
Add LangSmith to this FastAPI RAG service so we can debug why answer quality regressed after a retriever change.
Good response shape:
trace-debugPrompt:
Before we ship this prompt rewrite, build a LangSmith eval workflow with a baseline, a candidate, and one judge for subjective quality.
Good response shape:
evalPrompt:
We already have LangSmith traces, but support leads still do not trust the AI assistant. Set up a review workflow with human scoring.
Good response shape:
reviewPrompt:
Should these prompts live in LangSmith Prompt Hub or stay in Git?
Good response shape:
prompt-registryPrompt:
One chat request fans out to workers and tools. How do we keep one trace through LangSmith?
Good response shape:
propagationrun_id, trace_id, tags, and metadata deliberately.references/intake-packets-and-route-outs.mdreferences/modes-and-routing.mdreferences/python-sdk.mdreferences/typescript-sdk.mdreferences/cli.md## LangSmith brief
- Packet: trace-debug | eval | review | prompt-registry | propagation | audit
- App shape: ...
- Runtime: ...
- Current evidence: ...
## Chosen surface
- wrappers / decorators / manual trace / dataset+experiment / review queue / prompt registry / propagation headers
## Required config
- `LANGSMITH_API_KEY`
- project/workspace/environment
- endpoint/workspace overrides if self-hosted
## Required IDs / metadata
- `run_id`, `trace_id`, tags, metadata fields, user/session identifiers as needed
## Verification step
- one trace query, one experiment comparison, one queue review check, or one prompt-version sanity check
## Route-out
- next neighboring skill if the bottleneck moves