MiniMax Code

SkillWeb & browsing

This is a skill that runs the MiniMax Code command-line tool headlessly so an agent can delegate repository analysis and coding tasks to it. The agent passes the task as a single quoted prompt in a named project directory with a fixed timeout, and returns the final answer text as the result. It defaults to read-only permission and only permits file changes when the user explicitly asks.

Available today. Use it from your connected AI after setup.

Have MiniMax Code installed and configured in Code Mate, including any login, API key, model, and provider settings.

Then ask your AI: use the MiniMax Code skill

What your AI can do with it

  • Runs MiniMax Code headlessly via `mcode exec "<prompt>"` for one task per invocation
  • Analyzes a repository, such as explaining the cause of a failing test, without editing fil
  • Defaults to read-only permission (`--permission smart`) for analysis-only tasks
  • Allows workspace modifications only when the user explicitly requests changes
  • Stops and asks the user to install or configure MiniMax Code if it is missing or unconfigu
  • Treats a nonzero exit code as failure and never starts the interactive TUI or login flow

Getting started

  1. Have MiniMax Code installed and configured in Code Mate, including any login, API key, model, and provider settings.
  2. Verify the `mcode` command is available on the PATH.
  3. Ask the agent to delegate a task to MiniMax Code, naming the project directory to work in.
  4. For analysis-only work, keep the request read-only; explicitly ask for changes if file modifications are wanted.

What this skill tells your AI

The instructions your AI receives, as published by cherryhq/cherry-studio in resources/code-cli-skills/code-mate-minimax-code/SKILL.md and read by ahel’s review.

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v mcode. If it is missing, stop and ask the user to install MiniMax Code in Code Mate.
  3. Run one task and exit:
mcode exec "<prompt>"

Pass the prompt as one quoted argument. For analysis-only tasks pass --permission smart explicitly; never pass --permission full. Treat a nonzero exit as failure, and treat the final answer text as the result. Never start the interactive TUI or login flow from the agent task.

Authentication And Permissions

If MiniMax Code reports missing login, API key, model, or provider configuration, stop and ask the user to configure MiniMax Code in Code Mate. Never request, read, print, or copy credentials.

Only allow modification tools when the user explicitly requests workspace changes, and prefer read-only instructions in the prompt otherwise. Never pass a flag or setting that relaxes the permission mode.

Example: ask MiniMax Code to explain the cause of a failing test without editing, run the command above, then summarize the result within the chosen timeout.

Signals

GitHub stars
52k
Forks
5k
Last commit
Sep 2026

Questions

What happens if MiniMax Code is not installed?
The agent checks for `mcode` with `command -v`. If it is missing, the agent stops and asks the user to install MiniMax Code in Code Mate.
Can it edit files in my project?
Only when the user explicitly requests workspace changes. Otherwise it runs with read-only permission (`--permission smart`), and it never passes a flag that relaxes the permission mode.
Advanced
Catalog kind
skill
Key
code-mate-minimax-code
Source
github.com/cherryhq/cherry-studio