Minimax

From jleechanorg/claude-commands · View interactive version

Minimax is an AI agent skill from the GitHub repository jleechanorg/claude-commands. Run PR automation jobs with the MiniMax API provider.

How to use this skill

Skill file

MiniMax Automation Runner

Usage: Run the installed PR automation package's jobs using the MiniMax API

provider. <pr-automation-cmd> below stands for that package's command; resolve

it from the package's own documentation or your scheduler entries

(see automation-run), not from this file.

Quick Start

Run fixpr automation with minimax:

<pr-automation-cmd> --fixpr --max-prs 10 --cli-agent minimax

Run fix-comment with minimax:

<pr-automation-cmd> --fix-comment --cli-agent minimax --max-prs 3

How MiniMax Works in Automation

The minimax CLI agent runs Claude Code with the MiniMax API endpoint:

Environment Variables

The automation automatically sets these from MINIMAX_API_KEY:

ANTHROPIC_AUTH_TOKEN="<MINIMAX_API_KEY>"
ANTHROPIC_API_KEY="<MINIMAX_API_KEY>"
ANTHROPIC_BASE_URL="https://api.minimax.io/anthropic"
ANTHROPIC_MODEL="MiniMax-M3.1-Flash"
API_TIMEOUT_MS="3000000"
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"

Preflight Validation

If the CLI is missing, inspect the installed binary and PATH, then resolve the

missing dependency within the authorized task. Do not set TESTING=true to skip

preflight during a real automation run or count a skipped check as validation.

Cron Jobs Using MiniMax

Inspect your own scheduler for the live entries. A typical schedule looks like:

# Fix-comment every hour at :45
45 * * * * <pr-automation-cmd> --fix-comment --cli-agent minimax --max-prs 3

# Fixpr every 30 minutes
*/30 * * * * <pr-automation-cmd> --fixpr --max-prs 10 --cli-agent minimax

Troubleshooting

Preflight fails with "minimax binary not found":

API errors:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.