mmx-cli — Claude Code skill: what it does, how to install
This skill gives an agent access to mmx for MiniMax text, image, video, speech, audio transcription, and web search tasks.
npx skills add MiniMax-AI/cli --skill mmx-cli -a claude-code
npx skills add MiniMax-AI/cli --skill skill -a claude-codeWhat mmx-cli does
The skill lets an agent call the mmx CLI through the MiniMax AI platform. It covers text chat, image and video generation, speech synthesis, audio transcription, and web search. Commands can return machine-readable JSON, which fits terminal workflows and CI jobs.
Install the skill from MiniMax-AI/cli, then authenticate with mmx auth login --api-key sk-xxxxx and check the active credentials with mmx auth status. API credentials can persist in ~/.mmx/config.json or ~/.mmx/credentials.json, depending on the authentication method. A key can also be passed on an individual call.
For agent and CI runs, the guide uses --non-interactive, --quiet, and --output json to avoid prompts and keep stdout suitable for parsing. Video generation can return a task ID immediately or wait for a downloaded file. Check MiniMax API authentication before using the commands, because unauthenticated calls will not run.
What it helps with
- generate text through MiniMax from a terminal
- create images from text prompts
- start video generation and inspect its task status
- turn written text into an audio file
- transcribe audio or run a web search
Example prompts for the agent
- Use `mmx` to inspect this project and return a concise text response as JSON.
- Use `mmx` to generate a product image and save the result into `./gen/`.
- Use `mmx` to start video generation asynchronously, then check the task status.
How to install mmx-cli
1Skills CLI (Vercel)
npx skills add MiniMax-AI/cli --skill mmx-cli -a claude-codenpx skills add MiniMax-AI/cli --skill skill -a claude-code2Manually: put the files in place
~/.claude/skills/skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/skill/
1Skills CLI (Vercel)
npx skills add MiniMax-AI/cli --skill skill -a codex2Manually: put the files in place
.agents/skills/skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MiniMax-AI/cli --skill skill -a cursor2Manually: put the files in place
.cursor/skills/skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MiniMax-AI/cli skill2Manually: put the files in place
.github/skills/skill/SKILL.md1Skills CLI (Vercel)
npx skills add MiniMax-AI/cli --skill skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/MiniMax-AI/cli --path skillManually: put the files in place
.devin/skills/skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MiniMax-AI/cli --skill skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Similar
Questions about mmx-cli
How do I install `mmx-cli` in Claude Code?
Run npx skills add MiniMax-AI/cli --skill mmx-cli -a claude-code, then run npx skills add MiniMax-AI/cli --skill skill -a claude-code. The skill file will be at ~/.claude/skills/skill/SKILL.md.
What does `mmx-cli` do?
It gives the agent mmx commands for MiniMax AI text, image, video, and speech generation, plus audio transcription and web search.
How does authentication work in `mmx-cli`?
Authenticate with mmx auth login --api-key sk-xxxxx, then verify it with mmx auth status. You can also provide the API key per request instead of saving it.