Agent Skillslangwatch/langwatch › langwatch

langwatch

GitHub

通过 langwatch CLI 读取 LLM 生产环境追踪数据,用于调试失败或缓慢的模型调用、查询特定 trace/session 详情及验证编码活动记录。

plugins/langwatch/skills/langwatch/SKILL.md langwatch/langwatch

Trigger Scenarios

调试 LLM 运行失败或延迟 查询特定 trace 或 session 详情 检查编码会话是否被捕获

Install

npx skills add langwatch/langwatch --skill langwatch -g -y
More Options

Non-standard path

npx skills add https://github.com/langwatch/langwatch/tree/main/plugins/langwatch/skills/langwatch -g -y

Use without installing

npx skills use langwatch/langwatch@langwatch

指定 Agent (Claude Code)

npx skills add langwatch/langwatch --skill langwatch -a claude-code -g -y

安装 repo 全部 skill

npx skills add langwatch/langwatch --all -g -y

预览 repo 内 skill

npx skills add langwatch/langwatch --list

SKILL.md

Frontmatter
{
    "name": "langwatch",
    "description": "Read LLM traces back from LangWatch with the langwatch CLI. Use when asked what an agent, prompt or model call actually did in production, when debugging a failed or slow LLM run, when looking up a trace or session by id, or when checking whether this coding session's own activity was captured."
}

LangWatch from a coding session

LangWatch stores the traces your application and your coding agent emit. The langwatch CLI reads them back. Every lookup below is read-only; the one command that writes anything is langwatch login, which stores credentials on this machine.

Check the CLI is there and signed in

langwatch --version
langwatch whoami

whoami prints the identity langwatch login persisted. If it reports nobody, run langwatch login and let the user complete it in the browser. Do not guess credentials.

Find a trace

Search the last 24 hours by default. Widen with --start-date / --end-date.

langwatch trace search -q "checkout agent" --limit 10 -o json

Useful flags: --limit <n>, --origin <origins> (comma-separated, e.g. application,evaluation,simulation).

Read one trace

langwatch trace get <traceId> -o json

For a coding-agent trace, the transcript is the readable form: what the agent did, in order.

langwatch trace transcript <traceId>

Add -o json to either when you want to parse the result rather than read it.

Read one coding-agent session

langwatch session events <sessionId>

Lists the session's model calls, compactions, rate limits and tool runs in time order. --kinds model_call,compaction narrows it.

How sessions get captured

langwatch ingest hook <tool> is the command a coding agent runs at the start and end of a session. It reports the repository, branch and worktree the session is working in, so the agent's traces can be joined to the code they touched. This plugin ships that hook, so an installed plugin needs nothing on PATH for the capture to happen.

Nothing here sends the user's code anywhere. The hook reports repository identity, not file contents.

When a command fails

Read the error. A missing trace id, an expired session and a self-hosted endpoint the CLI was never pointed at all fail differently, and the CLI says which. Do not retry a failed read in a loop.

Version History

  • 12615f1 Current 2026-08-20 10:00

Same Skill Collection

.claude/skills/browser-pair/SKILL.md
.claude/skills/browser-test/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/feature-map/SKILL.md
.claude/skills/haven-setup/SKILL.md
.claude/skills/langwatch-kanban/SKILL.md
services/langy-agent/skills/github/SKILL.md
skills/_compiled/native/agent-best-practices/SKILL.md
skills/_compiled/native/agent-performance/SKILL.md
skills/_compiled/native/connect-agent/SKILL.md
skills/_compiled/native/context-sweet-spot/SKILL.md
skills/_compiled/native/datasets/SKILL.md
skills/_compiled/native/debug-instrumentation/SKILL.md
skills/_compiled/native/debug-with-langwatch/SKILL.md
skills/_compiled/native/drive-the-ui/SKILL.md
skills/_compiled/native/eval-triage/SKILL.md
skills/_compiled/native/evaluate-multimodal/SKILL.md
skills/_compiled/native/evaluations/SKILL.md
skills/_compiled/native/experiments/SKILL.md
skills/_compiled/native/generate-rag-dataset/SKILL.md
skills/_compiled/native/github/SKILL.md
skills/_compiled/native/level-up/SKILL.md
skills/_compiled/native/lwql-charts/SKILL.md
skills/_compiled/native/online-evaluations/SKILL.md
skills/_compiled/native/prompt-optimization/SKILL.md
skills/_compiled/native/prompts/SKILL.md
skills/_compiled/native/provider-cost-comparison/SKILL.md
skills/_compiled/native/scenarios/SKILL.md
skills/_compiled/native/setup-lw/SKILL.md
skills/_compiled/native/test-cli-usability/SKILL.md
skills/_compiled/native/test-compliance/SKILL.md
skills/_compiled/native/tracing/SKILL.md

Metadata

Files
0
Version
6f9d4a4
Hash
5d6d3d27
Indexed
2026-08-20 10:00

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-02 06:42
浙ICP备14020137号-1 $bản đồ khách truy cập$