Local MiniMax-powered coding agent using the mmx CLI for direct single-file edits and multi-file autonomous work. Use when delegating coding tasks to MiniMax models.
Ships in delegate-team-minimax-coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Local MiniMax-powered coding agent. Sibling to
vertex-coderinsidedelegate-team/. Mirrors vertex-coder's structure (direct mode + interactive mode + tools registry) but uses the officialmmxCLI for all API transport. This means:
- No Python SDK dependencies — just
mmxon PATH (onenpm installaway)- Auth handled by
mmx— no key management in our Python code- You (Apeiron, M3) are the orchestrator — this skill provides the scripts, but you can also call
mmx text chatdirectly via bash for fast ad-hoc sub-agent workThe "boss and director" pattern: Apeiron on M3 calls MiniMax models as sub-agents — M2.7-highspeed for fast isolated work, M3 itself for hard problems with fresh context.
minimax_direct_coder.py reads a file, sends it to a MiniMax model
via mmx text chat, extracts the markdown code block, writes it back.minimax_interactive_agent.py runs a multi-turn tool-use loop
with mmx, where the model can read files, grep, run commands, install deps, persist memory.mmx CLI itself is available to Apeiron via bash for ad-hoc
calls. The Python scripts here wrap common patterns but aren't required.mmx text chat call.vertex-coder (different model family — Gemini vs MiniMax).delegate-team dt CLI for cross-backend dispatch).mmx text chat directly — when you need a one-off query, just run
mmx text chat --model MiniMax-M3 --message "..." without involving this skill's scripts.User task
↓
Apeiron (MiniMax-M3) — orchestrator + boss
↓
├─ Direct call: mmx text chat --model M3 --message "..." (fast, ad-hoc)
├─ Direct coder: minimax_direct_coder.py <file> <prompt> (file → code → file)
└─ Interactive: minimax_interactive_agent.py <prompt> (multi-turn + tools)
↓
mmx CLI (handles auth, region, API)
↓
https://api.minimax.io (Token Plan API)
↓
MiniMax-M3 / MiniMax-M2.7 / MiniMax-M2.7-highspeed
| Model | Description | Best for |
|---|---|---|
MiniMax-M3 | Flagship (Apeiron's own runtime), 450K context, multimodal, switchable thinking | Default heavy reasoning, complex tasks |
MiniMax-M2.7 | Previous generation, 200K context, forced thinking | Mature reasoning, good quality/cost balance |
MiniMax-M2.7-highspeed | M2.7 optimized for speed, 200K context | Fast isolated sub-tasks, batch processing |
All three are whitelisted in ~/.minimax/config.yaml (confirmed by inspect_settings.py).
# Install mmx CLI globally
npm install -g mmx-cli
# Authenticate with your MiniMax Token Plan API key
mmx auth login --api-key sk-xxxxx
# Verify
mmx quota
# Direct mode (single file)
python3 minimax_direct_coder.py src/api/auth.ts "Add JWT validation middleware" MiniMax-M3
# Interactive mode (multi-file autonomous with tool use)
python3 minimax_interactive_agent.py "Implement OAuth2 PKCE flow" MiniMax-M3 --skills test-driven-development
# Direct mmx call (fast, ad-hoc — Apeiron can use this without the Python wrapper)
mmx text chat --model MiniMax-M2.7-highspeed --message "Explain async/await in 3 sentences"
mmx text chat --model MiniMax-M3 --system "You are a code reviewer" --message "Review this diff: ..."
# Read prompt from stdin
echo "Refactor for clarity" | python3 minimax_direct_coder.py src/utils.ts - MiniMax-M2.7-highspeed
Apeiron on M3 keeps the high-level conversation. For a fast isolated subtask, spawn M2.7-highspeed.
# M3 delegates a quick refactor to M2.7-highspeed while M3 keeps thinking
python3 minimax_direct_coder.py src/refactor-target.ts "Apply this exact change..." MiniMax-M2.7-highspeed
Use when you want a hard problem tackled without cluttering the main Apeiron session.
python3 minimax_interactive_agent.py "Solve this hard concurrency bug" MiniMax-M3 --max-turns 20
Pair minimax-coder with vertex-coder for a second opinion from a different model family.
# MiniMax opinion
python3 minimax_direct_coder.py src/critical.ts "Review for race conditions" MiniMax-M3 > review-minimax.txt
# Gemini opinion
python3 ${DELEGATE_TEAM_ROOT}/vertex-coder/vertex_direct_coder.py src/critical.ts "Review for race conditions" gemini-3.1-pro > review-gemini.txt
# Diff
diff review-minimax.txt review-gemini.txt
When you just need a quick one-off — skip the Python layer entirely.
# Simple Q&A
mmx text chat --model MiniMax-M2.7-highspeed --message "What's the capital of France?"
# With system prompt and JSON output
mmx text chat --model MiniMax-M3 --system "You are a SQL expert. Reply with just SQL." --message "Write a query to find top 10 customers by revenue" --output json
# Multi-message conversation
mmx text chat --message "What is 2+2?" --message "assistant:4" --message "And 3+3?"
The interactive agent exposes 10 local tools via Anthropic tool-use API (mmx native):
| Tool | Purpose |
|---|---|
list_dir | List directory contents |
read_file | Read file contents |
write_file | Create/overwrite file (sparingly) |
line_replace | PREFERRED — surgical line-range replacement with ... keep markers |
grep_search | Regex search across workspace |
run_command | Bash execution (60s default, up to 300s) |
save_memory | Persist key/value to .agent_memory.json |
read_memories | Load all persisted memories |
list_global_skills | List installed skills (5 search paths) |
load_skill | Load a skill's full instructions into context |
Memory file: .agent_memory.json (same name as vertex-coder for parity).
| File | Purpose |
|---|---|
minimax_direct_coder.py | Single-file coder (analog of vertex_direct_coder.py) |
minimax_interactive_agent.py | Multi-file autonomous agent (analog of vertex_interactive_agent.py) |
tools_registry.py | Anthropic-format tool schemas + implementations |
list_models.py | Model listing |
inspect_settings.py | Health check (mmx CLI + auth + quota + memory) |
requirements.txt | No runtime deps (Python stdlib + mmx CLI only) |
SKILL.md | This file |
README.md | Same content as SKILL.md (for dt integration) |
When the expert-engineer skill is active, MiniMax Coder is invoked when:
The expert-engineer SKILL.md has a "Delegate heavy coding → /delegate-team" routing section that documents when to invoke minimax-coder vs aonios-agent vs vertex-coder.
Apeiron can also use mmx text chat directly — no need to invoke the Python scripts for one-off queries.
${DELEGATE_TEAM_ROOT}/vertex-coder/ — Gemini-based (same structure)${DELEGATE_TEAM_ROOT}/aonios-agent/ — Multi-CLI (codex + opencode)dt CLI at /opt/homebrew/bin/dt~/.apeiron/agents/apeiron/skills/expert-engineer/SKILL.md~/.minimax/config.yamlmmx auth login --api-key sk-xxxxx (no env var or .env needed)Last updated: 2026-06-30 — switched to mmx CLI transport (official, proven). Removed anthropic SDK dependency.
Maintained by: Mamdouh + Apeiron (collaboratively).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Jul 17, 2026
Other plugins' skills for the same job
/delegate-team-minimax-coder:minimax-coderfrom delegate-team-minimax-coder
npx claudepluginhub immamdouhaboammar/delegate-team --plugin delegate-team-minimax-coder