trajectory-review — скилл для Claude Code: установка
Скилл trajectory-review для Claude Code разбирает путь агента от запроса до результата. Срабатывает после сбоя, завершённой задачи или смены результата eval.
MIT ★ 741 обновлён 2026-11-11
/plugin marketplace add MiniMax-AI/mcode-stack
/plugin install ronny@mcode-stackЧто делает trajectory-review
trajectory-review восстанавливает ход работы агента по транскрипту сессии, журналу вызовов инструментов или eval trace. Для каждого шага фиксируются цель, аргументы инструмента, полученный ответ и следующее решение. Затем отмечаются непроверенные предположения, обходные пути, неверные инструменты, лишние запросы, пропущенные ошибки и нарушения прежних ограничений.
Скилл ищет первый ошибочный шаг в провале или самый рискованный шаг в успешном запуске. Находки связываются с исправлениями для prompt, harness или project rules, а разовые странности не превращаются в общие правила. Без фактической записи запуска разбор не выполняется. Изменение проверяется через harness-experiment: задачу запускают несколько раз и сравнивают траектории, а не только итог.
Какие задачи решает
- восстановить последовательность действий агента по журналу запуска
- найти первое решение, после которого задача пошла к провалу
- отделить проверенные факты от предположений агента
- сократить повторные вызовы инструментов и лишние обходы
- связать ошибку с правкой prompt, harness или project rules
Примеры запросов агенту
- Разбери последний запуск по транскрипту и отметь непроверенные предположения.
- Составь краткую временную шкалу: цель шага, вызов инструмента, ответ и следующее решение.
- Найди самый рискованный шаг в успешном eval и предложи проверку через
harness-experiment.
Как установить trajectory-review
1Через маркетплейс плагинов
/plugin marketplace add MiniMax-AI/mcode-stack/plugin install ronny@mcode-stackКоманда ставит плагин ronny целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add MiniMax-AI/mcode-stack --skill trajectory-review -a claude-code3Вручную: положить файлы
~/.claude/skills/trajectory-review/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/trajectory-review/
1Через Skills CLI (Vercel)
npx skills add MiniMax-AI/mcode-stack --skill trajectory-review -a codex2Вручную: положить файлы
.agents/skills/trajectory-review/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add MiniMax-AI/mcode-stack --skill trajectory-review -a cursor2Вручную: положить файлы
.cursor/skills/trajectory-review/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install MiniMax-AI/mcode-stack stacks/ronny/skills/trajectory-review2Вручную: положить файлы
.github/skills/trajectory-review/SKILL.md1Через Skills CLI (Vercel)
npx skills add MiniMax-AI/mcode-stack --skill trajectory-review -a gemini-cli2Командой платформы
gemini skills install https://github.com/MiniMax-AI/mcode-stack --path stacks/ronny/skills/trajectory-reviewВручную: положить файлы
.devin/skills/trajectory-review/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о trajectory-review
Как установить trajectory-review в Claude Code?
Добавьте маркетплейс командой /plugin marketplace add MiniMax-AI/mcode-stack, затем установите плагин командой /plugin install ronny@mcode-stack.
Что делает trajectory-review?
Скилл разбирает фактический путь агента: вызовы инструментов, обходы, предположения, пропущенные сигналы и дрейф инструкций. После этого он связывает найденные проблемы с конкретными изменениями в prompt, harness или правилах проекта.
Что нужно для работы trajectory-review?
Нужна запись запуска: транскрипт сессии, журнал вызовов инструментов или eval trace. Для проверки исправлений используется harness-experiment; также фиксируются модель, настройки и состояние репозитория.
Исходный текст
SKILL.md · MIT
---
name: trajectory-review
description: Review how an agent reached its result, not only whether the result passed, covering tools called, detours, unverified assumptions and wasted round trips, and turn the findings into concrete harness or prompt fixes. Use after an agent task finishes or fails, when an eval task flips, or when asked to look at the process behind a result.
---
# Trajectory Review
A passing result can hide a fragile process: an assumption that happened to
hold, a lucky retry, ten round trips where two would do. A failing result
usually has its cause several steps before the error. Review the path, not
only the end point.
## 1. Get the real trajectory
Use the actual record of the run: the session transcript, tool-call log, or
eval trace. Note the model, settings and repository state. Do not reconstruct
the run from memory.
## 2. Walk it step by step
Build a compact timeline. For each step: what the agent intended, which tool
it called with which key arguments, what came back, and what it decided next.
While walking, mark:
- **Unverified assumptions.** The agent states or acts on something it never
checked ("callers already validate this", "the test passes").
- **Detours.** Loops, repeated searches with changing keywords, re-reading the
same file, retries without a change in approach.
- **Wrong tool or wrong arguments.** Including tools it could not find.
- **Context waste.** Large outputs pulled in and never used, polling instead of
waiting for a notification.
- **Missed signals.** Errors, warnings or test failures it saw and ignored.
- **Instruction drift.** Earlier constraints it later broke, often after
compaction.
## 3. Find the first point where it went wrong
For a failure, find the earliest step after which success became unlikely.
For a pass, find the riskiest step: where a slightly different input would
have broken it.
## 4. Turn findings into fixes
Map each finding to the cheapest durable fix:
| Finding | Typical fix |
| --- | --- |
| Assumption never checked | A verification step in a skill or project rules |
| Could not find or picked the wrong tool | Tool description, naming or grouping (see `tool-budget-audit`) |
| Lost an earlier constraint | Write it into a file the agent reloads (see `long-session-check`) |
| Polling or waiting idle | Background tasks with notification (see `long-command-check`) |
| Repeated per-turn overhead | Context injection review (see `context-tax-audit`) |
| Model limitation | Record it; re-check after the next model upgrade |
Keep one-off quirks out of project-wide rules. Only propose a rule for
something that has happened more than once or caused real damage.
## 5. Confirm
A fix is a harness change, so check it with `harness-experiment`: rerun the
same task several times and compare the trajectory, not only the outcome.
## Output
The compact timeline with marked steps, the first wrong (or riskiest) step,
and a short list of proposed fixes, each tied to a specific step.
© Ronny (MiniMax Code team) · MIT · MiniMax-AI/mcode-stack