Command Palette

Search for a command to run...

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

minimax-subagents

Delegate work to MiniMax subagents and tiered workers on the M Plan / Token Plan subscription, inline through MiniMax Code (`mcode exec`, default) or…

БесплатноЗапускает вложенные скрипты
Andersonlimahwот Andersonlimahw★ 19 звёзд на GitHub

Установить minimax-subagents в Claude Code и Claude Desktop

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

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

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

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

MiniMax Subagents (subscription, inline via MiniMax Code or OpenCode)

MiniMax runs on a flat subscription (M Plan / Token Plan: 5-hour rolling + weekly quota windows). Cost is quota, not dollars per token. Optimize for fewer input tokens per call and graceful fallback when a window closes.

mm-run executes every call through one of two backends; other harnesses call it inline with one shell command. No harness ever reads or prints a key.

Backend When Auth Input tokens / trivial call
mcode (default) MiniMax Code installed and logged in OAuth login, no key on disk ~14k
opencode --backend opencode, MM_BACKEND=opencode, mcode missing, or a non-mm_* agent minimax provider key in OpenCode ~7k (lean mm_* worker)

mcode exec adds --effort, --timeout, structured JSON usage and the managed model route. OpenCode wins on raw input tokens and on its MCP/plugin ecosystem.

Route table

Tier Model (minimax/…) Worker family Efforts Use for
budget MiniMax-M2.7-highspeed mm_fast_worker_<e> low · medium · high docs, comments, changelogs, boilerplate, mechanical tests, lint fixes
balanced MiniMax-M3 mm_m3_worker_<e> low · medium · high implementation, refactor, integration tests, 1M-context reads
quality MiniMax-M3.1-Flash-Preview mm_flash_worker_<e> low · medium · high · xhigh · max architecture, plans, root cause, multimodal, long-context reasoning
  • Only M3.1-Flash-Preview has tunable thinking depth (mcode --effort / OpenCode --variant). On M3 and M2.7 the effort is a budget contract only; mcode rejects --effort there, so mm-run never sends it.
  • M3.1-Flash-Preview is available only on the Token Plan (M Plan) and MiniMax Code. Source: https://platform.minimax.io/docs/guides/models-intro.
  • Safety floor: security audits, production incidents, destructive ops and legal/medical/financial work stay on the quality tier at high+ effort and get a review from a second model before merge.

Call it

mm-run is the single entry point (bin/mm-run → scripts/mm_run.py):

mm-run --tier quality --effort high -- "self-contained prompt"
mm-run --tier budget -- "write the CHANGELOG entry for <diff summary>"
mm-run --agent mm_m3_worker_medium --dir "$PWD" -f src/app.ts -- "refactor …"
git diff | mm-run --tier balanced -- -      # prompt from stdin
mm-run --backend opencode --tier budget -- "…"   # force OpenCode
mm-run --check                               # verify both backends + models

What mm-run does for you:

  1. Picks the backend (--backend > MM_BACKEND > auto = mcode when installed). --agent mm_<family>_worker_<effort> maps to the same model and effort on mcode; any other agent name runs on OpenCode.
  2. mcode: mcode exec --cwd <dir> --model minimax/<model> [--effort] --permission smart --output-format json (MM_MCODE_PERMISSION overrides the policy). Quality tier defaults to --effort high.
  3. OpenCode: --tier picks the installed lean worker and falls back to -m minimax/<model>. The default OpenCode agent ships every MCP tool schema: ~118k input tokens per call vs ~6.7k (measured 2026-10-03). Never pass --no-agent unless you need MCP tools.
  4. Strips <think> blocks from stdout (--thinking keeps them).
  5. Retries once on transient errors (UnknownError, 5xx, resets). In auto mode, an mcode failure that is not quota/timeout gets one retry on the OpenCode backend (sandbox denials, local locks, crashes).
  6. Caps concurrent MiniMax calls with a file-lock semaphore (MM_MAX_PARALLEL, default 3; Plus ≈3-4 agents, Max ≈4-5, Ultra ≈6-7).

Exit codes: 0 ok · 2 usage · 3 preflight · 75 quota window hit (stdout starts with ROUTE-FALLBACK:) · 124 timeout · 1 other.

124 with no output usually means OpenCode hung at start-up (init), most often a broken dependency install in the project's own .opencode/ dir. Run opencode run --print-logs -m minimax/MiniMax-M3 -- hi there to confirm, and keep --timeout on (default 1800 s, MM_TIMEOUT).

Per harness

Harness Cheapest path Parallel / background path
Claude Code Bash: mm-run --tier … -- "…" Agent tool → bridge mm_flash_worker_high (Haiku relay) or minimax-subagents:minimax-worker
OpenCode @mm_m3_worker_medium or the task tool inside a session opencode run --agent mm_flash_worker_max -- "…" (workers are mode: all)
Codex shell mm-run … outside the sandbox: approve the escalation, or run with the minimax profile below several mm-run calls in parallel; the semaphore keeps quota safe
Antigravity (Agy) shell mm-run … bridge agents symlinked into ~/.agy/agents
Gemini CLI `run_shell_comma
Полный SKILL.md на GitHub

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

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

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

Вложенные файлы

  • README.md
  • agents/minimax-worker.md
  • bin/mm-run
  • plugin.json
  • references/models.md
  • scripts/install.sh
  • scripts/mm_run.py

FAQ

Что делает скилл minimax-subagents?

Delegate work to MiniMax subagents and tiered workers on the M Plan / Token Plan subscription, inline through MiniMax Code (`mcode exec`, default) or OpenCode, from Claude Code, Codex, OpenCode, Antigravity (Agy) or Gemini CLI. Routes budget/balanced/quality tasks to MiniMax-M2.7-highspeed, MiniMax-M3 or MiniMax-M3.1-Flash-Preview with tunable thinking depth, via `mm-run` or the mm_fast/mm_m3/mm_flash workers. Use when the user asks to use MiniMax or mcode, offload coding/refactor/docs/long-context/multimodal work to a subscription model, run "opencode run -m minimax/...", or spread parallel workers without paying per token.

Как установить скилл minimax-subagents?

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

Скилл minimax-subagents запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить minimax-subagents с