trajectory-review

Analyze agent decision paths to identify process fragility, unverified assumptions, and inefficient tool usage.

554|41|Updated Oct 28, 2026
Ready to run
npx skills add https://github.com/MiniMax-AI/mcode-stack --skill trajectory-review-minimax-ai
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: trajectory-review
Source: https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/ronny/skills/trajectory-review
Command: npx skills add https://github.com/MiniMax-AI/mcode-stack --skill trajectory-review-minimax-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent tasks often pass despite fragile processes: lucky retries, unverified assumptions, or unnecessary round trips. Trajectory Review examines how an agent reached its result—not just whether it succeeded—to uncover and fix structural weaknesses before they cause failures in production. ## Core Features & Use Cases - Process Auditing: Walk step-by-step through agent execution to identify unverified assumptions, detours, wrong tool choices, and missed error signals. - Trajectory Mapping: Build compact timelines marking intent, tool calls, outputs, and decision points for clear before-and-after analysis. - Actionable Fixes: Convert findings into concrete prompt improvements, harness changes, or project rules that prevent recurrence. - Use Case: An eval task that passed with the wrong model settings or a complex workflow that succeeded due to a lucky retry. Use this Skill to trace the actual execution path, identify the riskiest step, and propose fixes validated with harness-experiment. ## Quick Start Review the session transcript or tool-call log of a completed task, walk through each step marking assumptions and detours, identify the earliest point where success became unlikely, and generate fixes tied to specific problematic steps.

Frequently Asked Questions about trajectory-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze an agent's execution to find what went wrong?▼

Use the actual execution record—session transcript or tool-call log—not memory. Build a step-by-step timeline documenting what the agent intended, which tool it called with which arguments, what returned, and what it decided next. Mark unverified assumptions, detours, wrong tools, and missed error signals at each step.

What counts as an unverified assumption in an agent trajectory?▼

An unverified assumption is something the agent stated or acted on without checking: 'callers already validate this input', 'the test passes', or 'this library supports that feature'. These are fragile points where a slightly different condition would break the process.

How do I turn trajectory findings into fixes?▼

Map each finding to the cheapest durable fix: add verification steps in skills or project rules for unchecked assumptions, improve tool descriptions for selection failures, write constraints to files for instruction drift, or implement background tasks with notifications for polling issues.

What is the difference between a detour and a legitimate retry?▼

A detour is repeated searching with changing keywords, re-reading the same file, or loops without a change in approach. A legitimate retry changes the approach based on new information. Detours waste context and signal an unclear problem model.

When should I use trajectory-review instead of just checking if the result is correct?▼

Use trajectory-review when results pass but seem fragile, when eval tasks flip unexpectedly, or when failures trace back several steps. A passing result can hide a process that will fail under slightly different conditions; trajectory analysis catches those before they reach production.