MiniMax PR 自动化任务
minimax
使用 MiniMax API 提供方运行 PR 自动化任务。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- minimax
- description
- Run PR automation jobs with the MiniMax API provider.
03 SKILL.md 正文
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:
- Binary: Uses
claudeCLI binary - Auth: Sets
ANTHROPIC_AUTH_TOKENandANTHROPIC_BASE_URLfor MiniMax proxy - Model: MiniMax-M3.1-Flash
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":
- This is a configuration/preflight check defect for this configured Claude profile: in this environment setup, there is no standalone
minimaxbinary; MiniMax automation uses theclaudeCLI binary configured with MiniMax API environment variables. - Ensure the
claudeCLI binary is installed and on PATH, and ensure the automation wrapper maps MiniMax invocations toclaude. - Do not bypass validation; verify
claudeand 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>)
04 同仓库更多 Skills
disk-reclaim-playbook
Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.
claudea-bench
Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.
pr
Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
pr-report
This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.