跳到正文

MiniMax-AI

mcode-stack

The workflows and skills the MiniMax Code team uses to build MiniMax Code. Open source, install and use.

README 已保存到本站,可直接阅读

Documentation snapshot

README 快照

这篇是英文原文

下面正文是项目自己的英文 README。想读全文就用浏览器自带的整页翻译: Chrome / Edge 点地址栏右侧的翻译图标,或用右键菜单里的「翻译成中文」; 手机浏览器一般在菜单里。

本页保存的是公开项目资料快照,阅读过程不需要连接 GitHub。

English · 中文

The workflows and skills the MiniMax Code team uses to build MiniMax Code. Open source, install and use.

This is not a prompt collection or a list of “best practices”. It is what people on the team actually use every day: how to keep AI-written code at a high bar, how to decide whether a task should go to a subagent, how long to wait on a long command, how to keep long sessions from going dull, and what goes into context on every turn. Each piece is a SKILL.md skill or checklist that installs straight into MiniMax Code.

  • Quick start
  • What’s inside
  • How it works
  • Articles
  • Stacks
  • Contribute your own stack

Quick start

One skill, for all your projects:

git clone https://github.com/MiniMax-AI/mcode-stack.git ~/mcode-stack
mkdir -p ~/.agents/skills
cp -R ~/mcode-stack/stacks/ronny/skills/long-command-check ~/.agents/skills/

Open a new session and type /skills in MiniMax Code to see it. Run it with /long-command-check, or let the agent load it from its description.

The whole stack, as a plugin:

mcode plugin marketplace list    # shows your local plugin directory

Copy the whole stacks/ronny directory into that directory, then open /plugins in MiniMax Code and press Ctrl+R to refresh. A local plugin is installed as soon as it is in that directory; press Space in the panel to enable or disable it.

Every stack, from the marketplace:

This repository is also a plugin marketplace, so you can install a stack without copying files and pick up updates later. In MiniMax Code desktop, open Plugins, choose Add marketplace and enter MiniMax-AI/mcode-stack; each stack then shows up as one plugin you can install, update or uninstall. Adding marketplaces is rolling out gradually, so your version may not have it yet.

The same catalog works in Claude Code:

/plugin marketplace add MiniMax-AI/mcode-stack
/plugin install ronny@mcode-stack

More install options

MiniMax Code discovers skills in these directories (one subdirectory per skill, containing SKILL.md):

  • For the current project only: .minimax/skills/, .claude/skills/ or .agents/skills/ in the project
  • For all projects: ~/.agents/skills/ (~/.claude/skills/ and ~/.codex/skills/ are read too)

mcode plugin add installs from the official catalog only; it does not take a GitHub URL or a local path.

The skills use the common SKILL.md format, so most of them also work in other agents that support skills.

What’s inside

WhenSkillWhat it does
Plan & splitsubagent-split-checkDecide whether work goes to a subagent or stays in the main loop
engineering-small-prsSplit large features, refactors and migrations into small reviewable PRs
engineering-change-descriptionsWrite PR and commit descriptions that say what changed and why
Context & toolstool-budget-auditMeasure what tools cost in context; trim, tool search or programmatic tool calling
context-tax-auditWhat gets injected into every request, and what it does to the prompt cache
Long sessions & commandslong-session-checkDrop, summarize or write to file; compact or start fresh; memory scoping
handoff-docA hand-off doc so a new session can pick up the work
long-command-checkTen-point audit of long shell commands and background tasks
Reviewindependent-reviewReview a diff from a clean context: only diff, requirement and test results
engineering-code-reviewReview a change for code health: design, functionality, complexity, tests, approval risk
engineering-review-commentsWrite clear, severity-labeled review comments that explain the reasoning
engineering-review-feedbackHandle reviewer comments as the author: fix, clarify, resolve disagreements
Experiments & hotfixesharness-experimentSmall eval, one change at a time, repeated runs, look at flipped tasks
trajectory-reviewLook at how the agent got its result, not only whether it passed
engineering-emergency-changesDecide whether a hotfix is a real emergency and run expedited review safely

The table above is stacks/ronny. stacks/jiachen adds lifting-loops, which finds the loops where you keep acting as a manual step for your agents and lifts you out of them, and making-content, which turns notes and material into Xiaohongshu image posts and short vertical videos.

A stack usually has three kinds of things:

KindWhat it isHow to use it
SkillA directory with a SKILL.mdInvoke it in MiniMax Code with /, or let the agent load it from its description
ChecklistAlso a skill: the agent walks your project item by item. A plain-text copy lives in checklists/Same as above, or just read it
WorkflowA WORKFLOW.md describing how this person works with MiniMax Code every dayRead it

How it works

AI writes code faster every month. What separates results now is the layer of engineering habits around the agent: when to make it stop and check its own work, who reviews, where state lives, what counts as a real experiment. Those habits are hard to follow from an article, so we turned them into skills and checklists. They pair with our MCode Engineering Notes column: the article explains the idea, this repository makes it runnable.

We also believe harness engineering is a craft that moves forward by experiment. Everything here will keep changing as we learn. Take it, change it, and send your version back.

Articles

#MCode Engineering NotesCompanion skills
01More subagents isn’t better: manage context first, then parallelizeindependent-review, subagent-split-check, harness-experiment
02Too many tools will eat your context: from tool search to PTCtool-budget-audit
03Keeping long sessions sharp: compaction vs. memorylong-session-check, handoff-doc
04How long should one bash command wait: from foreground blocking to background taskslong-command-check
06The hidden tax on every turn: what an agent puts into context (upcoming)context-tax-audit

Stacks

stacks/ronny/               Ronny's stack (MiniMax Code R&D lead), the first and most complete one
stacks/jiachen/             Jiachen's stack: getting out of the agent loop, and turning notes into posts and videos
stacks//              One directory per team member; teammates are welcome to add theirs
notes/                      Which runnable piece goes with each Engineering Notes article
community/                  Stacks contributed by developers outside the team
templates/stack-template/   Start here to write your own stack

Every stack is also a MiniMax Code plugin package. See stacks/ronny and stacks/jiachen for what each one contains.

Contribute your own stack

What we most want to see is how you actually work with MiniMax Code, or with any other agent, day to day.

  1. Copy templates/stack-template/ to community//.
  2. Write a WORKFLOW.md: how you use the agent every day, what you hand to it and what you keep an eye on yourself.
  3. Add at least one skill or checklist you really use.
  4. Run node scripts/check.mjs, then open a PR with the output and a short record of real usage.

Details in CONTRIBUTING.md. Using something from here in your own agent? Tell us with an I use this issue.

Relationship to MiniMax Code

MiniMax Code itself lives in MiniMax-AI/minimax-code. This repository only holds workflows and skills, no MiniMax Code source code.

License

MIT, except where a stack’s NOTICE.md says otherwise. The engineering-* skills are adapted from Google Engineering Practices; the adapted material stays under CC-BY 3.0. See stacks/ronny/NOTICE.md.

Official distribution

获取与安装

暂未发现可确认的官方软件包地址

当前 README 快照没有出现 npm、PyPI、Crates.io、pub.dev 等官方包页链接。本站不会根据仓库名称猜测下载地址。

本站不托管项目文件;需要安装时,请以项目维护者发布的官方文档为准。

使用前核验

本站保存公开资料用于阅读,不代表安全审计或功能背书。安装前请核对许可证、依赖来源和发布签名,不要直接运行来源不明的二进制文件或高权限脚本。