minimax-code-trajectory
Inspect or visualize privacy-aware timelines for local MiniMax Code sessions. Use when the user asks to show, draw, open, review, or diagnose a task…
by MiniMax-AI★ 30 GitHub stars
Install minimax-code-trajectory in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
MiniMax Code Trajectory
Use the bundled read-only MCP tools to inspect MiniMax Code session ledgers. Do not search the filesystem manually when the tools can answer the request.
Workflow
- If the user asks to show, draw, open, or visualize a trajectory, call
show_minimax_trajectorywithdetailLevel: "summary"and a boundedmaxRecordsvalue. OmitsessionIdfor the latest readable session unless the user selected another session. - Read the exact
visualization.fileUrlfrom the tool result. If the MCode built-in Browser is available, call Browser with actionnavigateand pass that exact file URL. Do not use shell commands, an external browser, or a guessed path. After Browser succeeds, tell the user the interactive trajectory is open; do not dump the trajectory JSON into the conversation. - If Browser is unavailable, return the
visualization.fileUrlas the fallback and explain that the generated self-contained HTML can be opened in MCode Desktop. Do not claim it was opened. - If the user asks for analysis without a visual page, call
get_minimax_trajectoryinstead and report the event sequence, session state, failures, message/tool counts, compactions, token usage, and parser warnings that answer the question. - Distinguish observed ledger facts from inference. A missing event does not prove an action never happened outside the retained ledger.
Privacy boundary
- Use
summaryby default. It intentionally omits conversation text, thinking, tool arguments and results, titles, absolute paths, file identifiers, hashes, credentials, and raw records. - Use
detailLevel: "full"only after the user explicitly asks to inspect message content in this conversation. State that bounded redacted previews will enter the active conversation before the call. - Never claim
fullis a raw export. It still omits thinking, tool arguments/results, attachments, raw metadata, and absolute paths. - Do not ask for credentials or broaden the data directory. If the desired profile is not found,
tell the user to launch MiniMax Code with the matching
MINIMAX_DATA_DIRorMAVIS_DATA_DIR.
Failure handling
sessions_root_missing: the selected profile has no local-runtime v2 sessions yet, or the wrong data directory is active.session_not_found: list recent sessions and ask the user to choose an available ID.ledger_missing: the manifest still exists but its trajectory ledger has been removed; choose a session returned bylist_minimax_sessionsinstead.malformed_jsonl_line: report that a complete ledger record was corrupt; do not invent it.incomplete_tail_ignored: the session may still be writing; explain that the final partial record was ignored safely.oversized_jsonl_line: a record exceeded the 2 MiB safety cap and was omitted. Do not treat the returned trajectory as complete.symlink_artifact_rejected: stop. Do not follow or read the symlink target.
Output style
Lead with the result, then include the session ID, time range, high-signal event counts, failure or compaction facts, tool/token observations, and warnings. Keep raw JSON out of the answer unless the user explicitly requests it.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the minimax-code-trajectory skill do?
Inspect or visualize privacy-aware timelines for local MiniMax Code sessions. Use when the user asks to show, draw, open, review, or diagnose a task trajectory, summarize tool or token activity, inspect compaction or failure events, or compare recent session metadata without opening raw ledger files.
How do I install the minimax-code-trajectory skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the minimax-code-trajectory skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
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…