用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tangle-network/traces --skill build-trace-analyst命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | build-trace-analyst |
| description | Write and calibrate a custom agent-eval trace analyst on real and labeled workflows. |
Implement one measurable finding that existing analysts do not provide.
buildDefaultAnalystRegistry().list() for batch analysts.
Check live analysts separately only for traces stream.Extend an existing analyst when it already emits the target with usable evidence.
Do not inspect bundled dist or node_modules.
Analyst, AnalystRegistry, TraceAnalysisStore, and makeFinding from @tangle-network/traces.getOverview; narrow with queryTraces, viewSpans, or searchTrace.context.signal through reads and model calls.analyst_id, area, subject, and id_basis values.trace://<trace-id>/span/<span-id>.cost.kind: 'deterministic' only without model calls.cost.kind: 'llm', use the injected chat client, budget, cancellation, and usage recording.buildDefaultAnalystRegistry() unless full replacement is intentional.Use the custom analyst and config examples rather than adding a wrapper.
pnpm tsx examples/custom-analyst.ts --fixture
pnpm tsx examples/custom-analyst.ts --good-fixture
traces improve --harness codex --current --latest-turn --workflow \
--config traces.config.mjs --dir .traces/custom-analyst
Inspect every finding and cited span.
Use runAnalystBenchmark with registryBenchmarkRunner from @tangle-network/agent-eval/analyst.
Use AgentRx or CodeTraceBench labels when they match the finding.
Compare the candidate with a no-findings baseline and relevant maintained or external analysts on identical cases and limits.
Two shipped engines are available as comparison arms.
--analyzer prime inlines the whole span projection into one prompt and needs no REPL.
--analyzer halo and --analyzer hodoscope drill into the trace with paged tools.
Compare an inline arm with a paged arm to separate the prompt from the navigation.
traces analyze --last 1 --analyzer prime
Assert the served model, not the requested id.
A gateway can answer one id with another model, so a panel can report families it never ran.
Use assertServedModel and assertCrossFamilyServed from @tangle-network/agent-eval before you trust a per-model or cross-family number.
Use at least 20 independent cases before comparative statistics. Retain every case row and report exact-step recall, precision, F1, root-step accuracy when labeled, citation coverage and validity, clean-case false positives, repeat agreement, failures, latency, calls, all token fields, and known or missing cost.
Do not claim quality from fixtures alone. Require a fresh task comparison before using findings to change an agent or knowledge base.
inspect-agent-traces to investigate a miss or false positive on its original workflow.calibrate-before-measure before trusting a new label set or scoring rule.