code-mate-minimax-code
它能做什么
这个智能体可以帮你分析代码并完成编程任务。它使用一个名为 MiniMax Code 的工具来执行这些操作。
适用场景
- ✓当你想弄清代码中的某个错误时。
- ✓当你需要 AI 分析你的项目时。
- ✓当你希望 AI 完成某项具体的编程任务时。
技能链接
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-minimax-code/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析这段代码,并告诉我错误出在哪里。”
每周 5 个新技能,1 分钟读完。
工作原理
它会使用你的指令运行一个名为 'mcode exec' 的命令。如果没有安装该工具,它会请你先安装。在未经你许可的情况下,它不会修改你的代码。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
MiniMax Code
Run
- Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
- Check availability with
command -v mcode. If it is missing, stop and ask the user to install MiniMax Code in Code Mate. - 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.
常见问题
什么是 MiniMax Code?
它是一个帮助分析代码并处理代码相关工作的工具。
我需要安装什么吗?
可能需要。如果 Code Mate 中还没有 MiniMax Code,你需要先安装它。
AI 能修改我的代码吗?
只有在你明确要求时才可以。它通常更倾向于只做分析并汇报结果。
详情
作者的原始描述
Runs MiniMax Code headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to MiniMax Code or obtain a MiniMax-based coding-agent result.
repo: CherryHQ/cherry-studio
热度
- GitHub 星标
- 53k
- 排名
- #3381
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/15
评论
- …