Skip to content
Back to skills

Minimax Cli Fix

ASecurity

**Usage**: Use this skill when you need to run Claude Code CLI with MiniMax API.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agentsshellbashapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 26, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Minimax Cli Fix?

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

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

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
# Running Claude with MiniMax

**Usage**: Use this skill when you need to run Claude Code CLI with MiniMax API.

## Quick Start

In an interactive shell, use the `claudem` bash function:

```bash
claudem --version
claudem -p "Your prompt here"
```

## Environment Variables

The `claudem` function sets these required variables:

```bash
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"
```

## Common Commands

```bash
# 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"
```

## Troubleshooting

If you get "quota/rate limit" errors:
1. Verify `MINIMAX_API_KEY` is set: `echo $MINIMAX_API_KEY`
2. Check `ANTHROPIC_AUTH_TOKEN` is being used (not `ANTHROPIC_API_KEY`)
3. Ensure `ANTHROPIC_BASE_URL` is set to `https://api.minimax.io/anthropic`

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 ai-agents →

Comments

Loading comments…

Newsletter

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