minimax skills: move to MiniMax-M3.1-Flash-Preview with effort levels

ask-minimax* run at effort max; wrapper-based skills document their
default effort (explore medium, ci-triage low, review max).
This commit is contained in:
Paul O'Reilly
2026-10-13 10:23:53 +13:00
parent 93a47bc0a5
commit 06cc36ca7a
6 changed files with 18 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ name: ask-minimax-with-context
description: > description: >
Walk CONTEXT.md and CLAUDE.md files from a folder up to the git root, assemble them into Walk CONTEXT.md and CLAUDE.md files from a folder up to the git root, assemble them into
a context bundle via shell redirects (contents never enter this session), then delegate a a context bundle via shell redirects (contents never enter this session), then delegate a
one-line question to MiniMax M3. Saves context and Anthropic tokens even for simple questions. one-line question to MiniMax M3.1-Flash. Saves context and Anthropic tokens even for simple questions.
Usage: /ask-minimax-with-context <folder-path> <question> Usage: /ask-minimax-with-context <folder-path> <question>
user_invocable: true user_invocable: true
allowed-tools: Read, Write, Bash(ask-minimax-run *), Bash(date *), Bash(rm -f *), Bash(test *), Bash(pwd), Bash(bash *) allowed-tools: Read, Write, Bash(ask-minimax-run *), Bash(date *), Bash(rm -f *), Bash(test *), Bash(pwd), Bash(bash *)
@@ -145,7 +145,7 @@ Substitute `TS` with the actual timestamp integer before running:
```bash ```bash
ask-minimax-run \ ask-minimax-run \
--model MiniMax-M3 \ --model MiniMax-M3.1-Flash-Preview --effort max \
--allowedTools "Read,Write" \ --allowedTools "Read,Write" \
--dangerously-skip-permissions \ --dangerously-skip-permissions \
-p "$(cat /tmp/ask-minimax-TS-prompt.txt)" \ -p "$(cat /tmp/ask-minimax-TS-prompt.txt)" \

View File

@@ -1,7 +1,7 @@
--- ---
name: ask-minimax name: ask-minimax
description: > description: >
Delegate a file-heavy task to a MiniMax M3 sub-session. The sub-session reads and Delegate a file-heavy task to a MiniMax M3.1-Flash sub-session. The sub-session reads and
writes files directly; only a concise result returns to this session. Saves context and writes files directly; only a concise result returns to this session. Saves context and
Anthropic tokens. Pass a task description as arguments, or run without args to be prompted. Anthropic tokens. Pass a task description as arguments, or run without args to be prompted.
user_invocable: true user_invocable: true
@@ -12,7 +12,7 @@ allowed-tools: Read, Write, Bash(ask-minimax-run *), Bash(date *), Bash(rm -f *)
# /ask-minimax Skill # /ask-minimax Skill
Offload a file-heavy task to a MiniMax M3 sub-session. Large file contents stay out of this session — only the task prompt and a concise result summary flow back. Offload a file-heavy task to a MiniMax M3.1-Flash sub-session. Large file contents stay out of this session — only the task prompt and a concise result summary flow back.
## Pre-gathered context ## Pre-gathered context
@@ -91,7 +91,7 @@ Execute via Bash (substitute `<TS>` with the actual value):
```bash ```bash
ask-minimax-run \ ask-minimax-run \
--model MiniMax-M3 \ --model MiniMax-M3.1-Flash-Preview --effort max \
--allowedTools "Read,Write,Edit,Glob,Grep" \ --allowedTools "Read,Write,Edit,Glob,Grep" \
--permission-mode acceptEdits \ --permission-mode acceptEdits \
-p "$(cat /tmp/ask-minimax-<TS>-prompt.txt)" \ -p "$(cat /tmp/ask-minimax-<TS>-prompt.txt)" \

View File

