From claude-commands
Configures Claude Code CLI to use MiniMax API endpoint. Sets environment variables and provides a claudem function for running commands via MiniMax.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-commands:minimax-cli-fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Usage**: Use this skill when you need to run Claude Code CLI with MiniMax API.
Usage: Use this skill when you need to run Claude Code CLI with MiniMax API.
In an interactive shell, use the claudem bash function:
claudem --version
claudem -p "Your prompt here"
The claudem function sets these required variables:
ANTHROPIC_BASE_URL="https://api.minimax.io/anthropic"
ANTHROPIC_AUTH_TOKEN="$MINIMAX_API_KEY" # NOT ANTHROPIC_API_KEY
ANTHROPIC_MODEL="MiniMax-M2.5"
ANTHROPIC_SMALL_FAST_MODEL="MiniMax-M2.5"
API_TIMEOUT_MS="3000000"
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
# Version check
claudem --version
# Interactive prompt
claudem -p "Explain this code"
# With specific prompt file
claudem -p @/path/to/prompt.txt
# Continue previous conversation
claudem --continue
# Skip permissions (for automation)
claudem --dangerously-skip-permissions -p "Your prompt"
If you get "quota/rate limit" errors:
MINIMAX_API_KEY is set: echo $MINIMAX_API_KEYANTHROPIC_AUTH_TOKEN is being used (not ANTHROPIC_API_KEY)ANTHROPIC_BASE_URL is set to https://api.minimax.io/anthropicnpx claudepluginhub jleechanorg/claude-commands --plugin claude-commandsProvides complete reference for Claude Code CLI including installation methods across macOS, Windows, Linux; basic usage; session management, output, and permission flags. Ideal for quick command lookups.
Identifies common Anthropic Claude API anti-patterns in Python and TypeScript code. Use for reviewing integrations, onboarding developers, or debugging subtle issues.
Configures Claude Code to run PR automation jobs (fixpr, fix-comment) via the MiniMax API provider, setting environment variables and model selection automatically.