Skip to content
Back to skills

Minimax

ASecurity

Run PR automation jobs with the MiniMax API provider.

  • 6 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 26, 2026
toolsbashtestingapidocumentation

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill minimax --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimax?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimax
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-minimax/badge)](https://www.skillsdirectory.com/skills/jleechanorg-minimax)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minimax
description: Run PR automation jobs with the MiniMax API provider.
---

# 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:
```bash
<pr-automation-cmd> --fixpr --max-prs 10 --cli-agent minimax
```

Run fix-comment with minimax:
```bash
<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:

- **Binary**: Uses `claude` CLI binary
- **Auth**: Sets `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_BASE_URL` for MiniMax proxy
- **Model**: MiniMax-M3.1-Flash

## Environment Variables

The automation automatically sets these from `MINIMAX_API_KEY`:
```bash
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:
```bash
# 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"**:
- This is a configuration/preflight check defect for this configured Claude profile: in this environment setup, there is no standalone `minimax` binary; MiniMax automation uses the `claude` CLI binary configured with MiniMax API environment variables.
- Ensure the `claude` CLI binary is installed and on PATH, and ensure the automation wrapper maps MiniMax invocations to `claude`.
- Do not bypass validation; verify `claude` and the environment mapping instead.

**API errors**:
- Check presence without printing the value: `test -n "${MINIMAX_API_KEY:-}" && echo "MINIMAX_API_KEY is set"`
- Check orchestration package is up to date: `pip show <automation-package>` (the package that provides `<pr-automation-cmd>`)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.