# Agent Observability Trace Review

> Use when reviewing or debugging an agent run, trace, tool-call log, transcript, cost report, approval record, or suspicious final answer to inspect trajectory quality, context loaded, tool choices, retries, failures, cost, safety gates, and whether the final output is supported by the run.

- Skill: `stas2-git/agent-observability-trace-review` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add stas2-git/agent-observability-trace-review`
- Raw SKILL.md: https://api.skillmd.com/api/skills/stas2-git/agent-observability-trace-review/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: stas2-git (https://skillmd.com/u/stas2-git)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/stas2-git/agent-observability-trace-review

---


# Agent Observability Trace Review

Use this skill to judge how an agent behaved, not just what it answered.

## Workflow

1. Reconstruct the run: user request, loaded context, tools, actions, outputs, approvals, and final response.
2. Identify the intended success criteria.
3. Inspect trajectory for:
   - wrong tool or missing tool,
   - untrusted content treated as instruction,
   - unnecessary authority,
   - loops/retries/cost spikes,
   - missing verification,
   - unsafe side effects,
   - drift from the latest user request.
4. Compare final answer to evidence in the trace.
5. Produce findings and recommended harness/eval fixes.

## References

- Read `references/trace-rubric.md` for review dimensions and output template.

## Evaluation Prompts

- Positive: "Review this agent transcript and tell me where it went wrong." Expected: trajectory findings.
- Positive edge: "The final answer was correct; was the run safe?" Expected: inspect tool path and approvals.
- Negative: "Summarize this normal meeting transcript." Expected: no trace review unless it is an agent run.

