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★ 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
trajectory_list— find a session. Returns metadata only, newest first. Filter byagent,kind,parentSessionId, orsinceMs.parentSessionIdreaches the sub-agent sessions a session dispatched, and"root"gives the top-level ones. Every row carriesparentSessionId, 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 withagentandkind, 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.agentis an exact, case-sensitive match against the agent names this machine actually used (Exploredoes not match a session stored asexplore) — read theagentslist ontrajectory_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 whosesessionslist is empty — which is what tells you a filter value was wrong rather than that the machine is quiet. Eachcountis how many sessions match that name under this reply's ownincludeArchived, so it is thetotalyou get after filtering on it, not a machine-wide tally. Archived sessions are hidden unless you passincludeArchived: true.sinceMsis a lower bound; pair it withuntilMsfor 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:updatedAtMsis 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 assinceMs/untilMs—untilMsis inclusive, so the day's own sessions are inside the range rather than excluded by an off-by-one at midnight.totalis how many sessions the filter matches, andnextCursoris 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- When looking for an older session — "last week's", "the one where I touched the parser" — pass
nextCursorback ascursoruntil it isnullrather than concluding from page one that no such session exists.sinceMscannot help here: it only moves the window forward. Do not page these tools by position. There is nooffsetargument, 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, sototaland 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 changingagent,kind,parentSessionId,sinceMs,untilMsorincludeArchivedreturns page one of the new question with anotesaying so, rather than a page that looks like a continuation and is not. Changinglimitis fine: it decides how much is carried, not which rows match.
- When looking for an older session — "last week's", "the one where I touched the parser" — pass
trajectory_summary— the dshsessionStatsequivalent for one session:turns,steps,llmMs,toolMs,decodeMs,thinkingMs,inputTokens/cacheReadTokens/totalTokens,toolCalls/toolFailures,compactions,subagentTasks,assets, and asourcesbreakdown. OmitsessionIdfor the most recently updated session. A non-zerounreadableRowsmeans these totals describe fewer records thantrajectory_getlists — say so if the two disagree. Checkwarningsbefore readingsubagentTasks,backgroundTasksorassets: those are counts, so a total that could not be computed still arrives as0, and the warning is what separates "none ran" from "not counted".toolMsisnullonly
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…