minimax-cli

minimax-cli is a skill for Claude Code, Codex from CHENyiru3/AI-Skills-Collections. It costs 81 tokens per session (2,240 once invoked), scanned A, original, MIT.

A guide to the MiniMax command-line tool, which can send text requests and create or understand images, video, speech, and music from a terminal. It also covers web search, account quotas, configuration, and safe handling of API keys.

In plain words
What is it for?
Use it for terminal-based MiniMax text, image, video, speech, music, vision, search, quota, and agent-workflow tasks.
Why use it?
It explains how to set up and use one command-line interface for these media and utility tasks while avoiding common authentication and secret-leaking mistakes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for terminal-based MiniMax text, image, video, speech, music, vision, search, quota, and agent-workflow tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/minimax-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CHENyiru3/AI-Skills-Collections --skill minimax-cli
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minimax-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/minimax-cli/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/minimax-cli)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/minimax-cli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/minimax-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for minimax-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/minimax-cli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/minimax-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.02240
Opus 5.5 $0.00032 $0.00896
Sonnet 5.5 $0.00016 $0.00448
Haiku 4.5 $0.00008 $0.00224

Measured 6d ago against content hash 80f6572e690f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

minimax-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-market/ai-ml/llm/minimax-cli/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MiniMax CLI

Use mmx for MiniMax's multimodal command-line workflows: text, image, video, speech, music, vision, search, quota, and configuration. Prefer this skill when the user wants a direct MiniMax result from the terminal or wants MiniMax wired into an agent workflow.

Prerequisites

  • Node.js 18+.
  • CLI installed:
npm install -g mmx-cli
mmx --version
  • Authentication configured with a MiniMax token plan:
mmx auth login --method api-key --api-key sk-xxxxx
mmx auth status
mmx quota

MiniMax keys are region-specific. If mmx quota reports invalid api key, check whether the account belongs to the CN platform:

mmx config set --key region --value cn
mmx quota

Global defaults use https://api.minimax.io; CN defaults use https://api.minimaxi.com.

Safety And Secret Handling

  • Do not print or paste full API keys in final answers, logs, docs, commits, or examples.
  • Prefer persistent config (~/.mmx/config.json) or environment variables over putting keys in shell history.
  • Use mmx config show and mmx auth status for masked verification.
  • Use --dry-run when constructing expensive media commands before execution.
  • For long-running or costly video/music work, confirm prompt, model, output path, and whether the user wants synchronous waiting or async task IDs.

Command Selection

User intent Command family Good default
Chat, coding text, structured text mmx text chat --message, optional --system, --output json for parsing
Text-to-image mmx image generate --prompt, --aspect-ratio, --out or --out-dir
Text/image-to-video mmx video generate --prompt, optional --first-frame, --download, --async
Video task status/download mmx video task get, mmx video download Use task IDs and file IDs from earlier output
Text-to-speech mmx speech synthesize --text or --text-file, --voice, --out
Voice list mmx speech voices Filter with --language
Music generation mmx music generate Require lyrics, --lyrics-file, --lyrics-optimizer, or --instrumental
Music cover mmx music cover --audio or --audio-file, --prompt, optional lyrics
Image understanding mmx vision describe --image, optional question via --prompt
Web search mmx search query --q, use --output json for downstream parsing
Usage/budget mmx quota or mmx quota show Use before expensive media generation
Tool schema export mmx config export-schema Use for agent/tool integration

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 229 lines · 81 tokens per session scan A 80f6572e690f

Subscribe to this mod's changes

minimax-cli is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (1 stars, last pushed 7d ago), licensed MIT. It adds 81 tokens to every session and 2,240 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.