用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tangle-network/traces --skill inspect-agent-traces命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | inspect-agent-traces |
| description | Inspect real agent workflows with the published Traces CLI and export cited local findings. |
Use the deterministic CLI first. Keep inspection local and read-only.
If the trace is already OTLP (a system that emits @tangle-network/agent-trace-contract
spans, or any conforming exporter), read it directly. No adapter is involved.
traces validate spans.otlp.jsonl # what can this trace answer? exit 1 on error findings
traces analyze --otlp spans.otlp.jsonl --out .traces/current.md
traces analyze --otlp results/sessions --out .traces/all.md # a directory of exports
Use --harness only for coding agents whose on-disk format we do not control.
Those adapters are the legacy edge, not the way to integrate a system you own.
A run directory holds the span export beside raw event, stream and SDK logs that are
also *.jsonl. Only the OTLP files are read; the rest are listed with what they hold.
An otlp/ subdirectory, when present, is read on its own.
Any section headed inputs incomplete, or carrying an Inputs incomplete line above
its table, is computed from a field the trace does not carry everywhere. Report those
numbers as uncaptured, never as zero spend. The trace conformance section at the top
names every such capability once; the markers repeat it where the number actually is.
For a loop trace, read round-over-round convergence (did round N+1 improve on N) and
steering chain (which verdict caused which retry) before drawing any conclusion about
whether the agent was making progress.
traces --version
traces list --harness codex --cwd "$PWD"
traces analyze --harness codex --current --latest-turn --workflow \
--out .traces/current.md
--current for the active Codex session.--session <id-or-path> to pin a listed session.--latest-turn for the current task in a resumed Codex or Claude Code session.--workflow to include workers linked by stable parent and child IDs.--max-workflow-sessions <n> only when the default 100-file bound is insufficient.--harness claude-code --session <path> --latest-turn; nested subagents are included.Never join agents by display name or timestamp when Traces reports missing or conflicting IDs.
Write normalized OpenInference spans for another tool:
traces convert --harness codex --current --latest-turn --workflow \
--otlp-out .traces/current.otlp.jsonl
Write the complete deterministic review packet:
traces improve --harness codex --current --latest-turn --workflow \
--dir .traces/improvement
improve writes findings, evidence, a report, and spans.
It does not edit an agent, repository, memory store, or knowledge base.
Write one session's durable evidence directory for a later reader:
traces bundle --harness claude-code --session <id-or-path> --out .traces/bundle
bundle copies the transcript, the derived report and spans, the .evolve ledger rows inside the session window, and a manifest.json with a SHA-256 per file.
It spends no model call.
A missing transcript stops the assembly.
An absent optional input is recorded in manifest.absent with the probed path.
That bundle is the FULL view (manifest.view: "full"), and it holds the whole session transcript.
Never give it to a writer that must not see an earlier conclusion: the transcript holds the text of every file the session wrote, so a check for the earlier report FILE passes while its CONTENT is still readable.
Project the writer's copy instead:
traces bundle-view .traces/bundle --view evidence-only --out .traces/writer
That view carries derived/session-index.json, derived/evidence.jsonl, and the structured ledger/ records.
It excludes the transcripts, the report, the spans, and every prose ledger file by name, with rules and hashes in manifest.excluded.
Before writing, it compares each carried file against each excluded file for shared 8-word runs of prose, and drops any file that repeats one.
manifest.view names which copy you hold.
--otlp <path> or the harness), selected task boundary, session and span counts, and integrity warnings.trace:// reference.SKILL.md.build-trace-analyst when deterministic findings cannot answer a repeated trace question.autopsy when the result is empty, surprising, or suspiciously strong.