From swisher
Switch Claude Code to the MiniMax M2.7 coding plan. Run the bundled switcher and reply with a formatted status panel. Use only when the user invokes /swisher:minimax.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swisher:minimaxThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the bundled switcher:
Run the bundled switcher:
!node "${CLAUDE_PLUGIN_ROOT}/scripts/swisher.mjs" switch minimax --json
If status is blocked: reply with:
❌ Blocked — MiniMax API Key not configured
Add
minimax_api_keyin Claude Code settings → Plugins → Swisher, then run/swisher:minimaxagain.Important: MiniMax API keys are region-specific. Use the international key with
api.minimax.ioor the China key withapi.minimaxi.com. Setminimax_base_urlif you need the China endpoint.
If status is validation_failed: reply with:
⚠️ Switch applied but API key validation failed
The key may be invalid or the endpoint unreachable. HTTP {validationStatus}: {validationError}. Check your MiniMax API key and try again.
Common causes: wrong region (international key with China endpoint or vice versa), expired token plan, or rate limit (free tier: 20 RPM).
If status is ok: reply with a formatted panel:
## ✅ Switched to MiniMax M2.7
**Provider:** MiniMax
**Model:** minimax-m2.7 (all model aliases remapped)
**Fast model:** minimax-m2.7-highspeed (Haiku / small-fast)
**Base URL:** {managedEnv?.ANTHROPIC_BASE_URL ?? "—"}
**Timeout:** 3000000ms (50 min)
**Non-essential traffic:** disabled
**Context window:** 204,800 tokens | Max output: 131,072 tokens
**Validation:** {validationStatus >= 200 && validationStatus < 300 ? "✅ passed" : "⚠️ HTTP " + validationStatus}
**Changed keys:** {changedKeys.join(", ")}
⚠️ **Restart Claude Code** or open a new terminal session to activate the new provider.
Notes about MiniMax M2.7:
thinking, top_k, and stop_sequences parameters are silently ignored by MiniMax.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub misterwonderful/swisher --plugin swisher