Command Palette

Search for a command to run...

Назад к скиллам
скилл № 60290

mcode-trajectory-studio

Inspect and visualize MiniMax Code session trajectories from the local runtime's read-only SQLite projection. Use when the user asks what happened in a…

БесплатноБез исполняемых скриптов
MiniMax-AIот MiniMax-AI★ 30 звёзд на GitHub

Установить mcode-trajectory-studio в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

MiniMax Code Trajectory Studio

Read-only trajectory inspection for local MiniMax Code sessions. The Plugin reads the runtime's own SQLite projection and never writes to session storage.

Pick the detail level first

Level Returns When
summary (default) roles, turn IDs, timings, token usage, tool names and statuses Any question about duration, cost, turns, failures, structure
full additionally message text, thinking, tool arguments, tool results Only after the user explicitly asks to see content

Never widen to full on your own. The user's session content is theirs; ask before returning it.

Tools

  1. trajectory_list — find a session. Returns metadata only, newest first. Filter by agent, kind, parentSessionId, or sinceMs. parentSessionId reaches the sub-agent sessions a session dispatched, and "root" gives the top-level ones. Every row carries parentSessionId, so you will often see a parent that has children and then want to look inside them — filter rather than paging the whole machine and picking them out, which on a busy machine is several calls over hundreds of rows to find what one call returns. It composes with agent and kind, so "the explore sub-agents of this session" is one call. An id that matches nothing returns an empty page; a blank or omitted one is no filter at all. agent is an exact, case-sensitive match against the agent names this machine actually used (Explore does not match a session stored as explore) — read the agents list on trajectory_list's reply ({name, count} entries) rather than guessing. It is not narrowed by the page's filters, so it is still complete on a reply whose sessions list is empty — which is what tells you a filter value was wrong rather than that the machine is quiet. Each count is how many sessions match that name under this reply's own includeArchived, so it is the total you get after filtering on it, not a machine-wide tally. Archived sessions are hidden unless you pass includeArchived: true. sinceMs is a lower bound; pair it with untilMs for a range, because "the session from March" is a range and a lower bound alone answers it with everything since March. Both take epoch milliseconds, and the exact shape is on every row: updatedAtMs is the same clock, so read the format off any reply rather than guessing it. To turn a calendar day into the pair, compute local midnight of that day and of the next one and pass them as sinceMs/untilMs — untilMs is inclusive, so the day's own sessions are inside the range rather than excluded by an off-by-one at midnight. total is how many sessions the filter matches, and nextCursor is how to reach the rest. A single page is a slice, not the machine: a busy one holds hundreds of sessions and the page holds
    1. When looking for an older session — "last week's", "the one where I touched the parser" — pass nextCursor back as cursor until it is null rather than concluding from page one that no such session exists. sinceMs cannot help here: it only moves the window forward. Do not page these tools by position. There is no offset argument, and the reason is not tidiness: the list is newest-first by the same column the runtime rewrites when it writes to a session, so a walk by row number silently drops any session that moves while you are walking and still reports that it finished. Hand back the cursor verbatim. Every page of one walk describes the same instant, walkPinnedAtMs, so total and the rows agree; a session written to after page one is newer than that instant, leaves both the rows and the count, and is found by starting the walk again. A cursor belongs to the walk that produced it — the same query and the same filters. Handing one back after changing agent, kind, parentSessionId, sinceMs, untilMs or includeArchived returns page one of the new question with a note saying so, rather than a page that looks like a continuation and is not. Changing limit is fine: it decides how much is carried, not which rows match.
  2. trajectory_summary — the dsh sessionStats equivalent for one session: turns, steps, llmMs, toolMs, decodeMs, thinkingMs, inputTokens/cacheReadTokens/totalTokens, toolCalls/toolFailures, compactions, subagentTasks, assets, and a sources breakdown. Omit sessionId for the most recently updated session. A non-zero unreadableRows means these totals describe fewer records than trajectory_get lists — say so if the two disagree. Check warnings before reading subagentTasks, backgroundTasks or assets: those are counts, so a total that could not be computed still arrives as 0, and the warning is what separates "none ran" from "not counted". toolMs is null only
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mcode-trajectory-studio?

Inspect and visualize MiniMax Code session trajectories from the local runtime's read-only SQLite projection. Use when the user asks what happened in a session, why a task was slow or expensive, how many turns or tool calls a run took, which tools failed, how much wall-clock time went to the model versus tools, where context was spent, when compaction ran, which sub-agents were dispatched, or wants an interactive timeline of a session. Trigger phrases include "轨迹", "trajectory", "这个会话花了多久", "为什么这么慢", "调用了哪些工具", "session 时长/轮次", "看看某个 session".

Как установить скилл mcode-trajectory-studio?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mcode-trajectory-studio запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mcode-trajectory-studio с