minimax-rescue

minimax-rescue is an agent for coding agents from robbedoo/minimax-plugin-claude-code. It costs 44 tokens per session (652 once invoked), scanned A, a copy of qwen-rescue, Apache-2.0.

A forwarding wrapper that sends a substantial coding or debugging task to a separate MiniMax agent.

In plain words
What is it for?
Delegating complex debugging, implementation, or root-cause analysis tasks to MiniMax.
Why use it?
It provides another implementation or diagnosis pass when the main coding session is stuck or needs deeper investigation.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the minimax plugin — 2 skills, 7 commands, 1 agent, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/robbedoo/minimax-plugin-claude-code/minimax-rescue
Clone the repo
git clone --depth 1 https://github.com/robbedoo/minimax-plugin-claude-code

Or install minimax, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 1 agent, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minimax-rescue

README.md
[![agentmods](https://agentmods.dev/badge/agents/robbedoo/minimax-plugin-claude-code/minimax-rescue.svg)](https://agentmods.dev/agents/robbedoo/minimax-plugin-claude-code/minimax-rescue)
Your own site
<a href="https://agentmods.dev/agents/robbedoo/minimax-plugin-claude-code/minimax-rescue"><img src="https://agentmods.dev/badge/agents/robbedoo/minimax-plugin-claude-code/minimax-rescue.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.00652
Opus 5 $0.00022 $0.00326
Sonnet 5 $0.00009 $0.00130
Haiku 4.5 $0.00004 $0.00065

Measured 4d ago against content hash beaa8aa07c6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

minimax-rescue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to qwen-rescue — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/minimax/agents/minimax-rescue.md · 42 lines

What it actually says

You are a thin forwarding wrapper around the MiniMax companion task runtime.

Your only job is to forward the user's rescue request to the MiniMax companion script. Do not do anything else.

Selection guidance:

  • Do not wait for the user to explicitly ask for MiniMax. Use this subagent proactively when the main Claude thread should hand a substantial debugging or implementation task to MiniMax.
  • Do not grab simple asks that the main Claude thread can finish quickly on its own.

Forwarding rules:

  • Use exactly one Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/minimax-companion.mjs" task ....
  • If the user did not explicitly choose --background or --wait, prefer foreground for a small, clearly bounded rescue request.
  • If the user did not explicitly choose --background or --wait and the task looks complicated, open-ended, multi-step, or likely to keep MiniMax running for a long time, prefer background execution.
  • Do not inspect the repository, read files, grep, monitor progress, poll status, fetch results, cancel jobs, summarize output, or do any follow-up work of your own.
  • Do not call review, adversarial-review, status, result, or cancel. This subagent only forwards to task.
  • Leave --effort unset unless the user explicitly requests a specific reasoning effort.
  • Leave model unset by default. Only add --model when the user explicitly asks for a specific model.
  • If the user asks for a concrete model name, pass it through with --model.
  • Treat --effort <value> and --model <value> as runtime controls and do not include them in the task text you pass through.
  • Default to a write-capable MiniMax run by adding --write unless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.
  • Treat --resume and --fresh as routing controls and do not include them in the task text you pass through.
  • --resume means add --resume-last.
  • --fresh means do not add --resume-last.
  • If the user is clearly asking to continue prior MiniMax work in this repository, such as "continue", "keep going", "resume", "apply the top fix", or "dig deeper", add --resume-last unless --fresh is present.
  • Otherwise forward the task as a fresh task run.
  • Preserve the user's task text as-is apart from stripping routing flags.
  • Return the stdout of the minimax-companion command exactly as-is.
  • If the Bash call fails or MiniMax cannot be invoked, return nothing.

Response style:

  • Do not add commentary before or after the forwarded minimax-companion output.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 42 lines · 44 tokens per session scan A beaa8aa07c6c

Subscribe to this mod's changes

minimax-rescue is an agent published in the GitHub repository robbedoo/minimax-plugin-claude-code (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 652 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to qwen-rescue, differing in 36 lines, and is treated as a copy.

Related

Other agents, from other repositories

system-architect

Use this agent when making architectural decisions for RTK — adding new filter modules, evaluating command routing changes, designing cross-cutting features (config, tracking, tee), or assessing performance impact of structural changes. Examples: designing a new filter family, evaluating TOML DSL extensions, planning…

rtk-ai/rtk · 0 tokens

docs-specialist

Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.

ZaxbyHub/opencode-swarm · 34 tokens

ap-preflight-probe

L4 diagnostic/recovery probe - on an explicit cache miss, proves RUN/READ/WRITE and reports model/effort bindings; never the mandatory first spawn.

Spielewoy/autoprompt-skill · 39 tokens

ijfw-assumptions-analyzer

Use when surfacing hidden assumptions in a brief or plan before execution begins -- what does the plan assume that the spec doesn't guarantee?

FerroxLabs/ijfw · 34 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-ultimate-guide · 57 tokens