@@ -1,7 +1,7 @@
--- ---
name: ci-triage-minimax name: ci-triage-minimax
description: > description: >
Delegate triage of a failing Gitea Actions run to a MiniMax M3 sub-session. Delegate triage of a failing Gitea Actions run to a MiniMax M3.1-Flash sub-session.
The run's logs are fetched via gitea-agent-companion and analysed in MiniMax; The run's logs are fetched via gitea-agent-companion and analysed in MiniMax;
a short triage file (failing step, error excerpt, probable cause) returns. a short triage file (failing step, error excerpt, probable cause) returns.
Saves Anthropic tokens on long CI logs. Pass "owner/repo [run-number]" as Saves Anthropic tokens on long CI logs. Pass "owner/repo [run-number]" as
@@ -14,7 +14,9 @@ allowed-tools: Read, Write, Bash(ci-triage-minimax-run *), Bash(gitea-agent-comp
# /ci-triage-minimax Skill # /ci-triage-minimax Skill
Offload CI failure triage to MiniMax M3. All mechanics (gac log fetch with the token boundary inside gac, credential redaction, read-only-except-triage-file enforcement, retries, result gate) live in the `ci-triage-minimax-run` wrapper — this skill picks the run and interprets the triage. Offload CI failure triage to MiniMax M3.1-Flash. All mechanics (gac log fetch with the token boundary inside gac, credential redaction, read-only-except-triage-file enforcement, retries, result gate) live in the `ci-triage-minimax-run` wrapper — this skill picks the run and interprets the triage.
Model: MiniMax-M3.1-Flash-Preview at `--effort low` (wrapper default). Pass `--effort low|medium|high|xhigh|max` to change depth, or `--m3` to fall back to MiniMax-M3.
Canonical placement: after `gac tail <owner/repo> --until run-complete` exits 1 (run failed). Canonical placement: after `gac tail <owner/repo> --until run-complete` exits 1 (run failed).

View File

@@ -2,7 +2,7 @@
name: explore-minimax name: explore-minimax
description: > description: >
Delegate a broad read-only codebase exploration ("where does X live", "how is Y wired up", Delegate a broad read-only codebase exploration ("where does X live", "how is Y wired up",
"find all places that Z") to a MiniMax M3 sub-session instead of an Anthropic Explore agent. "find all places that Z") to a MiniMax M3.1-Flash sub-session instead of an Anthropic Explore agent.
The sweep runs in MiniMax; only a cited conclusion returns. Saves Anthropic tokens on The sweep runs in MiniMax; only a cited conclusion returns. Saves Anthropic tokens on
bulk exploration. Pass the question as arguments, or run without args to be prompted. bulk exploration. Pass the question as arguments, or run without args to be prompted.
user_invocable: true user_invocable: true
@@ -13,7 +13,9 @@ allowed-tools: Read, Write, Bash(explore-minimax-run *), Bash(date *), Bash(rm -
# /explore-minimax Skill # /explore-minimax Skill
Offload a broad read-only exploration sweep to MiniMax M3. All mechanics (root scoping, read-only enforcement, secrets refusal, retries, citation gate) live in the `explore-minimax-run` wrapper script — this skill only builds the question and interprets the result. Offload a broad read-only exploration sweep to MiniMax M3.1-Flash. All mechanics (root scoping, read-only enforcement, secrets refusal, retries, citation gate) live in the `explore-minimax-run` wrapper script — this skill only builds the question and interprets the result.
Model: MiniMax-M3.1-Flash-Preview at `--effort medium` (wrapper default). Pass `--effort low|medium|high|xhigh|max` to change depth, or `--m3` to fall back to MiniMax-M3.
## Pre-gathered context ## Pre-gathered context

View File

@@ -46,7 +46,7 @@ runs discovery first and decides the entry stage from what exists.
| Role | Who | Never does | | Role | Who | Never does |
|---|---|---| |---|---|---|
| Supervisor | this session | write tests or code MiniMax should write; skip a gate | | Supervisor | this session | write tests or code MiniMax should write; skip a gate |
| Verifier / reviewer | MiniMax M3 via `review-loop-run launch` (detached) | modify repo files | | Verifier / reviewer | MiniMax M3.1-Flash via `review-loop-run launch` (detached) | modify repo files |
| Test author | Sonnet subagent (`Agent`, model sonnet) | touch spec/, controlplane/, lib/ | | Test author | Sonnet subagent (`Agent`, model sonnet) | touch spec/, controlplane/, lib/ |
| Coder | MiniMax via `mm-worktree-task` in its own git worktree | touch tests/ or spec/ | | Coder | MiniMax via `mm-worktree-task` in its own git worktree | touch tests/ or spec/ |

View File

@@ -2,7 +2,7 @@
name: review-minimax name: review-minimax
description: > description: >
Delegate a first-pass code review of a git branch (typically an agent-produced Delegate a first-pass code review of a git branch (typically an agent-produced
worktree branch from mm-worktree-task, ralph, or a container agent) to a MiniMax M3 worktree branch from mm-worktree-task, ralph, or a container agent) to a MiniMax M3.1-Flash
sub-session. The diff reads cost MiniMax tokens; a findings file returns for sub-session. The diff reads cost MiniMax tokens; a findings file returns for
adjudication. Pre-filter before /code-review, not a replacement. Pass a worktree adjudication. Pre-filter before /code-review, not a replacement. Pass a worktree
path as arguments, or run without args to be prompted. path as arguments, or run without args to be prompted.
@@ -14,7 +14,9 @@ allowed-tools: Read, Write, Bash(review-minimax-run *), Bash(date *), Bash(rm -f
# /review-minimax Skill # /review-minimax Skill
Offload a first-pass branch review to MiniMax M3. All mechanics (diff materialisation, secrets/credential gates, read-only-except-findings enforcement, retries, result gate) live in the `review-minimax-run` wrapper script — this skill only points it at a worktree and adjudicates the findings. Offload a first-pass branch review to MiniMax M3.1-Flash. All mechanics (diff materialisation, secrets/credential gates, read-only-except-findings enforcement, retries, result gate) live in the `review-minimax-run` wrapper script — this skill only points it at a worktree and adjudicates the findings.
Model: MiniMax-M3.1-Flash-Preview at `--effort max` (wrapper default). Pass `--effort low|medium|high|xhigh|max` to change depth, or `--m3` to fall back to MiniMax-M3.
## Pre-gathered context ## Pre-gathered context