Minimax cli skill

From pipixia-labs/openteamwork · View interactive version

Minimax cli skill is an AI agent skill from the GitHub repository pipixia-labs/openteamwork. Use when the user explicitly asks to use MiniMax, minimax-cli, or mmx, or when the task needs MiniMax terminal capabilities that Creative Claw does not already expose well through experts, especially music generation, speech synthesis, or MiniMax file upload. Prefer existing Creative Claw experts fo

How to use this skill

Skill file

MiniMax CLI Skill

Use mmx through exec_command to access MiniMax CLI capabilities from Creative Claw.

This skill is intentionally project-specific. It keeps MiniMax usage aligned with Creative Claw's fixed workspace, current expert boundaries, and non-interactive execution model.

When To Use

When Not To Use

Preflight Checks

Run these checks before real work:

command -v mmx
mmx auth status --output json --non-interactive 2>/dev/null

Rules:

Creative Claw Workspace Rules

mkdir -p generated/minimax

Command Rules

Recommended Command Patterns

Authentication Status

mmx auth status --output json --non-interactive 2>/dev/null

Use this as the authority check for whether MiniMax CLI is ready.

Text Chat

Use only when the user explicitly wants MiniMax text generation or MiniMax CLI behavior.

mmx text chat \
  --message "user:Explain this concept clearly." \
  --output json \
  --non-interactive \
  2>/dev/null

Image Generation

Use for explicit MiniMax image generation requests.

mkdir -p generated/minimax
mmx image generate \
  --prompt "A cinematic poster of a cat astronaut." \
  --out-dir generated/minimax \
  --out-prefix cat-astronaut \
  --quiet \
  --non-interactive

Notes:

Video Generation

For one-step generation, prefer blocking mode with explicit download path:

mkdir -p generated/minimax
mmx video generate \
  --prompt "Ocean waves crashing on black rocks." \
  --download generated/minimax/ocean-waves.mp4 \
  --quiet \
  --non-interactive

If the user explicitly wants an async workflow or a task id:

mmx video generate \
  --prompt "Ocean waves crashing on black rocks." \
  --async \
  --quiet \
  --non-interactive

Then poll and download explicitly:

mmx video task get --task-id <task-id> --output json --non-interactive 2>/dev/null
mmx video download --file-id <file-id> --out generated/minimax/ocean-waves.mp4 --quiet --non-interactive

Image Understanding

Use for explicit MiniMax vision requests:

mmx vision describe \
  --image inbox/reference.png \
  --prompt "Describe the visual style and key objects." \
  --output json \
  --non-interactive \
  2>/dev/null

If the file is already uploaded, --file-id is also valid.

Web Search

Use for explicit MiniMax search requests:

mmx search query \
  --q "MiniMax latest announcements" \
  --output json \
  --non-interactive \
  2>/dev/null

Speech Synthesis

Use for TTS or voiceover output:

mkdir -p generated/minimax
mmx speech synthesize \
  --text "Hello from Creative Claw." \
  --out generated/minimax/voiceover.mp3 \
  --quiet \
  --non-interactive

Notes:

Music Generation

Use for music creation, song drafts, or instrumentals.

Fast agent-friendly patterns:

mkdir -p generated/minimax
mmx music generate \
  --prompt "Warm indie folk song about sunrise." \
  --lyrics-optimizer \
  --out generated/minimax/sunrise-song.mp3 \
  --quiet \
  --non-interactive
mkdir -p generated/minimax
mmx music generate \
  --prompt "Cinematic orchestral background music." \
  --instrumental \
  --out generated/minimax/cinematic-bgm.mp3 \
  --quiet \
  --non-interactive

Rules:

File Upload

Use when MiniMax needs a hosted file_id:

mmx file upload \
  --file inbox/reference.png \
  --purpose vision \
  --output json \
  --non-interactive \
  2>/dev/null

Typical follow-up:

  1. Upload the file and capture file_id.
  2. Call MiniMax commands that accept --file-id.

Selection Guidance Inside Creative Claw

Failure Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.