Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
kesslerio avatar

Minimax Prompt

  • 2 installs
  • Updated July 14, 2026
  • kesslerio/minimax-prompt-openclaw-skill

Runs one-shot LLM prompts and summaries through MiniMax M2.5 via a CLI wrapper that is a drop-in replacement for gemini -p.

About

A skill that runs one-shot LLM prompts, summaries, and generation through MiniMax M2.5 via a CLI wrapper. A developer uses it as a fast, gemini-compatible prompt tool backed by the MiniMax API.

  • One-shot LLM prompts via the MiniMax M2.5 Anthropic-compatible API
  • CLI wrapper is a drop-in replacement for 'gemini -p'

Minimax Prompt by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #13,958 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 25, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kesslerio/minimax-prompt-openclaw-skill --skill minimax-prompt

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
Last updatedJuly 14, 2026
Repositorykesslerio/minimax-prompt-openclaw-skill

What it does

Runs one-shot LLM prompts and summaries through MiniMax M2.5 via a CLI wrapper that is a drop-in replacement for gemini -p.

Files

SKILL.mdMarkdownGitHub ↗

MiniMax Prompt

Use MiniMax M2.5 for one-shot LLM tasks. Two execution methods available:

CLI Usage (minimax-prompt)

Shell wrapper at ~/.local/bin/minimax-prompt. Drop-in replacement for gemini -p.

# Simple prompt
minimax-prompt "Explain quantum computing in one paragraph"

# With -p flag (gemini-compatible)
minimax-prompt -p "Summarize this text"

# Pipe content + prompt
echo "Raw data here" | minimax-prompt -p "Summarize the above"

# Pipe content only (content becomes the prompt)
echo "What is 2+2?" | minimax-prompt

Timeout: 180s default. Output: plain text to stdout. Errors go to stderr.

Direct API Usage (from scripts)

For Python/shell scripts that can't depend on the CLI (e.g., Docker containers):

curl -sS https://api.minimax.io/anthropic/v1/messages \
  -H "x-api-key: $MINIMAX_CODING_PLAN_API_KEY" \
  -H "content-type: application/json" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "MiniMax-M2.5",
    "max_tokens": 8192,
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Response format (Anthropic Messages API):

{
  "content": [{"type": "text", "text": "Response here"}],
  "model": "MiniMax-M2.5",
  "stop_reason": "end_turn"
}

API Endpoints

EndpointFormatSpeed
https://api.minimax.io/anthropic/v1/messagesAnthropic Messages~2s (preferred)
https://api.minimax.io/v1/chat/completionsOpenAI Completions~6s

The Anthropic endpoint is 3x faster and separates thinking tags natively.

Model

  • MiniMax-M2.5 — Only model available on Coding Plan
  • MiniMax-M2.5-lightning is NOT available on Coding Plan
  • 204K context window, 131K max output tokens

Setup

Requires MINIMAX_CODING_PLAN_API_KEY environment variable. Set via:

  • OpenClaw: ~/.config/systemd/user/secrets.conf (referenced as ${MINIMAX_CODING_PLAN_API_KEY} in openclaw.json)
  • Shell: export MINIMAX_CODING_PLAN_API_KEY="your-key"
  • Docker: -e MINIMAX_CODING_PLAN_API_KEY

Notes

  • Coding Plan is a subscription — API calls are included, no per-token billing
  • Replaces the retired gemini skill (Gemini CLI banned, Feb 2026)
  • For structured agent turns, prefer openclaw agent --local instead
  • Stateless — no state files or caching needed

Related skills

AI & Agent Buildingllmautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.